G B wrote: >oops! no listing file. I have map. >how do I force a list (is this the assembler output?, and, is >it 'fixed' by the linker to put REAL addresses in it?)? > > > Listings files are produced by the assembler, gas, try 'info gas' to get a complete list of options. What you are looking for is the command line options (-Wa). In short, add this to your CFLAGS for the gcc invokation line: -Wa,alh$(<:.c=.lst) When gcc sees the "-Wa," it will pass the remainder to the assembler as options to it, producing an lst file. There are other options you may find interesting.. TomW >Thanks > >Glen > > >Tom Walsh wrote: > > >>Double check by looking in the listings file (.lst), not always is a >>const stored in the .rodata section. Sometimes, if you get warnings, it >>may mean to the compile that you intend on ignoring the const definition >>may intend to change it. Thus, it will take that implication and store >>in .data instead. The warning doesn't mean it will not put it into >>.rodata, but... >> >>I like my compiles clean, no warnings. >> >>Regards, >> >>TomW >> >> > > > > >Yahoo! Groups Links > > > > > > > > > -- Tom Walsh - WN3L - Embedded Systems Consultant http://openhardware.net, http://cyberiansoftware.com "Windows? No thanks, I have work to do..." ----------------------------------------------------
Message
Re: [lpc2000] gnuarm question
2006-02-12 by Tom Walsh
Attachments
- No local attachments were found for this message.