automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Partial linking with _RELOCATABLES - Proposed enhancement


From: Brian Dessent
Subject: Re: Partial linking with _RELOCATABLES - Proposed enhancement
Date: Wed, 29 Mar 2006 06:02:47 -0800

Ralf Wildenhues wrote:

> - There are some systems where partial linking is currently broken,
>   e.g.  GNU binutils ld on w32:
>   http://sourceforge.net/mailarchive/message.php?msg_id=14729192
>   I have not investigated whether a newer version has this fixed yet.

I tried building geos-2.2.1 under Cygwin but could not replicate that
problem report.  However, in this case libtool linked libgeos directly
without using -r so perhaps it's a difference in command-line length or
libtool version (I autoreconfed the package first as a matter of habit.)

Brian

/bin/bash ../../libtool --tag=CXX --mode=link g++  -g -O2   -o
libgeos.la -rpath /usr/local/lib -version-info 4:1:2 -no-undefined
Coordinate.lo [..snip very long list of .lo files..] Profiler.lo  
g++ -shared -nostdlib   .libs/Coordinate.o [..snip..] .libs/Profiler.o 
-L/usr/lib/gcc/i686-pc-cygwin/3.4.4
-L/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../.. -lstdc++ -lgcc -lcygwin
-luser32 -lkernel32 -ladvapi32 -lshell32 -lgcc   -o .libs/cyggeos-2.dll
-Wl,--enable-auto-image-base -Wl,--out-implib,.libs/libgeos.dll.a
Creating library file: .libs/libgeos.dll.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]