Code::Blocks Forums

User forums => Embedded development => Topic started by: Paz on January 13, 2009, 07:04:22 pm

Title: Forcing code location with the GNU linker in C::B
Post by: Paz on January 13, 2009, 07:04:22 pm
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?
Title: Re: Forcing code location with the GNU linker in C::B
Post by: thomas on January 14, 2009, 04:01:32 pm
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)