getting variables in order

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




I'd like to define a list of variables as so:


char	a;
char	b;
int	c;
char	d;
char	e[5];
int	f;
char	g;

and have them packed and in order in the map file.

when I do this they are defined in some random order in the map
file.

This is so I can access them as a pointer offset from a to allow
a user to query the state of the vars.

I'm using the AVR version of GCC.

Thanx for any ideas.

Mike Johnson





[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux