This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: compiling code using posix functions
- From: "Gary D. Thomas" <gary dot thomas at mind dot be>
- To: Barton Meeks <bartonm2002 at yahoo dot com>
- Cc: chaitu80 at yahoo dot com,eCos Discussion <ecos-discuss at sources dot redhat dot com>
- Date: 11 Feb 2003 08:06:23 -0700
- Subject: Re: [ECOS] compiling code using posix functions
- References: <20030211150145.32538.qmail@web21204.mail.yahoo.com>
On Tue, 2003-02-11 at 08:01, Barton Meeks wrote:
> > About line ending..I'm writing no
> > code..just using the file given in the examples.
>
> I had run into problems with eCos & cygwin due to line
> endings in the past. The problem was with multi-line
> macros, that ended with the "\" character. It seems
> that this caused problems with the compiler when the
> lines ended with the Microsoft <cr><lf>.
>
> Some suggestions:
0. Use Linux.
> 1. Cygwin has the ability to mount file systems in
> binary or text mode; that may change this behavior.
> 2. convert file files with "dos2unix" or sed.
> 3. make the multi-line macros fit on a single line.
> 4. use linux.
>
Option (1) should make things work. Get the handling of
line endings correct and the tools work fine.
Anything that requires "munging" of the code is a
non-starter in my opinion.
Use Linux and your life will be simplified :-)
--
.--------------------------------------------------------.
| Mind: Embedded Linux and eCos Development |
|--------------------------------------------------------|
| Gary Thomas email: gary.thomas@mind.be |
| Mind ( http://mind.be ) tel: +1 (970) 229-1963 |
| gpg: http://www.chez-thomas.org/gary/gpg_key.asc |
'--------------------------------------------------------'
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss