Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.development.system > #589
| From | Jorgen Grahn <grahn+nntp@snipabacken.se> |
|---|---|
| Newsgroups | comp.os.linux.development.system |
| Subject | Re: How to create a fixed address for a vaiable ?? |
| Date | 2014-01-22 20:04 +0000 |
| Message-ID | <slrnle092m.81f.grahn+nntp@frailea.sa.invalid> (permalink) |
| References | (1 earlier) <f3pud9hhcq769e316b15r861jkct0on3q0@4ax.com> <ebad653f-3306-4c02-8018-93009779195d@googlegroups.com> <740440d7-f7a7-467d-bf63-ed4b2a0ccc46@googlegroups.com> <slrnldvom0.81f.grahn+nntp@frailea.sa.invalid> <lbp5el$bp9$1@dont-email.me> |
On Wed, 2014-01-22, Tauno Voipio wrote:
> On 22.1.14 17:24, Jorgen Grahn wrote:
>> On Wed, 2014-01-22, Hemanth Venkatappa wrote:
>> ...
>>> In my C program :
>>> __attribute__ ((section(".myvarloc"))) uint8 measurements [30];
>>>
>>> my problem : how to add this linker script to my Eclipse IDE ??
>>> OR How to link with it my C program ???
>>>
>>> Could you please help me ??
>>
>> As far as I can see, you got no help with Eclipse here. You should
>> probably ask in some Eclipse-related group about how to pass linker
>> information.
>>
>> Most people don't use Eclipse, so maybe noone here can answer at all.
>
> There is not enough information to give a meaningful response.
>
> There is no mention of the toolkit (seems to be GNU) or the way
> the makefile generation is set up.
This is Linux; surely we can assume gcc and ld? As for Makefiles, I
assumed that the Eclipse "project" or "solution" or whatever it's
called doesn't use a Makefile. (I strongly recommend a Makefile-based
build, by the way. My experiences with IDE-specific ways of building
have been rather discouraging.)
> Also, it would be useful to
> know the target system. In Linux, there is no sense to locate
> into a known virtual (program-seen) address, as it may be in
> nearly any physical address (processor bus seen).
I think all of that got fixed elsewhere in the thread. As far as I
can tell, the OP knows more or less what to tell the compiler (and
seems to have a reason) but doesn't know how to tell Eclipse to tell
the compiler.
/Jorgen
--
// Jorgen Grahn <grahn@ Oo o. . .
\X/ snipabacken.se> O o .
Back to comp.os.linux.development.system | Previous | Next — Previous in thread | Next in thread | Find similar
How to create a fixed address for a vaiable ?? hemanthvenkatappa@gmail.com - 2014-01-20 16:23 -0800
Re: How to create a fixed address for a vaiable ?? Lusotec <nomail@nomail.not> - 2014-01-21 10:57 +0000
Re: How to create a fixed address for a vaiable ?? Tim Roberts <timr@probo.com> - 2014-01-21 22:26 -0800
Re: How to create a fixed address for a vaiable ?? Hemanth Venkatappa <hemanthvenkatappa@gmail.com> - 2014-01-22 01:03 -0800
Re: How to create a fixed address for a vaiable ?? Hemanth Venkatappa <hemanthvenkatappa@gmail.com> - 2014-01-22 01:05 -0800
Re: How to create a fixed address for a vaiable ?? Jorgen Grahn <grahn+nntp@snipabacken.se> - 2014-01-22 15:24 +0000
Re: How to create a fixed address for a vaiable ?? Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2014-01-22 21:16 +0200
Re: How to create a fixed address for a vaiable ?? Jorgen Grahn <grahn+nntp@snipabacken.se> - 2014-01-22 20:04 +0000
Re: How to create a fixed address for a vaiable ?? Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2014-01-22 22:47 +0200
csiph-web