On Thu, 1 Jul 2010 14:19:57 +0200
"N. Coesel" <n...@nctdev.nl> wrote:

> 
> AFAIK this is the result of compiling with optimisation on. If you want a 
> proper
> list file with source code mixed in, you should compile without optimisation 
> (-O0) and with full
> debugging enabled (IIRC -g3). At least thats how it works for me when using 
> GCC in general.
> 

No, does not work for me on mspgcc4. X86 gcc4 gives me c source
intermixed even with -O2 and just -g. On mspgcc3 I use -Os and -g with
the expected results.
Of course you can question the usefulness of source and assembly
mixing using -O2, but that's another subject.

Regards,

Hans

> Nico Coesel
> 
> 
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> _______________________________________________
> Mspgcc-users mailing list
> Mspgcc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mspgcc-users

Reply via email to