On Dec 3, 2007, at 7:25 AM, Jamie Coates wrote:

Hello again,

Thank you Razvan for your reply but I fear I have not been entirely clear with what my intentions for the viewing the assembler code.

I plan on producing the app.s file, modifying it, then continuing on with the compilation process.

The avr-objdump -d approach would get me what I want to see but I don't think it would allow me to then go on and modify it, is this the case?

-Jamie


Vlado was right -- this question is better suited to -help than -devel.

Look at the gcc man page; the option to produce assembly is -S. Just add -S to CFLAGS. main.exe will be an assembly rather than executable file, which will cause things like objdump in the standard compilation process to complain but nothing serious will go wrong. After you compile, just rename main.exe to main.S or something.

Phil
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to