From owner-freebsd-hackers@FreeBSD.ORG Mon Mar 23 06:06:27 2009 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4C1411065673 for ; Mon, 23 Mar 2009 06:06:27 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.freebsd.org (Postfix) with ESMTP id B32088FC0A for ; Mon, 23 Mar 2009 06:06:26 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.localnet (Inchoate.gsoft.com.au [203.31.81.30]) (authenticated bits=0) by cain.gsoft.com.au (8.13.8/8.13.8) with ESMTP id n2N66M9g025282 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 23 Mar 2009 16:36:23 +1030 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: freebsd-hackers@freebsd.org Date: Mon, 23 Mar 2009 16:36:07 +1030 User-Agent: KMail/1.10.4 (Linux/2.6.27-11-generic; KDE/4.1.4; i686; ; ) References: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart58953020.MTTDRR8SoT"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200903231636.17259.doconnor@gsoft.com.au> X-Spam-Score: -3.977 () ALL_TRUSTED,BAYES_00 X-Scanned-By: MIMEDefang 2.63 on 203.31.81.10 Cc: Ruchi Varshney Subject: Re: AVR-GCC compiler options X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Mar 2009 06:06:27 -0000 --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--