AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
May 1997

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

1997.05.30 18:12 "Re: FreeBSD shared-library", by Sam Leffler
1997.06.02 14:27 "Re: FreeBSD shared-library", by Jeff Macdonald

1997.05.30 18:12 "Re: FreeBSD shared-library", by Sam Leffler

    To:  tiff@sgi.com
    Subject:  FreeBSD shared-library
    Date: Sun, 11 May 1997 19:41:15 PDT
    From:  Richard Mlynarik <mly@adoc.xerox.com>

    I've fixed what seems to be an obvious bug in Linux shared-library
    building, but I'm in no position to test it.  It looks like it would
    never have worked.

You have old code; beta036 has had this change since it was put out in Feb.
    
    I'd guess that code nearly-identical to the freebsd stuff would work
    for BSDI and NetBSD; I'm not able to verify this, either.

Again, the latest configure should work for BSDI and NetBSD.
    
    It would be nice if the mailing list archives in
    ftp://ftp.sgi.com/graphics/tiff/archives/ were maintained;
    I don't have time to be on a mailing list, but it would be nice to be
    able to search for things when I cared.

Sorry, can't help here.  There are issues with pushing stuff through our
firewall that keep me from updating the archive regularly.  If someone
wanted to host a web site for the TIFF archives I'd be happy to provide a
copy of my MLA tools that they could use to make the archives searchable
(look at http://www.vix.com/cgi-bin/mlaform/hylafax/Archives/? for example).
    
    --- configure.~1~	Mon Apr 29 15:16:17 1996
    +++ configure	Sun May 11 19:32:41 1997
    @@ -1126,7 +1126,7 @@
     	LIBCOPTS="-K PIC"
     	DSO=SOLARIS
     	;;
    -    *-linux)
    +    *-linux*)
     	if [ -x /lib/libc.so.5 ]; then
     	    DSOSUF=so.${DIST_MAJOR}
     	    DSOSUF_VERSION=${DSOSUF}.${DIST_MINOR}.${DIST_ALPHA}
    @@ -1134,6 +1134,13 @@
     	    DSOOPTS='-shared'
     	    DSO=LINUX
     	fi
    +	;;
    +    *-freebsd*)
    +	DSOSUF=so
    +	DSOLD='${LD}'
    +	DSOOPTS='-Bshareable'
    +	LIBCOPTS='-fpic'
    +	DSO=FREEBSD
     	;;
         *-osf3*)
     	DSOSUF=so
    --- libtiff/Makefile.in.~1~	Mon Apr 29 15:16:21 1996
    +++ libtiff/Makefile.in	Sun May 11 19:33:55 1997
    @@ -169,7 +169,7 @@
     	${LD} -elf -o libtiff.@DSOSUF@ -shared -no_unresolved -all ${OBJS} \
     	    @LIBJPEG@ @LIBGZ@ -lc -lm
     	touch $@
    -# Solaris 2.4
    +# Solaris 2.x
     SOLARISdso: ${OBJS}
     	${LD} -L@DIR_LIB@ -G -o libtiff.@DSOSUF@ ${OBJS}
     	touch $@
    @@ -199,6 +199,10 @@
     # OSF/1 3.2 shared lib rule
     OSFdso: ${OBJS}
     	${LD} -o libtiff.@DSOSUF@ -shared -error_unresolved ${OBJS} @LIBJPEG@ 
@LIBGZ@ -lc -lm
    +# FreeBSD 2.x
    +FREEBSDdso: ${OBJS}
    +	${LD} -L@DIR_LIB@ -Bshareable -o libtiff.@DSOSUF@ ${OBJS}
    +	touch $@
     
     
     ${OBJS}: ${SRCDIR}/tiffio.h ${SRCDIR}/tiff.h ${SRCDIR}/tif_dir.h

If you have a chance please look at the current sources and send me a
non-GNU-style diff/patch (I tried applying the above but it failed).

        Sam