Unable to use custom linker script in Eclipse Mars? [message #1704909] |
Mon, 10 August 2015 14:43 |
Jamie-Rhys Edwards 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?
|
|
|
Powered by
FUDForum. Page generated in 0.04232 seconds