using ld for linking non-C code (was: [REBASED PATCH 0/9] Paolo's sysroot patches, rebased plus some fixes)

2010-08-01 Thread Ralf Wildenhues
* Charles Wilson wrote on Mon, Jul 26, 2010 at 01:57:57PM CEST: > As an aside, WHY is it that libtool tries to figure out what the language > driver > does, and use ld directly, rather than just trust the language driver and use > it > to link instead? It seems that the current libtool behavior

Re: using ld for linking non-C code

2010-08-01 Thread Ralf Wildenhues
* Charles Wilson wrote on Sun, Aug 01, 2010 at 02:10:36PM CEST: > On 8/1/2010 6:46 AM, Ralf Wildenhues wrote: > > Because that allows it to set run paths to the compiler libs? > > (I don't know either.) > > Hmm. If so, what use case does that capability have? You want to install > an application c

Re: using ld for linking non-C code

2010-08-01 Thread Charles Wilson
On 8/1/2010 6:46 AM, Ralf Wildenhues wrote: > * Charles Wilson wrote on Mon, Jul 26, 2010 at 01:57:57PM CEST: >> As an aside, WHY is it that libtool tries to figure out what the language >> driver >> does, and use ld directly, rather than just trust the language driver and >> use it >> to link in