Hello!
I can already see you all role your eyes at my question but anyway:
is there any explanation on the net or can anyone explain me how I can compile gcc (either 2.95.3 or 4.0.1) on a x86-linux system (with x86-gcc 3.4.3 and a arm-crosscompiler-gcc 2.95.3 installed) in order to get a working gcc that runs on arm and compiles for arm?
The situation is this: I have a Qtopia-device that doesn=B4t allow me to place files anywhere else than in "/progfs/opt/QtPalmtop". The native gcc packages I found for arm expect all their files in /usr/local which isn=B4t available even for a softlink because I cannot write to any other directory than what=B4s below "/progfs/opt/QtPalmtop". I could probably get around this by using the -I and -L option of gcc when compiling a program (for some reason I don=B4t understand I haven=B4t even managed to compile a hello.c with the arm-gcc I found) but it would be so much nicer to have a native gcc that installs into /progfs/opt/QtPalmtop and looks for its files in /progfs/opt/QtPalmtop/include a.s.o.
I=B4m not a UNIX newbie, in fact I have used UNIX systems for almost ten years but after one week of trying to cross-compile gcc I have to admit that this is above me. I only managed to compile native binutils which appears to be a minor task in comparison to cross-compiling gcc...
I=B4m sorry if this sets up somebody, I have seen nasty replies to people asking similar questions telling them to let it be if they don=B4t know what they are doing... (how are you supposed to learn, then?)
Thanks, Philipp.