libtool
[Top][All Lists]
Advanced

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

Re: libtool replace -Xlinker by -Wl can lead to problems


From: Peter O'Gorman
Subject: Re: libtool replace -Xlinker by -Wl can lead to problems
Date: Sat, 20 Sep 2003 00:19:58 +0900
User-agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.5b) Gecko/20030902 Thunderbird/0.2

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Nicolas Roche wrote:

| Hello Peter,
|
| POG> Dumb question, but does it work if you quote it?
| POG> -Xlinker "--stack=0x800000,0x10000"
| POG> Peter
|
|
| No commas are always replaced by spaces when using -Wl even if you
| quote it or trying to put \, instead of , ....
|

Okay, at the moment there is only one known way for libtool to pass
options through to the linker, that is lt_prog_compiler_wl, which is
"-Wl," for most compilers currently supported by libtool. There is
currently no check if the compiler in question supports -Xlinker, so you
will find -Wl, is always used.

Perhaps we need another var (lt_prog_compiler_xlinker ?) for xlinker
arguments, but there must be some workaround for this to help you right
now, I just don't know what it is.

Peter


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (Darwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQE/ax6bhJEqt987YAQRAibHAJ4n/cQy+Mm4zZh121sL4uYJ6x73JQCfXpAw
NFR7RTyWmVwR4YgLYhgIgpc=
=+oFN
-----END PGP SIGNATURE-----





reply via email to

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