Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.development.system > #593

how to solve this linker input file unused and linkiing not done in Eclipse ide?

X-Received by 10.68.223.202 with SMTP id qw10mr10512553pbc.6.1390821519715; Mon, 27 Jan 2014 03:18:39 -0800 (PST)
X-Received by 10.140.100.150 with SMTP id s22mr20420qge.24.1390821519619; Mon, 27 Jan 2014 03:18:39 -0800 (PST)
Path csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!news.glorb.com!rq2no1036410pbb.1!news-out.google.com!y18ni2495qap.1!nntp.google.com!f11no6759136qae.1!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups comp.os.linux.development.system
Date Mon, 27 Jan 2014 03:18:39 -0800 (PST)
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=194.39.218.10; posting-account=G4DY9woAAADWin5XDmz8-HFVlPo2ZzCn
NNTP-Posting-Host 194.39.218.10
User-Agent G2/1.0
MIME-Version 1.0
Message-ID <e5140bff-e6da-4e0a-85e8-ddeea81202f2@googlegroups.com> (permalink)
Subject how to solve this linker input file unused and linkiing not done in Eclipse ide?
From Hemanth Venkatappa <hemanthvenkatappa@gmail.com>
Injection-Date Mon, 27 Jan 2014 11:18:39 +0000
Content-Type text/plain; charset=ISO-8859-1
Xref csiph.com comp.os.linux.development.system:593

Show key headers only | View raw


I created a memory linker script and saved it as memory.ld in the eclipse ide : Project : properties : gcc linker : miscellaneous : I added -M -T memory.ld

memory.ld :

MEMORY
{
        MYMEMORY(rw)   : ORIGIN = 0x40000000 ,  LENGTH = 30  
}

.myvarloc (NOLOAD):
{
  *(.myvarloc)

} > MYMEMORY

In my c program : I made a global declaration as:

__attribute__ ((section(".myvarloc")))
uint8 measurements[30];

After running my project, it is displaying as: linker input file unused because linking not done

how to solve the above problem ??

Back to comp.os.linux.development.system | Previous | Next | Find similar


Thread

how to solve this linker input file unused and linkiing not done in Eclipse ide? Hemanth Venkatappa <hemanthvenkatappa@gmail.com> - 2014-01-27 03:18 -0800

csiph-web