forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Load address

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 Development
View previous topic :: View next topic  
Author Message
-PIMs-



Joined: 16 Dec 2006
Posts: 5

PostPosted: Sun Feb 04, 2007 3:38 am    Post subject: Load address Reply with quote

Other than modifying the link file, what other ways are there to change where your program loads?
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
jbit
Site Admin


Joined: 28 May 2005
Posts: 293
Location: København, Danmark

PostPosted: Sun Feb 04, 2007 4:45 am    Post subject: Reply with quote

Just specify it in your LDFLAGS:
Code:
-Ttext 0x12340

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
View user's profile Send private message Visit poster's website
-PIMs-



Joined: 16 Dec 2006
Posts: 5

PostPosted: Sun Feb 04, 2007 5:50 am    Post subject: Reply with quote

jbit wrote:
Just specify it in your LDFLAGS:
Code:
-Ttext 0x12340

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
View user's profile Send private message AIM Address Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group