Menu

Slackware 4.0 has Linux 2.0.36

So I thought this would be a good starting point. Under linux I made a canadian cross binutils 2.9.1 configured the way the package describes on the Slackware archive page , then did a MinGW 'native' build of GCC 2.7.2.3 again as described on the source page, along with dumping the libs & headers from the OS. I verified I can build a 'Hello World' style application on Windows, transfer it to Linux, and it runs! ... Building the Linux 2.0.40 kernel does the same thing, it boots starts to decompress and reboots.

I went ahead and built GCC 2.7.2.3 on Linux Debian 7.1, and it also generates a kernel that Qemu just reboots as it decompresses the kernel.

Sigh.

Going in circles, but here is my elfgcc toolchain for Windows.

Posted by Jason Stevens 2016-10-08 Labels: failure elf cross compiler

Log in to post a comment.

MongoDB Logo MongoDB