This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Porting from C51 to GCC

Hi,

I'm porting my application from C51 compiler
to GCC compiler. I am wondering how I can
map variables to absolute memory locations
in GCC. I am currently using '_at_' keyword for doing that in C51.

Thanks,
VK

  • "how I can ... in GCC"

    Well, this forum is for discussing Keil software products, isn't it, so that's strictly off-topic...! ;-)
    http://www.keil.com/forum/

    You should really be asking this in a GCC forum...

    Anyhow, as I keep saying, allocating physical addresses is the Linker's job (strictly, the Locator) - not the Compiler's.
    Therefore, if the GCC Compiler Manual doesn't say anything about this, you will need to look to the GNU Linker (being UNIX, they may refer to it as a "Link Editor") and/or Locator Manuals