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 > Tutorial about gcc/ld/as and their flags?

#21599 - loading - Tue Jun 01, 2004 7:01 pm

Don't get me wrong I am usually able to compile my stuff using quite simple makefiles but most of the gcc flags are a mitstery to me the stuff with IWRAM or custom linkscripts - is there any tutorial or an understandable documentation about this?

#21613 - Miked0801 - Tue Jun 01, 2004 10:12 pm

Check out the documentation at gcc.gnu.org for the compiler and gnu.org for make and other utilities. They done me well.

#21615 - poslundc - Tue Jun 01, 2004 11:15 pm

Or just "man gcc" on *nix systems.

Dan.

#21627 - Miked0801 - Wed Jun 02, 2004 12:55 am

hehe - but I'm not a real man as I use windoze boxes for all my programming :)

#21636 - sgeos - Wed Jun 02, 2004 6:08 am

Miked0801 wrote:
hehe - but I'm not a real man as I use windoze boxes for all my programming :)


You can use google. Search for "man ed". =) (google works for real man pages as well.)

-Brendan

#21645 - Cearn - Wed Jun 02, 2004 12:20 pm

I have a small list of gcc flags in my Tonc tutorials at http://user.chem.tue.nl/jakvijn/tonc/toncmake.htm,
but what you really want is http://www.gnu.org/manual/manual.html, especially the manuals for as, gcc, make, ld. If you want them in chm format, try http://htmlhelp.berlios.de/books/chm.php

#21663 - loading - Wed Jun 02, 2004 7:33 pm

thx that tutorial is nice to get started :)