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?

Newsgroups comp.os.linux.development.system
Date 2014-01-27 03:18 -0800
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>

Show all headers | 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