Jump to content
gbMP

Linker Command Line

Recommended Posts

I would like to change the default linker command line generate by SourceBoost IDE when i try to link a project.

 

How can I change this line ?

 

For example, i want to include more than default library without including these files in my project

 

Is there possible ?

 

In that file the default options of SourceBoost Ide are written ?

Share this post


Link to post
Share on other sites

gbMP,

I would like to change the default linker command line generate by SourceBoost IDE when i try to link a project.

 

How can I change this line ?

 

For example, i want to include more than default library without including these files in my project

 

Is there possible ?

 

In that file the default options of SourceBoost Ide are written ?

Settings -> Options -> BoostC compiler Options -> Extra linker options.

What you add in the extra linker options is appended to the regular linker command line.

 

Regards

Dave

Share this post


Link to post
Share on other sites
gbMP,
I would like to change the default linker command line generate by SourceBoost IDE when i try to link a project.

 

How can I change this line ?

 

For example, i want to include more than default library without including these files in my project

 

Is there possible ?

 

In that file the default options of SourceBoost Ide are written ?

Settings -> Options -> BoostC compiler Options -> Extra linker options.

What you add in the extra linker options is appended to the regular linker command line.

 

Regards

Dave

 

Bringing an old question back to life...

 

If I want to change the ROM base address I just enter in (for example):

 

rb 0x0800

 

into the Extra Linker options box?

Share this post


Link to post
Share on other sites

BTW I am asking this because I want to start working on a Bootloader (never done anything like that before).

Share this post


Link to post
Share on other sites
...If I want to change the ROM base address I just enter in (for example):

 

rb 0x0800

 

into the Extra Linker options box?...

 

-rb 0x0800

 

Regards,

Pavel

Share this post


Link to post
Share on other sites
...If I want to change the ROM base address I just enter in (for example):

 

rb 0x0800

 

into the Extra Linker options box?...

 

-rb 0x0800

 

Regards,

Pavel

So where exactly does this get placed in the code? Before the configuration settings? Or was I correct about the Extra Linker options box?

Edited by jwilson

Share this post


Link to post
Share on other sites

Yes you are correct, it goes into the Extra linker options: edit box.

 

Your boot loader will contain a jump/goto to address 0x0800 to start your application.

 

Reynard

Share this post


Link to post
Share on other sites

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...