Re: Libtool drops -static from LDFLAGS?
On May 8, 2001, Ossama Othman [EMAIL PROTECTED] wrote: Right, but the problem is that is it prevents users who know what they're doing from using gcc's -static option. Nope. -all-static does that. It's in the libtool manual. If they ``know what they're doing'', they should know that :-D -- Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/ Red Hat GCC Developer aoliva@{cygnus.com, redhat.com} CS PhD student at IC-Unicampoliva@{lsd.ic.unicamp.br, gnu.org} Free Software Evangelist*Please* write to mailing lists, not to me ___ Libtool mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/libtool
Re: Libtool drops -static from LDFLAGS?
Hi Alexandre, On Tue, May 08, 2001 at 03:55:36PM -0300, Alexandre Oliva wrote: On May 8, 2001, Ossama Othman [EMAIL PROTECTED] wrote: Right, but the problem is that is it prevents users who know what they're doing from using gcc's -static option. Nope. -all-static does that. It's in the libtool manual. If they ``know what they're doing'', they should know that :-D I understand that, but why should a user who downloads a libtoolized package have to read the libtool manual, especially since passing in gcc's -static flag via $LDFLAGS is not an uncommon thing to do. That behavior is now changed due to libtool's own -static flag conflicting with gcc's -static flag. -Ossama -- Ossama Othman [EMAIL PROTECTED] Distributed Object Computing Laboratory, Univ. of California at Irvine 1024D/F7A394A8 - 84ED AA0B 1203 99E4 1068 70E6 5EB7 5E71 F7A3 94A8 ___ Libtool mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/libtool
´äÀåÀÌ¿¹¿ä
¿©·¯ºÐ¿¡°Ô °¡Àå ÇÊ¿äÇÏ°í À¯ÀÍÇÑ ÄÄÇ»ÅÍ °ü·ÃÇÁ·Î±×·¥À» ÆÄ°ÝÀûÀ¸·Î ½Ñ °¡°Ý¿¡ °ø±ÞÇÕ´Ï´Ù ÃֽŰÔÀÓ. À¯Æ¿°ü·ÃÇÁ·Î±×·¥. MP3. ºñµð¿À½Ãµð µîµî ¸ðµç ÇÁ·Î±×·¥À» ÆǸÅÇÕ´Ï´Ù ¹°·Ð ½Å¿ë °ÆÁ¤À» ÀüÇô ½Å°æ¾²Áö ¸¶½Ê½Ã¿ä ¾ÐÃàÈÀϼÓÀÇ ³»¿ëÀ» º¸½ÅÈÄ Àüȳª ¸ÞÀÏ·Î ¿¬¶ôÁֽʽÿä ÀÌ ¸ÞÀÏÀ» º¸³½ ¾ÆÀ̵ð·Î´Â ¿¬¶ôÀÌ µÇÁö ¾Ê½À´Ï´Ù. ¾ÐÃàÈÀϼӿ¡ ¿¬¶ôó°¡ ÀÖ½À´Ï´Ù(¸ÞÀÏ.ÀüȹøÈ£) === Ưº° º¸³Ê½º ½Ãµð¸¦ ÁõÁ¤ÇÕ´Ï´Ù === È®½ÇÇÏ°Ô ÈÞ´ëÆùÀ¸·Î ¿¬¶ôÁÖ½Ê½Ã¿ä °¨»çÇÕ´Ï´Ù ³¡À¸·Î Çã¶ô¾øÀÌ ¸ÞÀÏÀ» µå¸°°ÍÀ» »ç°úµå¸³´Ï´Ù.±×¸®°í ¿©·¯ºÐÀÇ ¸ÞÀÏÁÖ¼Ò´Â ¹«ÀÛÀ§·Î ¸ð¾ÆÁø°ÍÀÌ´Ï ´Ù¸¥ °ÆÁ¤Àº ÇÏÁö ¾ÊÀ¸¼Åµµ µË´Ï´Ù. ¹Ø¿¡ À̾îÁö´Â °°Àº±Û¿¡¼ ¸®½ºÆ®¸¦ ´Ù¿î¹ÞÀ¸½Ç¼ö ÀÖ½À´Ï´Ù. ¸¸ÀÏ ¹Ø¿¡ [ ÀÌ ±ÛÀÌ º¸Àδٸé Á¤»óÀÔ´Ï´Ù ] °¡ º¸ÀÌÁö ¾Ê°Å³ª À̾߱â.»õ·Ò µîÀÇ Åë½ÅÇÁ·Î±×·¥À» »ç¿ëÇϽŴٸé ÷ºÎµÈ ÈÀÏ CDLIST.HTM ¸¦ ´Ù¿î¹ÞÀ¸½ÅÈÄ¿¡ °Å±â¼ ¸®½ºÆ®¸¦ ¹ÞÀ¸½Ã¸é µË´Ï´Ù Title: ÀÌ°÷Àº Á¦¸ñÀÔ´Ï´Ù ÀÌ ±ÛÀÌ º¸Àδٸé Á¤»óÀÔ´Ï´Ù. ==> ¹Ø¿¡¼ ¸®½ºÆ® ´Ù¿î¹ÞÀ¸¼¼¿ä. ¿©·¯ºÐ¿¡°Ô °¡Àå ÇÊ¿äÇÏ°í À¯ÀÍÇÑ ÄÄÇ»ÅÍ °ü·ÃÇÁ·Î±×·¥À» ÆÄ°ÝÀûÀ¸·Î ½Ñ °¡°Ý¿¡ °ø±ÞÇÕ´Ï´Ù ÃֽŰÔÀÓ. À¯Æ¿°ü·ÃÇÁ·Î±×·¥. MP3. ºñµð¿À½Ãµð µîµî ¸ðµç ÇÁ·Î±×·¥À» ÆǸÅÇÕ´Ï´Ù ¹°·Ð ½Å¿ë °ÆÁ¤À» ÀüÇô ½Å°æ¾²Áö ¸¶½Ê½Ã¿ä ¾ÐÃàÈÀϼÓÀÇ ³»¿ëÀ» º¸½ÅÈÄ Àüȳª ¸ÞÀÏ·Î ¿¬¶ôÁֽʽÿä ÀÌ ¸ÞÀÏÀ» º¸³½ ¾ÆÀ̵ð·Î´Â ¿¬¶ôÀÌ µÇÁö ¾Ê½À´Ï´Ù. ¾ÐÃàÈÀϼӿ¡ ¿¬¶ôó°¡ ÀÖ½À´Ï´Ù(¸ÞÀÏ.ÀüȹøÈ£) === Ưº° º¸³Ê½º ½Ãµð¸¦ ÁõÁ¤ÇÏ°í ÀÖ½À´Ï´Ù === È®½ÇÇÏ°Ô ÈÞ´ëÆùÀ¸·Î ¿¬¶ôÁÖ½Ê½Ã¿ä °¨»çÇÕ´Ï´Ù ³¡À¸·Î Çã¶ô¾øÀÌ ¸ÞÀÏÀ» µå¸°°ÍÀ» »ç°úµå¸³´Ï´Ù.±×¸®°í ¿©·¯ºÐÀÇ ¸ÞÀÏÁÖ¼Ò´Â ¹«ÀÛÀ§·Î ¸ð¾ÆÁø°ÍÀÌ´Ï ´Ù¸¥ °ÆÁ¤Àº ÇÏÁö ¾ÊÀ¸¼Åµµ µË´Ï´Ù. ¸®½ºÆ®¸¦ ´Ù¿î¹ÞÀ¸½Ã·Á¸é ¿©±â¸¦ Ŭ¸¯ÇϽÅÈÄ cdlist.zip ¸¦ ´Ù¿î¹ÞÀ¸½Ã¸é µË´Ï´Ù ¸¸ÀÏ Outlook Express ¸¦ »ç¿ëÇϽô ºÐÁß¿¡ ¸®½ºÆ®°¡ Á¦´ë·Î ´Ù¿îÀÌ µÇÁö ¾Ê´Â´Ù¸é ÷ºÎµÈ ÈÀÏ cdlist.htm À» ¿°í ´Ù¿î¹ÞÀ¸½Ã¸é µË´Ï´Ù
Re: Using -Bsymbolic with libtool
Ganesan Rajagopal wrote: Hi, I am currently using -Bsymbolic to compile my libraries. I pass in the flag using -Xlinker -Bsymbolic. Is -Bsymbolic portable and if it is can the flag be added to libtool directly. Linux, FreeBSD ELF, Tru64 and Solaris seem to support it (with the same flag), but I am sure there will be other platforms that don't. While we are in the topic, how should libtool handle platform specific optimizations? For eg. I submitted a patch to allow RPATHs to have '$ORIGIN' in the RPATH; it was (understandably) rejected because it is not portable. It's a pain to explicitly pass the '$ORIGIN' RPATH using -Xlinker when all the platforms I care about already support it. Can I submit a patch that will let libtool allow '$ORIGIN' in the RPATH for platforms that support it? Ganesan ___ Libtool mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/libtool Ganesan: I think you can get the exact same result by using the -Wl,-Bsymbolic flag. It will be recognized by Libtool, and passed to the linker. -Xlinker is a gcc equivalent to -Wl, so if I recall correctly, that would only work when using GCC. If using -Wl,-Bsymbolic does the trick even whey you're using libtool, then there is no need to alter Libtool. As for $ORIGIN, I think the same applies, just add -R $ORIGIN to your links. `-R LIBDIR' If OUTPUT-FILE is a program, add LIBDIR to its run-time path. If OUTPUT-FILE is a library, add -RLIBDIR to its DEPENDENCY_LIBS, so that, whenever the library is linked into a program, LIBDIR will be added to its run-time path. Cheers! Robert -- Robert Boehne Software Engineer Ricardo Software Chicago Technical Center TEL: (630)789-0003 x. 238 FAX: (630)789-0127 email: [EMAIL PROTECTED] ___ Libtool mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/libtool
Re: libtool
On Wednesday 09 May 2001 5:11 am, you wrote: I am not too sure if I should tell you this or the KDE folks. I am running a heavily modified version of slack 7.0 and just spent many hours trying to figure out why KDE 2 was not compiling. It turns out that libtool was barfing because I hed an older version of grep (1.3). You might wanna let people know they want to keep this up to date. It took me a very long time to narrow things down to it!!! Okay thanks for the heads up. Sorry to bother you. No bother. Cheers, Gary. -- ())_. Gary V. Vaughan gary@(oranda.demon.co.uk|gnu.org) ( '/ Research Scientist http://www.oranda.demon.co.uk,_()) / )= GNU Hacker http://www.gnu.org/software/libtool \' ` `(_~)_ Tech' Authorhttp://sources.redhat.com/autobook=`---d__/ ___ Libtool mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/libtool