User forums > Embedded development

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

(1/1)

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)

Navigation

[0] Message Index

Go to full version