gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

Beginners > Compiling .elf with Debugging information (DevCpp)

#21300 - yaustar - Thu May 27, 2004 1:36 am

I cant seem to find the option to turn this on with DevCpp.. I know the batch file equalivent is
Code:
gcc -g -o main.elf main.cpp


Another question (which is reasonably silly), how do I run makefils as I have been using batch files till now...

Thanks
_________________
[Blog] [Portfolio]

#21302 - sajiimori - Thu May 27, 2004 3:33 am

I've heard DevC++ is not very flexible as far as configuring the build process.

As far as learning makefiles, google turns up lots of stuff with 'makefile tutorial'.

#21340 - yaustar - Fri May 28, 2004 1:44 am

Ok, thanks...

Would this be ok?
http://pax.st.usm.edu/~kolibal/make_html/make_toc.html
_________________
[Blog] [Portfolio]

#21383 - NoMis - Fri May 28, 2004 12:07 pm

Heres a Makefile tutorial out of the gbadev.org tutorials section. It's short and nice explained. I learned how to use Makefiles from it.

http://www.gbadev.org/download.php?section=docs&filename=maketut.zip

NoMis

#21428 - yaustar - Sat May 29, 2004 1:14 am

Many thanks NoMis :)
_________________
[Blog] [Portfolio]