| View previous topic :: View next topic |
| Author |
Message |
-PIMs-
Joined: 16 Dec 2006 Posts: 5
|
Posted: Sun Feb 04, 2007 3:38 am Post subject: Load address |
|
|
| Other than modifying the link file, what other ways are there to change where your program loads? |
|
| Back to top |
|
 |
jbit Site Admin

Joined: 28 May 2005 Posts: 293 Location: København, Danmark
|
Posted: Sun Feb 04, 2007 4:45 am Post subject: |
|
|
Just specify it in your LDFLAGS:
If you're using gcc/g++ to link you'll need to do something like
| Code: | | -Wl,-Ttext -Wl,0x12340 |
Hope this helps |
|
| Back to top |
|
 |
-PIMs-
Joined: 16 Dec 2006 Posts: 5
|
Posted: Sun Feb 04, 2007 5:50 am Post subject: |
|
|
| jbit wrote: | Just specify it in your LDFLAGS:
If you're using gcc/g++ to link you'll need to do something like
| Code: | | -Wl,-Ttext -Wl,0x12340 |
Hope this helps |
Yes, thankyou. I wasn't looking for any specific way so any possible ways of doing it are helpful to me. |
|
| Back to top |
|
 |
|