Re: libtool picking up 64 bit libs when making a 32 bit build on 64 bit machine

2009-07-07 Thread devendra ayalasomayajula
From: Dan Nicholson To: devendra ayalasomayajula Cc: Daniel Herring ; libtool@gnu.org Sent: Tuesday, July 7, 2009 6:35:10 AM Subject: Re: libtool picking up 64 bit libs when making a 32 bit build on 64 bit machine On Mon, Jul 6, 2009 at 11:29 PM, devendra ayalasomayajula

Re: libtool picking up 64 bit libs when making a 32 bit build on 64 bit machine

2009-07-07 Thread Dan Nicholson
On Mon, Jul 6, 2009 at 11:29 PM, devendra ayalasomayajula wrote: > Hi Daniel, > > I still get the same error > > 1) downloaded latest libtool and configured it as below >     ./configure --host=i386-unknown-linux-gnu > --build=x86_64-unknown-linux-gnu On redhat you have to do it a little different

Re: libtool picking up 64 bit libs when making a 32 bit build on 64 bit machine

2009-07-07 Thread devendra ayalasomayajula
el Herring To: devendra ayalasomayajula Cc: libtool@gnu.org Sent: Tuesday, July 7, 2009 12:01:33 AM Subject: Re: libtool picking up 64 bit libs when making a 32 bit build on 64 bit machine On Mon, 6 Jul 2009, devendra ayalasomayajula wrote: > I am trying to make a 32 bit build on a 64 bit m

Re: libtool picking up 64 bit libs when making a 32 bit build on 64 bit machine

2009-07-06 Thread Daniel Herring
On Mon, 6 Jul 2009, devendra ayalasomayajula wrote: I am trying to make a 32 bit build on a 64 bit machine. I see a problem with the search path that libtool(1.5.6) uses for compilation as well as linking. It picks up the 64 bit libs instead of 32 bit libs. Step 0 is to upgrade to libtool 2.

libtool picking up 64 bit libs when making a 32 bit build on 64 bit machine

2009-07-06 Thread devendra ayalasomayajula
Hi, I am trying to make a 32 bit build on a 64 bit machine. I see a problem with the search path that libtool(1.5.6) uses for compilation as well as linking. It picks up the 64 bit libs instead of 32 bit libs. I changed the sys_lib_search_path_spec and compiler_lib_search_path in libtool scr