[Top][All Lists]

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

Re: -F parameter appears not to be passed in OS X

From: Matthew Landauer
Subject: Re: -F parameter appears not to be passed in OS X
Date: Tue, 02 Aug 2005 16:03:32 +0930
User-agent: Mozilla Thunderbird 1.0.6 (X11/20050716)

Thanks for that! That's a really good workaround. I'm productive again! :-)

Maybe I'm misunderstanding things but shouldn't libtool understand "-F"? It knows how to interpret -framework and -F goes with that as much as -L goes along with -l for normal linking.


On Tue, 2 Aug 2005, Matthew Landauer wrote:

Using libtool 1.5.18 on OS X 10.4:

% libtool --mode=link g++ -module -o -rpath /usr/local/lib -F/foo -framework frame


g++ ${wl}-flat_namespace ${wl}-undefined ${wl}suppress -o .libs/ -bundle -framework frame

But would expect it to be something like:

g++ ${wl}-flat_namespace ${wl}-undefined ${wl}suppress -o .libs/ -bundle -F/foo -framework frame

Try using

  -Wc,-F/foo -Wl,-F/foo

rather than just


Libtool needs to parse the command line, and it only knows about common compiler/linker command options. The -Wc/-Wl approach allows the user to be explicit about the options which should be passed to the compiler or linker.

Bob Friesenhahn
GraphicsMagick Maintainer,

Dr. Matthew Landauer
Visual Appliance Limited
+61 (0)8 8223 1268

reply via email to

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