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] |
On 4/15/06, sp4rc <sammyshome@gmx.net> wrote:The "Gentoo Linux" most probably already has a built & tested glibc-2.3.5 for it ! Or then it is totally
Dear list-members and gcc-gurus,
I am trying to build a crosscompiler on a NetBSD 3.0 (i386) system for a Gentoo Linux (i386) system. These are the steps I have performed.
[+] The versions I am using:
binutils-2.15
gcc-3.4.5
glibc-2.3.5
Where you think to require the Linux kernel headers and why the Gentoo Linux doesn't provide them islinux-2.6.8
Binutils should build without a problem.
1) Binutils
2) Copy linux headers after you do make config. This is important because certain files are generated i think. Also you have to copy asm-i386, asm-generic , linux inside include .
Automated "bolshevism"? This expects the target system being totally unexisting. Or being totally neglectedthen you have to do make install-headers for glibc. that is copying the proper headers from glibc.
then build the gcc stage1. then build glibc with gcc-stage1. Then build gcc-stage2.
I find you not copying asm-generic. Also you want to look at
crosstool.sh of Dan kegel's crosstool. It is all automated in it.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |