Re: libtool 1.5.14 eats -framework option on Darwin/MacOSX
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ralf Wildenhues wrote: | Does this need forward-porting to branch-2-0 and HEAD? | Hi Ralf, I do not believe that it does. Peter | |>2005-05-04 Peter O'Gorman <[EMAIL PROTECTED]> |> |> * ltmain.in [darwin]: Pass -framework for executables too. |> Reported by Adam <[EMAIL PROTECTED]> | - -- Peter O'Gorman - http://www.pogma.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.0 (Darwin) iQCVAwUBQnt02LiDAg3OZTLPAQI1QAP6AvhihFZVTUSmvGGWrpr/UGG9KURCCAUX phDsTmXnSivY987hdYTjOXdfcWWWp4uRDBjB0UHgeVgvN9y3rm2me6wb2N+Z6vNW G32DTNiytnFy+YS1U9j14QLL/IKk98uU18Qg8Hs0nQX80Va3zPxO3bWOkSpp9T5i mDhNMIX/HtA= =eKrh -END PGP SIGNATURE-
Re: libtool 1.5.14 eats -framework option on Darwin/MacOSX
Hi Peter, * Peter O'Gorman wrote on Wed, May 04, 2005 at 03:53:18PM CEST: > Adam wrote: > >>| > >>| 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. > > 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. Does this need forward-porting to branch-2-0 and HEAD? Cheers, Ralf > 2005-05-04 Peter O'Gorman <[EMAIL PROTECTED]> > > * ltmain.in [darwin]: Pass -framework for executables too. > Reported by Adam <[EMAIL PROTECTED]>
Re: libtool 1.5.14 eats -framework option on Darwin/MacOSX
* Adam Ciarcinski wrote on Wed, May 04, 2005 at 04:45:34PM CEST: > > > >I applied this patch to branch-1-5. > > 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. Peter literally did just that with his last post. If you want access to the latest branch-1-5 version: export CVS_RSH=ssh cvs -z3 -d :ext:[EMAIL PROTECTED]:/cvsroot/libtool co \ -r branch-1-5 libtool or you can wait for 1.5.18, I want to have it out by the end of the weekend, preferably today if I can manage it. Regards, Ralf
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 ;;
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