Re: libtool 1.5.14 eats -framework option on Darwin/MacOSX
| Greetings, | | There is a problem when using libtool (1.5.14) on Darwin/MacOSX. | Then compiling programs, the -framework options is not passed to the | compiler. | For example: | /usr/pkg/bin/libtool --mode=link cc -framework CoreAudio -o x x.c | Results in: | cc -o x x.c | | Please, advice. Use -Wl, or -Xlinker or libtool-1.5.16. Peter - -- Peter O'Gorman - http://www.pogma.com Peter, libtool-1.5.16 still has the same bug Kind regards, Adam ___ Bug-libtool mailing list Bug-libtool@gnu.org http://lists.gnu.org/mailman/listinfo/bug-libtool
Re: [rth@redhat.com: libjava build times]
Hi Joe, others, * Joe Buck wrote on Mon, May 02, 2005 at 08:01:49PM CEST: We really need something done about this problem, as it interferes with our ability to efficiently develop GCC. How many objects does libjava contain? Rather 100 or 1000? Do you need relinking because of command line length? From: Richard Henderson [EMAIL PROTECTED] *snip* I began by building the whole of libjava, and then using find to delete all of *.o *.lo *.a *.la. I then timed rebuilding the library: *snip* Now, unless I've done something drastically wrong, it appears as if we are spending 2/3 of our time in the libtool script. I know. I worked on that for Libtool HEAD and fixed it mostly (that is, for all decent platforms, not win32), for the case of many objects. Fixing win32 will require incorporation of something like Robert Ă–gren's libtool-cache. It's my plan to do this (in the HEAD branch) after other pending work has settled. You could use libtool-cache as a temporary workaround. It's not foolproof, but for development that should be ok -- not for release. Using libtool HEAD should also work, but integration of that into gcc will require some work. You could help by convincing the other maintainers to allow me to backport my changes from HEAD to branch-2-0 (after Libtool-2.0.0 is out), or help with integration of a fool-proof libtool-cache like caching mechanism. Regards, Ralf ___ Bug-libtool mailing list Bug-libtool@gnu.org http://lists.gnu.org/mailman/listinfo/bug-libtool
Re: libtool 1.5.14 eats -framework option on Darwin/MacOSX
Adam wrote: | Greetings, | | There is a problem when using libtool (1.5.14) on Darwin/MacOSX. | Then compiling programs, the -framework options is not passed to the | compiler. | For example: | /usr/pkg/bin/libtool --mode=link cc -framework CoreAudio -o x x.c | Results in: | cc -o x x.c | | Please, advice. Use -Wl, or -Xlinker or libtool-1.5.16. Peter - -- Peter O'Gorman - http://www.pogma.com Peter, libtool-1.5.16 still has the same bug Well aren't I stupid, I did not notice that you specified *program* and I tried linking a library and it got passed through happily enough. I applied this patch to branch-1-5. Peter -- Peter O'Gorman - http://www.pogma.com Index: ChangeLog 2005-05-04 Peter O'Gorman [EMAIL PROTECTED] * ltmain.in [darwin]: Pass -framework for executables too. Reported by Adam [EMAIL PROTECTED] from Andreas Schwab [EMAIL PROTECTED] Index: ltmain.in === RCS file: /cvsroot/libtool/libtool/Attic/ltmain.in,v retrieving revision 1.334.2.68 diff -u -3 -p -u -r1.334.2.68 ltmain.in --- ltmain.in 22 Apr 2005 09:05:41 - 1.334.2.68 +++ ltmain.in 4 May 2005 13:50:49 - @@ -1357,6 +1357,8 @@ EOF ;; darwin_framework) compiler_flags=$compiler_flags $arg + compile_command=$compile_command $arg + finalize_command=$finalize_command $arg prev= continue ;; @@ -1421,6 +1423,8 @@ EOF -framework) prev=darwin_framework compiler_flags=$compiler_flags $arg + compile_command=$compile_command $arg + finalize_command=$finalize_command $arg continue ;; ___ Bug-libtool mailing list Bug-libtool@gnu.org http://lists.gnu.org/mailman/listinfo/bug-libtool
Re: libtool 1.5.14 eats -framework option on Darwin/MacOSX
| Greetings, | | There is a problem when using libtool (1.5.14) on Darwin/MacOSX. | Then compiling programs, the -framework options is not passed to the | compiler. | For example: | /usr/pkg/bin/libtool --mode=link cc -framework CoreAudio -o x x.c | Results in: | cc -o x x.c | | Please, advice. Use -Wl, or -Xlinker or libtool-1.5.16. Peter - -- Peter O'Gorman - http://www.pogma.com Peter, libtool-1.5.16 still has the same bug Well aren't I stupid, I did not notice that you specified *program* and I tried linking a library and it got passed through happily enough. I applied this patch to branch-1-5. Peter, Well... errare humanum est. :) Could you, please, send me a diff file, so I can patch libtool in pkgsrc (www.pkgsrc.org)? It's very crucial to our package system, since many programs do not compile on Darwin/MacOSX. Kind regards, Adam ___ Bug-libtool mailing list Bug-libtool@gnu.org http://lists.gnu.org/mailman/listinfo/bug-libtool
Out of Office AutoReply: Message Contains Zip
Sorry, I am currently out of the office with limited access to e-mail. I will be back on Friday, May 6th. Thanks, Lee ___ Bug-libtool mailing list Bug-libtool@gnu.org http://lists.gnu.org/mailman/listinfo/bug-libtool