[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: |
Bob Friesenhahn |
Subject: |
Re: -F parameter appears not to be passed in OS X |
Date: |
Mon, 1 Aug 2005 23:59:48 -0500 (CDT) |
On Tue, 2 Aug 2005, Matthew Landauer wrote:
Using libtool 1.5.18 on OS X 10.4:
% libtool --mode=link g++ -module -o foo.la -rpath /usr/local/lib -F/foo
-framework frame
Runs:
g++ ${wl}-flat_namespace ${wl}-undefined ${wl}suppress -o .libs/foo.0.0.0.so
-bundle -framework frame
But would expect it to be something like:
g++ ${wl}-flat_namespace ${wl}-undefined ${wl}suppress -o .libs/foo.0.0.0.so
-bundle -F/foo -framework frame
Try using
-Wc,-F/foo -Wl,-F/foo
rather than just
-F/foo
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
======================================
Bob Friesenhahn
address@hidden, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/