Date: Mon, 23 Mar 2009 16:36:07 +1030 From: "Daniel O'Connor" <doconnor@gsoft.com.au> To: freebsd-hackers@freebsd.org Cc: Ruchi Varshney <varshney.ruchi@gmail.com> Subject: Re: AVR-GCC compiler options Message-ID: <200903231636.17259.doconnor@gsoft.com.au> In-Reply-To: <ae0c30030903221808m23be73a6nd8fb83d95890b335@mail.gmail.com> References: <ae0c30030903221808m23be73a6nd8fb83d95890b335@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart58953020.MTTDRR8SoT Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Monday 23 March 2009 11:38:01 Ruchi Varshney wrote: > Hi,I am looking for a way to intermix source code with the asm code > generated when I compile a .c file "avr-gcc -S" option. > Right now, I know that when I use "avr-objdump -S" on the .s file obtained > from avr-gcc, I can see that the output is intermixes with the actual > source code from the .c file. Is there a way I can get the source code to > appear in the .s file when I use "avr-gcc"? You'd be better off asking this question on the avr-gcc list. You can pass -Wa,-adhlmsn=3Dfoo.lst to gcc and it will make a .lst which wi= ll do=20 what I think you want.. =2D-=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C --nextPart58953020.MTTDRR8SoT Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iD4DBQBJxybR5ZPcIHs/zowRAoe5AJY+nXIGlkRBUl2vly9dtUC8VHIEAJ45V/In 16nZameRSLPNDfj7pOs4hA== =r27H -----END PGP SIGNATURE----- --nextPart58953020.MTTDRR8SoT--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903231636.17259.doconnor>
