Page 1 of 1

C Compiler [SOLVED]

Posted: Fri Apr 25, 2014 7:19 am
by codertom
Hey everyone, if you havn't read my previous posts about an IDE then I'm basically writing my own IDE specifically for OS development and I am now at the stage of implimenting a compiler.

I've got NASM working for x86 assembly which generates a single ELF file for all of the .asm file's in the project. However, I can't seem to find a GCC compiler for x86 that generates an ELF for linking... I know this is the most newbie thing to ask but.. do you have any links to a standalone GNU C (GCC) compiler for Windows which doesnt require "installation" and can just be dumped into a directory on it's own and work?

Thanks.

Re: C Compiler

Posted: Fri Apr 25, 2014 7:57 am
by codertom
Ok, I've got it working with MinGW (http://www.mingw.org/) GCC Compiler.. I just stripped it right down to just the C compiler and it works :)

Re: C Compiler [SOLVED]

Posted: Fri Apr 25, 2014 10:16 am
by Bender
It's recommended you build a cross a compiler. Or face the consequences. :lol: