Re: IA64 HP-UX libtool / gcc question about shared libraries

2008-11-05 Thread Steve Ellcey

On Tue, 2008-11-04 at 16:01 -0600, Bob Friesenhahn wrote:

 For many years, I have not seen it done any other way.  I thought that 
 all GCC switched to using a shared libgcc years ago.
 
 Bob

When I look at a C compile on Linux (with GCC 4.1.1 or with GCC ToT) on
x86, I see a link line containing:

-lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s
--no-as-needed

So it looks like GCC is going to use the static libgcc first and include
the shared libgcc_s only if needed, this may be why Linux doesn't have
the same problem as HP-UX with libgomp.   The HP linker that I am using
on IA64 HP-UX doesn't have an --as-needed flag.  I guess I could leave
it out and use -lgcc -lgcc_s on HP-UX.

Steve Ellcey
[EMAIL PROTECTED]



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


Re: mingw win64 comatibility

2008-11-05 Thread Alon Bar-Lev
Ralf?
This is the last task... OpenSSL, mingw64 and other projects already
accepted all patches to make this environment work.
libtool is the last one.

Alon.

On 10/27/08, Alon Bar-Lev [EMAIL PROTECTED] wrote:
 Hello Raf,

  Any news?
  Can I do anything to help?


  Alon.


  On 10/21/08, Alon Bar-Lev [EMAIL PROTECTED] wrote:
   Hello,
  
Used git head.
Before I use cross compile, I tried to see if all tests pass on local 
 compiler.
  
My system (gentoo) has the following versions:
sys-devel/m4-1.4.11
sys-devel/autoconf-2.61-r2
sys-devel/automake-1.10.1-r1
sys-devel/libtool-1.5.26
  
Attached is the native log and win64 log (after the fix).
  
You should add *.exe to ignore... :)
  
Thanks!
  
   Alon.
  
  
On 10/21/08, Ralf Wildenhues [EMAIL PROTECTED] wrote:
 Hello Alon,

  Thanks for the report.

  * Alon Bar-Lev wrote on Mon, Oct 20, 2008 at 03:19:50PM CEST:

 
   The func_win32_libid is not working correctly when win64 objects are 
 found.
   The file format is file format pe-x86-64.
  
   The attached patches for 1.5.26, 2.2.6a for the resulting libtool 
 script.
   I did not know where to put this in libtool source, can you please
   look into it?


 It needs to be done in libltdl/config/ltmain.m4sh.


   --- libtool.2.2.6a2008-10-20 14:21:57.0 +0200
   +++ libtool   2008-10-20 14:21:42.0 +0200
   @@ -3073,7 +3073,7 @@ func_win32_libid ()
;;
  *ar\ archive*) # could be an import, or static
if eval $OBJDUMP -f $1 | $SED -e '10q' 2/dev/null |
   -   $EGREP 'file format pe-i386(.*architecture: i386)?' 
 /dev/null ; then
   +   $EGREP 'file format pe-i386(.*architecture: i386)?|file 
 format pe-x86-64?' /dev/null ; then


 The trailing ? after pe-x86-64 is wrong, pleasse drop it.


  win32_nmres=`eval $NM -f posix -A $1 |
 $SED -n -e '
 1,100{


 Can you be bothered to check out the Libtool git tree or a nightly
  snapshot (see homepage for links) and, with above change, build it
  and run the testsuite on win64, please?  We'd be interested in any
  failures of
   make -k check

  (add VERBOSE=yes for verbose output of the old testsuite, and send
  tests/testsuite.log for failure of the new one).

  You'd need Autoconf for rebuilding Libtool, and also Automake for
  running all tests.

  Thanks!

 Ralf

  
  



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