News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

Forcing code location with the GNU linker in C::B

Started by Paz, January 13, 2009, 07:04:22 PM

Previous topic - Next topic

Paz

Hello,

I'm working on a flash upgrading system to use on the Jennic micros. Jennic uses the GNU linker and compiler. To get my upgrading scheme to work I need to place code at specific locations. Does anyone know how to get the GNU linker to place a project at a specific location?

thomas

1. insufficient data: does code location refer to a memory or filesystem location?
2. read the gnu ld documentation: it explains how to do either (if it's a file system location, use -o)
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."