This is the mail archive of the crossgcc@cygnus.com mailing list for the crossgcc project.


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

Re: pb with building cross compiler for rtems


CR/LF problem? Check your files. Cygwin patch almost certainly creates DOS files (CR LF line
terminations) if your partition is mounted as text (which is the recommended mode). Scripts do not run
because some tools have not been converted yet to read text files in text mode; rather they read text
files in binary mode Hence, the magic of converting CR-LF to LF does not occur on input. Which tools
are "broken" depends on the release of cygwin that you have. The older the release, the more tools
read text files in binary mode. Make all your text files Unix files if they are not already.
Alternatively, work in binary mode. This has some implications, so read the FAQ.

David Girault wrote:

> Hello,
>
> I need to create a cross compiler for a embeded i386ex with rtems. I'm under windows Nt and use
> Cygwin B20.1 to compile it.
>
> After patching binutils-2.9.1 with the appropriate rtems patch, the configure script doesn't work,
> especialy "CONFIG.SUB".
>
> I haven't this problem with EGCS-1.1b (or I don't detect it).
>
> Is anyone success on making this toolchain for windows NT ?
>
> Thank's
> --
>             \|||/
>             (o o)
> o-------oOO--(_)--OOo-------o
> |       David Girault       |
> |    Ingenieur d'études     |
> |  Informatique-Robotique   |
> |           CERMA           |
> |---------------------------|
> | dgirault@iup.univ-evry.fr |
> o--------------Oooo.--------o
>         .oooO  (   )
>         (   )   ) /
>          \ (   (_/
>           \_)
> _______________________________________________
> New CrossGCC FAQ: http://www.objsw.com/CrossGCC
> _______________________________________________
> To remove yourself from the crossgcc list, send
> mail to crossgcc-request@cygnus.com with the
> text 'unsubscribe' (without the quotes) in the
> body of the message.

--
Charles-Antoine Gauthier
Research Officer
Software Engineering Group
Institute for Information Technology
National Research Council of Canada
Ottawa, ON, Canada
K1A 0R6


_______________________________________________
New CrossGCC FAQ: http://www.objsw.com/CrossGCC
_______________________________________________
To remove yourself from the crossgcc list, send
mail to crossgcc-request@cygnus.com with the
text 'unsubscribe' (without the quotes) in the
body of the message.

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