This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: automake 1.8.3: Tru64: fix for depcomp
- From: Nicolas Joly <njoly at pasteur dot fr>
- To: automake at gnu dot org
- Date: Thu, 29 Apr 2004 11:14:15 +0200
- Subject: Re: automake 1.8.3: Tru64: fix for depcomp
- Organization: Pasteur Institute, Paris.
- References: <20040429053756.GD85751@mail1.thewrittenword.com>
On Thu, Apr 29, 2004 at 12:37:56AM -0500, Albert Chin wrote:
> On Sat, Apr 24, 2004 at 12:22:30PM +0200, Nicolas Joly wrote:
> > With Tru64 cc compiler, shared objects can also be used to make a
> > static library. This mecanism is used in libtool 1.4 series to handle
> > both shared and static libraries. But, this exception was removed for
> > libtool 1.5 which now generates 2 separate objects (PIC vs. non PIC)
> > for the 2 libraries (shared vs. static); like other compilers.
>
> Are you sure? I thought all object files on Tru64 UNIX were PIC?
Agreed, both objects are PIC (default on Tru64).
The main concern was that now 2 separate objects are created (one with
`-DPIC' and the other without) :
/bin/ksh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I. -g -c -o ltdl.lo ltdl.c
mkdir .libs
cc -DHAVE_CONFIG_H -I. -I. -I. -g -c ltdl.c -DPIC -o .libs/ltdl.o
cc -DHAVE_CONFIG_H -I. -I. -I. -g -c ltdl.c -o ltdl.o >/dev/null 2>&1
--
Nicolas Joly
Biological Software and Databanks.
Institut Pasteur, Paris.