From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Clifton To: russell@webaxs.net Cc: binutils@sourceware.cygnus.com Subject: Re: What won't this objcopy split work? Date: Fri, 21 Jul 2000 10:44:00 -0000 Message-id: <200007211744.KAA03363@elmo.cygnus.com> X-SW-Source: 2000-07/msg00365.html Hi Russel, : I'm producing code for a 16-bit h8/300h cpu, and want to : generate an srec file for all the even bytes, and an srec : file for all the odd bytes, using objcopy: : : h8300-hms-objcopy --output-target=srec --interleave=2 : --byte=1 flash.coff flodd.srec : : However, it responds with flodd.srec: illegal operation : : What can be wrong? I am not sure. I was able to run the same command (admittedly with a different input file) on my test machine and it gave me no problems. Also when I searched through the sources I could not find the 'illegal operation' error message anywhere! I suspect that you may a different set of sources from the ones that I am using. Perhaps you could try downloading the latest sources from the CVS repository and building a new version of objcopy from them ? The sources can be found at: http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/?cvsroot=src Cheers Nick