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

See the CrossGCC FAQ for lots more information.


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



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


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