Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
I'm using DJGPP and i have an issue with the GCC compiler.
I was trying to compile an c file and it didn't work, no error line's or anything.
So i thought something was wrong with the c script, so i dumbed it down only to main function.
But it still didn't work.
Here's the command line:
I didn't use any includes because i dumbed it down to the main function.
The compiler doesn't give me an error line or anything, it just doesn't create the file main.o
Thanks,
Maakera
Last edited by maakera on Thu Aug 18, 2011 4:47 am, edited 1 time in total.
The most basic language is the most advanced language.
Could you post the contents of your C source file? Have you tried compiling other sources as well, or compiled a Windows executable with your compiler?
Apart from that, DJGPP is rather outdated and not recommended for OS development. Many people here have reported that they had problems with DJGPP at later stages of the development process, so you might consider using a more recent compiler. The standard way is to build your own cross compiler toolchain as shown in the wiki: