This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Why is my executabel in DOS file format?
- From: Ian Lance Taylor <ian at wasabisystems dot com>
- To: <tm_gccmail at kloo dot net>
- Cc: Jim Wilson <wilson at specifixinc dot com>, Meg Abyte <fitter20 at hotmail dot com>, gcc at gcc dot gnu dot org
- Date: 01 Mar 2004 21:48:14 -0500
- Subject: Re: Why is my executabel in DOS file format?
- References: <Pine.LNX.4.21.0403011809520.30875-100000@mail.kloo.net>
<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