Re: linking got broken on MacOSX

2007-05-02 Thread Peter O'Gorman


On May 1, 2007, at 4:43 AM, Christoph Egger wrote:


Hello Christoph,

* Christoph Egger wrote on Tue, May 01, 2007 at 10:36:29AM CEST:


In cvs head, the last change in libltdl/config/ltmain.m4sh
broke linking on MacOSX.


Darn.  Thanks for the report.

I want to link against -framework ApplicationServices -framework  
Cocoa

-framework Carbon

What I get is this:

powerpc-apple-darwin8-gcc-4.0.1: ApplicationServices.ltframework: No

such file or directory

powerpc-apple-darwin8-gcc-4.0.1: Cocoa.ltframework: No such file or

directory

powerpc-apple-darwin8-gcc-4.0.1: Carbon.ltframework: No such file or

directory


When I undo the last changes in libltdl/config/ltmain.m4sh, then
linking works.


Please post the complete link command line, and all its output,
with --debug added, and packed (gzip).  Thanks.


Attached.


Thanks.

Ralf, if you don't have a patch handy, I can look into this.

Peter
--
Peter O'Gorman
http://pogma.com




___
Bug-libtool mailing list
Bug-libtool@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-libtool


Re: linking got broken on MacOSX

2007-05-02 Thread Peter O'Gorman


On May 1, 2007, at 4:14 AM, Ralf Wildenhues wrote:


Hello Christoph,

* Christoph Egger wrote on Tue, May 01, 2007 at 10:36:29AM CEST:


In cvs head, the last change in libltdl/config/ltmain.m4sh
broke linking on MacOSX.


Darn.  Thanks for the report.


Ralf, looking at the diff, it may be a typo:
- compiler_flags=$compiler_flags $inherited_linker_flags
+ compiler_flags=$compiler_flags $new_inherited_linker_flags

A new_ appeared from nowhere :) At this point,  
inherited_linker_flags has been adjusted to change the  
Cocoa.ltframework etc back to -framework Cocoa, but  
new_inherited_linker_flags has not.


Peter
--
Peter O'Gorman
http://pogma.com




___
Bug-libtool mailing list
Bug-libtool@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-libtool


Re: linking got broken on MacOSX

2007-05-02 Thread Ralf Wildenhues
Hello Peter, Christoph, all,

* Peter O'Gorman wrote on Wed, May 02, 2007 at 02:22:28PM CEST:

 Ralf, if you don't have a patch handy, I can look into this.

I don't care if you do the work or I, but it was me who broke it.  ;-)
All I can say is that a test case should be added, and that I probably
don't have any time before Sunday at the earliest, so if you beat me to
it, I certainly won't mind.

Cheers,
Ralf


___
Bug-libtool mailing list
Bug-libtool@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-libtool


linking got broken on MacOSX

2007-05-01 Thread Christoph Egger

Hi!

In cvs head, the last change in libltdl/config/ltmain.m4sh
broke linking on MacOSX.

I want to link against -framework ApplicationServices -framework Cocoa 
-framework Carbon

What I get is this:

powerpc-apple-darwin8-gcc-4.0.1: ApplicationServices.ltframework: No such file 
or directory
powerpc-apple-darwin8-gcc-4.0.1: Cocoa.ltframework: No such file or directory
powerpc-apple-darwin8-gcc-4.0.1: Carbon.ltframework: No such file or directory

When I undo the last changes in libltdl/config/ltmain.m4sh, then
linking works.



-- 
Greetings,

Christoph




___
Bug-libtool mailing list
Bug-libtool@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-libtool


Re: linking got broken on MacOSX

2007-05-01 Thread Christoph Egger
 Hello Christoph,
 
 * Christoph Egger wrote on Tue, May 01, 2007 at 10:36:29AM CEST:
  
  In cvs head, the last change in libltdl/config/ltmain.m4sh
  broke linking on MacOSX.
 
 Darn.  Thanks for the report.
 
  I want to link against -framework ApplicationServices -framework Cocoa
  -framework Carbon
  
  What I get is this:
  
  powerpc-apple-darwin8-gcc-4.0.1: ApplicationServices.ltframework: No
 such file or directory
  powerpc-apple-darwin8-gcc-4.0.1: Cocoa.ltframework: No such file or
 directory
  powerpc-apple-darwin8-gcc-4.0.1: Carbon.ltframework: No such file or
 directory
  
  When I undo the last changes in libltdl/config/ltmain.m4sh, then
  linking works.
 
 Please post the complete link command line, and all its output,
 with --debug added, and packed (gzip).  Thanks.

Attached.


-- 
Greetings,

Christoph




linking.log.gz
Description: GNU Zip compressed data
___
Bug-libtool mailing list
Bug-libtool@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-libtool