delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/05/17/01:50:54

From: gb AT cs DOT unc DOT edu (Gary Bishop)
Subject: compile fails with binary mount
17 May 1997 01:50:54 -0700 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <3.0.1.32.19970516162835.00788c28.cygnus.gnu-win32@mail.cs.unc.edu>
Mime-Version: 1.0
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'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".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019