project porting troubles!

Stephane Dalton Stephane.Dalton@abl.ca
Wed Apr 19 08:20:00 GMT 2000


> In the old project I needed to align an array as long word.
> It was simple to use the following instructions:
> 
> #pragma SECTION CONST=my_Data
> const unsigned char my_Array[344537] = 
> {
> 	0xff,
> 	0xff,
> 	0x62,
> 	0xff,
>         ...
> }
	[Stephane Dalton]  you can basically do the same using the
__attribute__ of gcc... you can use several keywords such as section, packed
and of course align, refer to the info pages.

	Enjoy



------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com



More information about the crossgcc mailing list