Re: Partial linking with _RELOCATABLES - Proposed enhancement

2006-04-06 Thread Marc Alff
Hi Ralf, Alexandre, and all, Ralf Wildenhues wrote: - C++ code may need to use "ld -Ur" in some contexts (as the last partial link); I haven't grasped all the details about when this is necessary. Search for -Ur in `info ld Options' (several instances). So it seems for C++ at least th

Re: Partial linking with _RELOCATABLES - Proposed enhancement

2006-03-29 Thread Brian Dessent
Ralf Wildenhues wrote: > Which libtool(ize) version was used? What's the output of > ../../libtool --config | grep "^max_cmd_len" The libtool version is the 1.5.20-2 Cygwin package. max_cmd_len=8192. > Anyway I guess the difference is that the report speaks about the CVS > HEAD version of li

Re: Partial linking with _RELOCATABLES - Proposed enhancement

2006-03-29 Thread Ralf Wildenhues
Hi Brian, * Brian Dessent wrote on Wed, Mar 29, 2006 at 04:02:47PM CEST: > 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 Gee, I wish the sf.

Re: Partial linking with _RELOCATABLES - Proposed enhancement

2006-03-29 Thread Brian Dessent
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 und

Re: Partial linking with _RELOCATABLES - Proposed enhancement

2006-03-29 Thread Ralf Wildenhues
* Ralf Wildenhues wrote on Wed, Mar 29, 2006 at 10:19:36AM CEST: > $LIBTOOL --mode=link $CC -o main main.$OBJEXT \ > -use-as-whole-archive libconv.la > the_binary=.libs/main # this is not portable. > $NM $the_binary | grep unneeded D'oh. Replace those last two lines with $LI

Re: Partial linking with _RELOCATABLES - Proposed enhancement

2006-03-29 Thread Ralf Wildenhues
Hi Marc, Alexandre, * Alexandre Duret-Lutz wrote on Sat, Mar 25, 2006 at 09:33:15PM CET: > (I haven't read the patch yet.) I have several half-written answers to this, but am not finished researching yet, unfortunately. > >>> "MA" == Marc Alff <[EMAIL PROTECTED]> writes: > MA> A typical "parti

Re: Partial linking with _RELOCATABLES - Proposed enhancement (revised and commented)

2006-03-28 Thread Marc Alff
Hi Alexandre and All, Alexandre Duret-Lutz wrote: I didn't know "ld -r". How portable is it? The command might be named differently per architecture/OS, but I the concept exist on all platforms that I know of (called incremental linking, or partial linking). "ld -r" as is can be found

Re: Partial linking with _RELOCATABLES - Proposed enhancement

2006-03-27 Thread Alexandre Duret-Lutz
(I haven't read the patch yet.) >>> "MA" == Marc Alff <[EMAIL PROTECTED]> writes: [...] MA> A typical "partial link" or "relocatable (-r)" command is : MA> ld -r -o glued.o part1.o part2.o ... partn.o I didn't know "ld -r". How portable is it? MA> As a result, a build chain can be longer

Re: Partial linking with _RELOCATABLES - Proposed enhancement

2006-03-20 Thread Marc Alff
Marc Alff wrote: This is the discussion thread; a proposed patch is available on automake-patches --at-- gnu.org The post for the patch is here : http://lists.gnu.org/archive/html/automake-patches/2006-03/msg00024.html Cheers, Marc Alff.

Partial linking with _RELOCATABLES - Proposed enhancement

2006-03-19 Thread Marc Alff
Hi all This email describe a proposed enhancement to Automake, to support partial linking (also known as "ld -r"). This is the discussion thread; a proposed patch is available on automake-patches@gnu.org All the errors are mine and sorry for the long babble, but I think it's important to e