Alternatively, I think gcc/g++/g77/gcj can use -Xlinker instead of -Wl.

Robert

-----Original Message-----
From: Peter O'Gorman [mailto:[EMAIL PROTECTED]
Sent: Friday, September 19, 2003 10:20 AM
To: Nicolas Roche
Cc: [EMAIL PROTECTED]
Subject: Re: libtool replace -Xlinker by -Wl can lead to problems


-----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-----



_______________________________________________
Libtool mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/libtool
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
This e-mail and any files transmitted with it are confidential and intended solely for 
the use of the individual or entity to whom they are addressed.If you have received 
this e-mail in error please notify the sender immediately and delete this e-mail from 
your system.Please note that any views or opinions presented in this e-mail are solely 
those of the author and do not necessarily represent those of Ricardo (save for 
reports and other documentation formally approved and signed for release to the 
intended recipient).Only Directors are authorised to enter into legally binding 
obligations on behalf of Ricardo. Ricardo may monitor outgoing and incoming e-mails 
and other telecommunications systems.
By replying to this e-mail you give consent to such monitoring.The recipient should 
check e-mail and any attachments for the presence of viruses. Ricardo accepts no 
liability for any damage caused by any virus transmitted by this e-mail. "Ricardo" 
means Ricardo plc and its subsidiary companies.
Ricardo plc is a public limited company registered in England with registered number 
00222915.
The registered office of Ricardo plc is Bridge Works, Shoreham-by Sea, West Sussex, 
BN43 5FG.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 


_______________________________________________
Libtool mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/libtool

Reply via email to