This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Linkerscript
- From: "Meulendijks, J." <Meulendijks at WT dot TNO dot NL>
- To: "'ecos-discuss at ecos dot sourceware dot org'" <ecos-discuss at ecos dot sourceware dot org>
- Date: Thu, 30 Sep 2004 11:57:48 +0200
- Subject: [ECOS] Linkerscript
Hi all,
I read the following on the internet:
"You can specify a file name to include sections from a particular file. You
would do this if one or more of your files contain special data that needs to be
at a particular location in memory. For example, use the following input.
data.o(.data)"
But when I use this the linker says: "cannot find data.o". But the linkcommand
is including the directory in which data.o is located. I do this with the -L
option.
I don't see what's is wrong with it but I only get this to work if I replace
"data.o(.data)" with "c:/bla/bla/data.o(.data)". So I must give the absolute
path and that's NOT what I want.
Thanks in advance.
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss