Linked by Thom Holwerda on Mon 7th Jan 2008 19:20 UTC, submitted by mariuz
Linux Abdel Benamrouche announced that he has updated the original 0.01 Linux kernel to compile with GCC-4.x, allowing it to run on emulators such as QEMU and Bochs. After applying his series of small patches, Abdel explains that the 0.01 kernel can be built on a system running the 2.6 Linux kernel. He added that he's successfully ported bash-3.2, portions of coreutils-6.9, dietlibc-0.31 (instead of glibc), bin86-0.16.17, make-3.81, ncurses-2.0.7, and vim-7.1 all to run on his modified 0.01 kernel.
Thread beginning with comment 294814
To read all comments associated with this story, please click here.
Interesting
by CaptainPinko on Mon 7th Jan 2008 20:36 UTC
CaptainPinko
Member since:
2005-07-21

but I'd be more interested in someone porting Linux to be 100% C99 compliant. Perhaps this could be a first step.

RE: Interesting
by SomeGuy on Mon 7th Jan 2008 22:07 in reply to "Interesting"
SomeGuy Member since:
2006-03-20

How about a C99 compiler existing first? Currently, I don't think there *are* any 100% C99 compliant compilers. Certainly none of the mainstream ones are (MSVC is still C89. GCC has partial support, and so on)

Reply Parent Bookmark Score: 1

RE[2]: Interesting
by binarycrusader on Tue 8th Jan 2008 01:18 in reply to "RE: Interesting"
binarycrusader Member since:
2005-07-06

How about a C99 compiler existing first? Currently, I don't think there *are* any 100% C99 compliant compilers. Certainly none of the mainstream ones are (MSVC is still C89. GCC has partial support, and so on)


Actually, Sun Studio is 100% C99 compliant. It's also "free" (as in beer). It is available for GNU/Linux and Solaris platforms:

http://developers.sun.com/sunstudio/documentation/ss12/mr/READMEs/c...

Edited 2008-01-08 01:19 UTC

Reply Parent Bookmark Score: 4

RE[2]: Interesting
by CaptainPinko on Tue 8th Jan 2008 22:32 in reply to "RE: Interesting"
CaptainPinko Member since:
2005-07-21

I think you could have a 100% compliant C99 Linux before you have a a 100% compliant C99 compiler because Linux does not use every possible aspect of C99. As long as it used a supported subset everything would be fine... and the GNU extensions would be gone.

Reply Parent Bookmark Score: 1