From: gb AT cs DOT unc DOT edu (Gary Bishop) Subject: compile fails with binary mount 16 May 1997 20:44:53 -0700 Approved: cygnus DOT gnu-win32 AT cygnus DOT com Distribution: cygnus Message-ID: <3.0.1.32.19970516164708.00cd1c44.cygnus.gnu-win32@mail.cs.unc.edu> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Sender: gb AT mail DOT cs DOT unc DOT edu X-Mailer: Windows Eudora Pro Version 3.0.1 (32) Original-To: gnu-win32 AT cygnus DOT com Original-Sender: owner-gnu-win32 AT cygnus DOT com I found the problem. I had edited specs and emacs had inserted ^M characters all in it. Anyone know how to make emacs19.34.1 not put ^M on lines? gb >Date: Fri, 16 May 1997 16:28:35 -0400 >To: gnu-win32 AT cygnus DOT com >From: Gary Bishop >Subject: compile fails with binary mount > >I'm trying to take the advice I've been seeing to use binary mounts only. But I find that I can't even compile a simple program like dtou.c with a binary mount. I get a message like: > >bash$ gcc -o dtou dtou.c >dtou.c: In function `cvt': >dtou.c:57: warning: assignment from incompatible pointer type >dtou.c:58: warning: assignment from incompatible pointer type >Assembler messages: >Error: Can't open for reading. > : Invalid argument >gcc: Internal compiler error: program as got fatal signal 1 > >my mounts were > >bash$ mount >Device Directory Type Flags >\\.\tape1: /dev/st1 native no-mixed,text!=binary >\\.\tape0: /dev/st0 native no-mixed,text!=binary >\\.\b: /dev/fd1 native no-mixed,text!=binary >\\.\a: /dev/fd0 native no-mixed,text!=binary >d: / native no-mixed,text=binary > >What am I doing wrong? This is driving me crazy! >gb > - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".