OBJCOPY Help Needed

Swiger, Dan Dan.Swiger@drs-ss.com
Tue Feb 22 11:57:00 GMT 2005

>  -----Original Message-----
> From: 	Swiger, Dan  
> Sent:	Monday, February 21, 2005 2:37 PM
> To:	'gcc-help@gcc.gnu.org'
> Subject:	OBJCOPY Help Needed
> I am currently using "gcc version 2.9-nios-010801-20030722".  
> This is the GCC for the Altera NIOS SOC processor.  We have, 
> for some time, been using the objcopy command 
> (nios-elf-objcopy) to generate S-Record simply for our own 
> amusement.  At some point, however, we will have to use them 
> to burn the code into FLASH.  I noticed today that the 
> S-Records generated by objcopy are byte-oriented.  Is there a 
> way to make it generate word-oriented S-Records... by this, I 
> mean to always have an even number of bytes on a single 
> S-Record line.  That way, we can avoid having to keep track 
> of addresses, odd-bytes, and what-not when building and 
> burning our S-Records into FLASH.
> Thanks in advance for any help,
> Dan

More information about the Gcc-help mailing list