This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Why the gcc revisited and kernel headers revisted are needed? I don't konw what are they meaning. : ( > ****************************************** > MIPS new tool set > > Host: Linux x86 system - RedHat v7.1 > Target: mipsel-linux > > Based on the latest cvs based tool > sources along with some mips patches > uploaded by Steven J Hill (have to verify) > around March-April 2001 > > Last: 23 July 2001 > ******************************************* > > step 1 - binutils > ----------------- > > ../configure --prefix=/usr/local/mipsel-linux-new --target=mipsel-linux > make all install > > step 1.5 - kernel headers > ------------------------- > > Copy the linux and asm-mips from linux kernel source include directory to > the /usr/local/mipsel-linux-new/include. Also set the link asm to point to > asm-mips. > > step 2 - gcc basic > ------------------ > > ../configure --prefix=/usr/local/mipsel-linux-new --target=mipsel-linux > --with-newlib --disable-shared --enable-languages=c > make LANGUAGES="c" -j4 > make LANGUAGES="c" install > > * --disable-shared used has there was few errors without it. > > > step 3 - glibc > --------------- > > BUILD_CC=gcc CC=mipsel-linux-gcc > ../configure --prefix=/usr/local/mipsel-linux-new/mipsel-linux > mipsel-linux --build=i686-pc-linux-gnu --enable-add-ons --with-elf --with-he > aders=/usr/local/mipsel-linux-new/include --disable-profile > > * had to declare NULL in settimeofday.c > * have to add UNAME_* seems like 2.4 has UTS_* > Looked further into the matter. There is a config-name.in file which > should > be used to create a config-name.h file by configure script, but for some > reason its not working. So explicitly created a config-name.h and filled > it with the info got using the uname program. > * Updated swapon function in sysdep/generic/swapon.c by adding int flag as > part of the swapon function > * --disable-profile seems to have solved the cachectl.o required by stamp.o > problem > * --prefix points to the mipsel-linux directory within the root directory > for > the target tool chain, when compared to the binutils's or gcc's prefix > > > BUILD_CC=gcc CC=mipsel-linux-gcc make -j4 > make install > > > step 3.5 - kernel headers revisited > ----------------------------------- > Copy the kernel headers from /usr/local/mipsel-linux-new/include to > /usr/local/mipsel-linux-new/mipsel-linux/include > > > step 4 - gcc revisited > ---------------------- > > ../configure --prefix=/usr/local/mipsel-linux-new --target=mipsel-linux > make LANGUAGES="c c++" -j4 > make LANGUAGES="c c++" install > > ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |