This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos 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: compiling code using posix functions


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


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