EmbDev.net

Forum: ARM programming with GCC/GNU tools Keil -> GCC


Author: Sevc Dominik (sevc)
Posted on:

Rate this post
0 useful
not useful
Hi all.
I'm novice for C or C++.
I program only on ASM.
Now I want translade Hid project from Keil to GCC and show me error, I
can't repare it.
On source code is __packed , how can I this translate to GCC?
Can some help??

regards
Dzairo

Author: Mh Tay (lpc2103)
Posted on:

Rate this post
0 useful
not useful
I do not want to move you to some other forum...
But that question had been answered in some other forum...

http://www.embeddedrelated.com/groups/lpc2000/show/13791.php
http://www.embeddedrelated.com/groups/lpc2000/show/14871.php

Hope it helps...
Regards

Author: Sevc Dominik (sevc)
Posted on:

Rate this post
0 useful
not useful
MH Tay wrote:
> I do not want to move you to some other forum...
> But that question had been answered in some other forum...
I too find this forum .

> http://www.embeddedrelated.com/groups/lpc2000/show/13791.php
> http://www.embeddedrelated.com/groups/lpc2000/show/14871.php
>
I read this but ... solution is???

Sten write
>> In your particular case I'm not sure if __packed is really needed,
>> because due to the cast the compiler is still forced to work on a
>> (maybe) mis-aligned adress pointer.
>>  Sten

What now.
regards.
Dzairo

Reply

Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]




Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.