libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: linker doesn't like .lo files


From: Gary V. Vaughan
Subject: Re: linker doesn't like .lo files
Date: Thu, 18 Oct 2001 18:40:13 +0100
User-agent: Mutt/1.3.16i

On Wed, Oct 17, 2001 at 04:56:25PM -0700, address@hidden wrote:
> I'm trying to make libtool work on OS/390 to support shared library
> building and have run into an issue where the compiler won't accept ".lo"
> files to pass to the linker - it generates an error about an unaccepted
> file extension.  I'm wondering if there is already a mechanism in place for
> dealing with this.  I saw a note in ltmain.sh about "linkers which dislike
> .lo" files (aix specifically - though not true anymore apparently) but all
> this section of code did was link ".o" files to the ".lo" file - which is
> not really the correct behavior in the general sense since this could
> interfere with non-pic and pic objects.  It wasn't clear to me how the
> linker then got passed the ".o" files instead of the ".lo" ones.  Anyone
> have any clues on this?

CVS libtool (and 1.4b too I think), creates pic objects with a .o
extension, but puts them in a subdirectory.

Cheers,
        Gary.
-- 
  ())_. Gary V. Vaughan     gary@(oranda.demon.co.uk|gnu.org)
  ( '/  Research Scientist  http://www.oranda.demon.co.uk       ,_())____
  / )=  GNU Hacker          http://www.gnu.org/software/libtool  \'      `&
`(_~)_  Tech' Author        http://sources.redhat.com/autobook   =`---d__/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]