Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Unable to use custom linker script in Eclipse Mars?
Unable to use custom linker script in Eclipse Mars? [message #1704909] Mon, 10 August 2015 14:43
Jamie-Rhys Edwards is currently offline Jamie-Rhys EdwardsFriend
Messages: 1
Registered: August 2015
Junior Member
Hi guys,

So after a long time scouring the internet, I've gotten to the stage where I'm able to use a cross-compiler in Eclipse Mars.

Problem is, I cannot figure out how to use a custom linker script.

This is what I've done:

1) File>New>C++ Project
2) Named my project
3) Chose "Empty Project" in "Project Type"
4) Chose "Cross GCC" in "Toolchain"
5) Highlighted the project in "Project Explorer", right clicked and chose "Properties"
6) C/C++ Build>Settings
7) In "Cross Settings" I put "i686-elf-" in Prefix and in Path I put the path to the cross-compiler

Doing just the above has allowed me to use the cross-compiler. But the problem now is that when I go to "General" under "Cross G++ Linker" The only options I have are:

Do not use standard start files (-nostartfiles)
Do not use default libraries(-nodefaultlibs)
No startup or default libs (-nostdlib)
Omit all symbol information (-s)

I don't have the option to explicitly tell eclipse to use a certain link.ld file of my choosing.

Any ideas?
Previous Topic:Working Sets
Next Topic:mpirun with arguments
Goto Forum:
  


Current Time: Sat Sep 14 15:33:13 GMT 2024

Powered by FUDForum. Page generated in 0.04232 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top