This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Constant at a defined address


In other compilers this works

#define Address

const u8 Var[] @ Address = {
    1,2,3
}

so Var is alway at address, how can i do this with teh GCC compiler?

thanks
--
View this message in context: http://www.nabble.com/Constant-at-a-defined-address-t1755638.html#a4774141
Sent from the gcc - Help forum at Nabble.com.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]