FW: Re: Why is my executabel in DOS file format?

David Daney ddaney@avtrex.com
Wed Mar 3 03:04:00 GMT 2004


Meg Abyte wrote:

>
> In addition -  I just checked dos2unix .... and I see this:
>
> "The dos2unix utility converts characters in the DOS extended
>     character set to the corresponding ISO standard characters.
> "
>
> So this means that my problem still stands - and might not be a cr/lf 
> issue-
>
> Why is the produced S-record, have these DOS extended characters when 
> everything is being done on Linux (yes the tools were compiled on 
> linux etc - in fact we've compiled 3 different versions over time and 
> all are doing this), requiring me to get rid of thes DOS extended 
> characters by running DOS2UNIX ?

That was explained in a previous response:   objcopy thinks that the 
srec specification requires that this be the case.

Why does it think this?  I don't know.  Its authors` interpretation of 
the specification I would suppose.

Since you know that dos2unix will make it work with your target, what is 
the problem with using it?

David Daney.




More information about the Binutils mailing list