#16658 - 628man - Sun Feb 22, 2004 5:02 am
Hello,
Before I get into my questions, here's some quick background info: I started using HAM but wasn't satisfied and stopped using the lib altogether. Then I was still compiling my own programs with the Win32 HAM IDE, but it slows down my system too much and I decided to move on.
So I decompressed and started DevKit Advance properly on Win2k, hoping I'd get a basic framework built-up for using with an IDE. Unfortunately, it's been 8 years since I've even touched GCC in a text shell and I have no idea what to do. No makefile I created ever seemed to work. So I tried manually running gcc from the shortcut and it still fails. GCC won't even "find" gba.h in the same directory as the other source files or the include directory! I've taken makefile examples and converted them to my directories and nothing works.
my paths and environment variables look correct.
What I need help with--
I'd like to know how I can get this to work possibly from the command line (or is it too complicated to be reasonable?) or some help with gcc and make like a site with important switch explanations. None of my directories seem to be working...not even the directory I'm compiling from!
example:
produces:
somebody help a DKA newbie out with a working makefile or something? I've been stuck on this for days. PS: I know I will need to link files and hook interrupts, compile both ARM and THUMB modes, etc. I'm not very good at navigating complexity.
Before I get into my questions, here's some quick background info: I started using HAM but wasn't satisfied and stopped using the lib altogether. Then I was still compiling my own programs with the Win32 HAM IDE, but it slows down my system too much and I decided to move on.
So I decompressed and started DevKit Advance properly on Win2k, hoping I'd get a basic framework built-up for using with an IDE. Unfortunately, it's been 8 years since I've even touched GCC in a text shell and I have no idea what to do. No makefile I created ever seemed to work. So I tried manually running gcc from the shortcut and it still fails. GCC won't even "find" gba.h in the same directory as the other source files or the include directory! I've taken makefile examples and converted them to my directories and nothing works.
my paths and environment variables look correct.
What I need help with--
I'd like to know how I can get this to work possibly from the command line (or is it too complicated to be reasonable?) or some help with gcc and make like a site with important switch explanations. None of my directories seem to be working...not even the directory I'm compiling from!
example:
Code: |
gcc main.c rand.c -o output.elf |
produces:
Code: |
main.c:8:17: gba.h: No such file or directory (hundreds of additional errors) |
somebody help a DKA newbie out with a working makefile or something? I've been stuck on this for days. PS: I know I will need to link files and hook interrupts, compile both ARM and THUMB modes, etc. I'm not very good at navigating complexity.