Re: libtool mac os x: framework problem

2007-10-09 Thread Peter O'Gorman


On Oct 9, 2007, at 5:52 AM, Vadim Godunko wrote:


Peter O'Gorman wrote:


What is the status of libtool support for Mac OS X?
What version? A glibtool that ships with Mac OS X, or one that  
comes from gnu.org?

$ libtool --version
ltmain.sh (GNU libtool) 1.5.24 (1.1220.2.455 2007/06/24 02:13:29)
,
(libtool script generated by configure script)


What libraries have '-framework Carbon' in dependency_libs?

libQtGui.la from Qt.4.3.

After applying patch from previous mail libtool able to link  
libraries, but it incorrectly write dependencies for this  
libraries, and linking of programs will fail.


Yes, I thought it would be libQt, Trolltech generate their own .la  
files without using libtool, these have -framework Carbon etc in  
dependency_libs. Since libtool did not generate these files, I do not  
really consider it  a libtool bug that libtool cannot read them, that  
being said, it should work in libtool HEAD, and there is a patch  
available somewhere ... http://ranger.befunk.com/fink/experimental/ 
patches/libtool-framework.patch might be it, that might work for you.


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




___
http://lists.gnu.org/mailman/listinfo/libtool


Re: libtool mac os x: framework problem

2007-10-09 Thread Vadim Godunko

Peter O'Gorman wrote:



Yes, I thought it would be libQt, Trolltech generate their own .la files 
without using libtool, these have -framework Carbon etc in 
dependency_libs. Since libtool did not generate these files, I do not 
really consider it  a libtool bug that libtool cannot read them, that 
being said, it should work in libtool HEAD, and there is a patch 
available somewhere ... 
http://ranger.befunk.com/fink/experimental/patches/libtool-framework.patch 
might be it, that might work for you.


Thank you! This patch really help! Do you have plan to integrate it into 
next libtool version?



___
http://lists.gnu.org/mailman/listinfo/libtool


libtool mac os x: framework problem

2007-10-08 Thread Vadim Godunko

Hello,

What is the status of libtool support for Mac OS X?

We have many problems with handling of -framework flag in command line 
and .la dependency_lib.


Problem looks like (-framework passed in command line):

libtool: link: cannot find the library `' or unhandled argument `-framework'

or (after applying attached patch)

libtool: link: cannot find the library `' or unhandled argument `Carbon'


libtool-darwin_framework.patch.gz
Description: application/gzip
___
http://lists.gnu.org/mailman/listinfo/libtool


Re: libtool mac os x: framework problem

2007-10-08 Thread Peter O'Gorman


On Oct 8, 2007, at 10:27 PM, Vadim Godunko wrote:


Hello,

What is the status of libtool support for Mac OS X?


What version? A glibtool that ships with Mac OS X, or one that comes  
from gnu.org?




We have many problems with handling of -framework flag in command  
line and .la dependency_lib.


Problem looks like (-framework passed in command line):

libtool: link: cannot find the library `' or unhandled argument `- 
framework'


or (after applying attached patch)


What libraries have '-framework Carbon' in dependency_libs?

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




___
http://lists.gnu.org/mailman/listinfo/libtool


Re: libtool mac os x: framework problem

2007-10-08 Thread Vadim Godunko

Peter O'Gorman wrote:


What is the status of libtool support for Mac OS X?


What version? A glibtool that ships with Mac OS X, or one that comes 
from gnu.org?



$ libtool --version
ltmain.sh (GNU libtool) 1.5.24 (1.1220.2.455 2007/06/24 02:13:29)

(libtool script generated by configure script)


What libraries have '-framework Carbon' in dependency_libs?


libQtGui.la from Qt.4.3.

After applying patch from previous mail libtool able to link libraries, 
but it incorrectly write dependencies for this libraries, and linking of 
programs will fail.



___
http://lists.gnu.org/mailman/listinfo/libtool