This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Libraray issue on Linux x86_64


Thanks for this... I need to build gcc-v4.1.1 on Linux x86_64 which must
have support for 32 bit libraries and 64 bit libraries as well. I can do
it in two separate builds, but how can I achieve this in one build with
only 32bit libraries getting built under "lib" directory and only 64bit
libraries getting built here under "lib64" directory of the
installation. Can someone please help me ?


Thanks and regards,
-------------------
Ashwani Bhat 
-------------------

-----Original Message-----
From: Rupert Wood [mailto:me@rupey.net] 
Sent: Monday, September 18, 2006 3:36 PM
To: Ashwani Bhat
Cc: gcc-help@gcc.gnu.org
Subject: RE: Libraray issue on Linux x86_64

Ashwani Bhat wrote:

> I have build gcc-v4.1.1 on Linux AMD x86_64. Under "lib" directory, I 
> see many 32 bit libraries getting built. I was wondering if I can 
> avoid ending up building 32 bit libraries. I want only 64 bit 
> libraries under "lib" directory.

You should add --disable-multilib to your configure line.

You also don't need to specify --mandir, --infodir and
--with-local-prefix.
It will use those values by default based on your --prefix. 

Rup.



______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]