C Compiler [SOLVED]

Programming, for all ages and all languages.
Post Reply
codertom
Posts: 22
Joined: Wed Apr 09, 2014 7:58 am

C Compiler [SOLVED]

Post 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.
Last edited by codertom on Fri Apr 25, 2014 8:08 am, edited 1 time in total.
codertom
Posts: 22
Joined: Wed Apr 09, 2014 7:58 am

Re: C Compiler

Post 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 :)
User avatar
Bender
Member
Member
Posts: 449
Joined: Wed Aug 21, 2013 3:53 am
Libera.chat IRC: bender|
Location: Asia, Singapore

Re: C Compiler [SOLVED]

Post by Bender »

It's recommended you build a cross a compiler. Or face the consequences. :lol:
"In a time of universal deceit - telling the truth is a revolutionary act." -- George Orwell
(R3X Runtime VM)(CHIP8 Interpreter OS)
Post Reply