backslash

Anton Erasmus antera@intekom.co.za
Mon Aug 18 20:36:00 GMT 2003



On 03/08/18 at 10:02 Grant Edwards wrote:

>On Mon, Aug 18, 2003 at 10:25:07AM -0400, Alexander Gdalevich wrote:
>
>> I am having a strange problem with the gcc 2.95.2 sh cross compiler.
>> Whenever it tries to build a file with backslashes (\) it complains
>about
>> "Invalid token in expression" for every line terminated with the '\'.
>
>You've got carriage returns in your source files.  Get rid of
>them or switch to a 3.2 compiler that tolerates them.
>
I have run into this problem as well under cygwin. AFAICR you have to select
the unix option when you install cygwin. The source files must be under a mount point
which is not  mounted as text. See man mount under cygwin.
(text files under text mountpoints have line endings with \r\n under cygwin)

Regards
   Anton Erasmus




------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com



More information about the crossgcc mailing list