defining memory addresses

Jan Van Belle Jan.Van_Belle@alcatel.be
Wed Jan 9 06:49:00 GMT 2002


       Hello all,

       I wonder how I can tell the compiler how many memory he has on
the target board.
e.g:
512kb ROM
3MB RAM

ROM starts at 0x0000, containing the program code (boot-loader/monitor
program). The codesize is (much) smaller than 512kb. How does the
compiler know he cannot store variables in that area??

Related to this: how can I effectively use the internal RAM?
The target is (will be) an Atmel AT40800 arm7tdmi processor, the
compiler arm-elf-gcc .

Regards,

     Jan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Jan.Van_Belle.vcf
Type: text/x-vcard
Size: 297 bytes
Desc: Card for Jan Van Belle
URL: <http://sourceware.org/pipermail/crossgcc/attachments/20020109/26b7be9f/attachment.vcf>
-------------- next part --------------
------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


More information about the crossgcc mailing list