[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: inherited linker flags misses linker flags on darwin
From: |
Christoph Egger |
Subject: |
Re: inherited linker flags misses linker flags on darwin |
Date: |
Sat, 6 Aug 2005 15:46:50 +0200 (MEST) |
> > Christoph Egger wrote:
> > | Hi!
> > |
> > |
> > | Say you have the following Makefile.am:
> > |
> > | -------------------------------------------------------------------
> > | lib_LTLIBRARIS = foo.la
> > |
> > | foo_la_SOURCES = foo1.c foo2.c
> > | foo_la_LDFLAGS = -Xlinker -framework -Xlinker ApplicationServices \
> > | -Xlinker -framework -Xlinker Carbon
> > | -------------------------------------------------------------------
> > |
> > | This generates a convinience libtool library.
> > |
> > | The wrong thing here is the 'inherited_linker_flags' variable
> > | in the file foo.la just holds a blank rather
> > | -Xlinker -framework -Xlinker ApplicationServices -Xlinker -framework
> > | -Xlinker Carbon
> > |
> > | Impacted are all Darwin versions.
> >
> > What happens if you remove the "-Xlinker"s ?
>
> Hey, then 'inherited_linker_flags' contains
> -framework ApplicationServices -framework Carbon
>
> which is right.
But there is something going wrong later, when I link a program
against libfoo.la
While inherited_linker_flags contains the right values, libtool
malforms them. The linker then see's this:
Carbon ApplicationServices -framework
The linker (of course) says then:
Carbon: No such file or directory
ApplicationServices: No such file or directory
[Other errors]
>
> > I will be away for two weeks starting in about 9 hours, so I may
> > not get
> > back to you on this for a little while, sorry.
>
> Well, have a nice time.
>
--
Greetings,
Christoph
5 GB Mailbox, 50 FreeSMS http://www.gmx.net/de/go/promail
+++ GMX - die erste Adresse für Mail, Message, More +++
- inherited linker flags misses linker flags on darwin, Christoph Egger, 2005/08/06
- Re: inherited linker flags misses linker flags on darwin, Peter O'Gorman, 2005/08/06
- Re: inherited linker flags misses linker flags on darwin, Christoph Egger, 2005/08/06
- Re: inherited linker flags misses linker flags on darwin,
Christoph Egger <=
- Re: inherited linker flags misses linker flags on darwin, Peter O'Gorman, 2005/08/06
- Re: inherited linker flags misses linker flags on darwin, Peter O'Gorman, 2005/08/06
- Re: inherited linker flags misses linker flags on darwin, Christoph Egger, 2005/08/06
- Re: inherited linker flags misses linker flags on darwin, Ralf Wildenhues, 2005/08/08
- Re: inherited linker flags misses linker flags on darwin, Christoph Egger, 2005/08/08