Home | Forums | What's new | Resources | |
XGCC help? |
patroclus02 - Feb 14, 2006 |
Edge-` | Feb 14, 2006 | |||||||
OK, I'm going to make the following assumtions / directions: - Your Environment variables are setup. - XGCC is installed in c:\xgcc\ (the default). - Your md.l's location is here: c:\xgcc\md.l - Your program is in its own dir here: c:\xgcc\Demo\ - Your sega.s is here: c:\xgcc\Demo\sega.s - your program is Demo.c Make a file called "FILES" with notepad, have it say the following:
Code:
Save that to c:\xgcc\Demo\FILES make make a new file called xmake.bat:
Code:
save that to c:\xgcc\Demo\xmake.bat Now open your command prompt; cd c:\xgcc\Demo; xmake; and you should have your compiler going for that file. Try that as a first step. Might take a look at some of Fonzie's examples, they have a nice simple structure for compiling (likewise with Kaneda's, they are both very similar and I've modeled mine after them. My make batch file now works just like the regular make executable, with make clean, make smd, make zip, ect). Go here: http://www.genny4ever.net/index.php?page=works... and grab his " FVR_WINDOW_TEST" source and try compiling that if you have some troubles. Good Luck! |
patroclus02 | Feb 14, 2006 | ||||
Thank you But I wonder what are all those parameters for. I searched, and found info about some of them.
Code:
Anyone knows about -lm, -lc, -l135 and -lg ?? |