[NTLUG:Discuss] Building a Linux Cross Compiler

Jack Snodgrass jack at jacksnodgrass.com
Sat Sep 11 12:42:52 CDT 2004


I have a linux box with a GCC-3.4.x and glibc-2.3.3

I want to build a i386 cross compiler that creates a older verion 
of GCC and uses an older glibc version. 

Does aonyone have any experience with this? 

I've created something that reports:
/usr/local/i386-tivo/bin/gcc -v
Reading specs from /usr/local/i386-tivo/lib/gcc-lib/i386-TiVo-linux/3.0/
specs
Configured with: ../gcc-3.0/configure --target=i386-TiVo-linux --
without-headers --disable-shared --enable-languages=c --prefix=/usr/
local/i386-tivo : (reconfigured) ../gcc-3.0/configure --target=i386-
TiVo-linux --with-headers=/usr/include --disable-shared --enable-
languages=c --prefix=/usr/local/i386-tivo

but anything I create with it seems to use the system default 
glibc-2.3.3 instead of the expected glibc-2.2.3 that I built
with. 

Does anyone have any experience building a cross compiler and 
might be able to give me a few hints.  

Thanks - jack 
-- 
Jack Snodgrass <jack at jacksnodgrass.com>




More information about the Discuss mailing list