linux-m68k -> linux-ppc-glibc2 cross compiler.

Sven luther@dpt-info.u-strasbg.fr
Fri Aug 28 00:44:00 GMT 1998


> Interesting about your cross compile. I tried a linux -> mingw32 cross
> build, and everything compiled, but it chundered at the end saying that
the compiler could not generate an executable. I gave up at that point,
> but it looks like I might have been on the right track - does that error
> sound familiar?

effectively, i had the same problem, i didn't know at what point it had trouble, because i had only the last 20 lines or so of the output, so i supposed it was in the make install part.

I launched make install, tried compiling hello world, and it compiled.
I said ok, maybe it compiles but the resulting code is not executable, but i managed to cross compile a linux kernel, and boot from it, so it shoudl be ok.

my guess is that the make cross don't stop at the end of the first stage, and tries to make a stage2 or even a stage3 compiler, or to run some test suite with 
the just compiled cross compiler.

I will look at the Makefiles if i have some time, but i am pretty busy right now, and on my slow machine, (it took me some hours to compile the cross compiler) i don't feel like experimenting too much. 
So if you would give it a look, ....

Friendly,

Sven LUTHER



More information about the Gcc mailing list