gcc error: stray `/` in program

Chris Faylor cgf@cygnus.com
Mon Jun 12 13:54:00 GMT 2000


On Mon, Jun 12, 2000 at 02:45:18PM -0600, Jerome G. Benoit wrote:
>I have some troubles with gcc:
>precisely I can compile a program with Cygnus/gcc under Windows,
>but if I try to compile this program with gcc under Linux on Alpha,
>I get the message 
>
>stray `/` in program.
>
>
>This looks like a gross error,
>but I cannot figure out how to fix it.
>Any idea ?

It's a CRLF problem.  Eliminate the CRs from your program or use
cygwin 1.1.2 and text mode mounts.

cgf

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com



More information about the Cygwin mailing list