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


> 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:
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.

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

-- 
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]