Re: [gentoo-user] Compiling 32 bit library on x86_64

2010-05-01 Thread Roger Mason
Mike Edenfield writes: > On 4/30/2010 12:40 PM, Roger Mason wrote: >> Mike Edenfield writes: >> >>> Have you tried using sys-devel/crossdev? >> >> Not in the present context. >> >>> It will set up the entire 32-bit cross-compiler environment for you; >>> then it's just a matter of setting a c

Re: [gentoo-user] Compiling 32 bit library on x86_64

2010-04-30 Thread Mike Edenfield
On 4/30/2010 12:40 PM, Roger Mason wrote: > Mike Edenfield writes: > >> Have you tried using sys-devel/crossdev? > > Not in the present context. > >> It will set up the entire 32-bit cross-compiler environment for you; >> then it's just a matter of setting a couple of environment variables to >

Re: [gentoo-user] Compiling 32 bit library on x86_64

2010-04-30 Thread Roger Mason
Mike Edenfield writes: > Have you tried using sys-devel/crossdev? Not in the present context. > It will set up the entire 32-bit cross-compiler environment for you; > then it's just a matter of setting a couple of environment variables to > switch compilers. Some time ago I tried setting up cr

Re: [gentoo-user] Compiling 32 bit library on x86_64

2010-04-30 Thread Roger Mason
David W Noon writes: > On Fri, 30 Apr 2010 12:10:02 +0200, Roger Mason wrote about > [gentoo-user] Compiling 32 bit library on x86_64: > >>Hello, >> >>I need to compile a 32 bit version of libtermcap on an x86_64 >>(multilib) system. Can someone tell me how to

Re: [gentoo-user] Compiling 32 bit library on x86_64

2010-04-30 Thread Mike Edenfield
On 4/30/2010 5:25 AM, Roger Mason wrote: > Hello, > > I need to compile a 32 bit version of libtermcap on an x86_64 (multilib) > system. Can someone tell me how to set up CFLAGS? This is what I have > at the moment: Have you tried using sys-devel/crossdev? It will set up the entire 32-bit cros

Re: [gentoo-user] Compiling 32 bit library on x86_64

2010-04-30 Thread David W Noon
On Fri, 30 Apr 2010 12:10:02 +0200, Roger Mason wrote about [gentoo-user] Compiling 32 bit library on x86_64: >Hello, > >I need to compile a 32 bit version of libtermcap on an x86_64 >(multilib) system. Can someone tell me how to set up CFLAGS? This is >what I have at the moment:

[gentoo-user] Compiling 32 bit library on x86_64

2010-04-30 Thread Roger Mason
Hello, I need to compile a 32 bit version of libtermcap on an x86_64 (multilib) system. Can someone tell me how to set up CFLAGS? This is what I have at the moment: CFLAGS="-O2 -m32 -march=native -msse3 -pipe" CXXFLAGS="-O2 -m32 -march=native -msse3 -pipe" ebuild libtermcap-compat-2.0.8-r2.ebu