This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Why is my executabel in DOS file format?


<tm_gccmail@kloo.net> writes:

> The .s19 file is probably a Motorola S-record format file which uses
> S1 and S9 lines for data and end-of-file marks.
> 
> So basically, he's complaining that the Motorola S-record files produced
> by GNU LD use DOS line terminators, which should be discussed on
> the binutils list or if he's using cygwin, on the cygwin list.

In fact S-records are supposed to end lines with \r\n, and that is how
BFD creates them.  S-record files look a lot like text files, but of
course they are not.  They are easily-readable binary files which are
then fed to PROM programmers and the like.

But, yes, this is off-topic for gcc.

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]