delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/10/18/23:37:26

From: sarnold AT coyote DOT rain DOT org (Stephen L Arnold)
Subject: mount type, compiler barf, and sym links
18 Oct 1998 23:37:26 -0700 :
Message-ID: <199810181853.LAA08035.cygnus.gnu-win32@coyote.rain.org>
Reply-To: sarnold AT earthling DOT net
Mime-Version: 1.0
To: gnu-win32 AT cygnus DOT com

Howdy:

I can't keep up with the volume (and much of what I do read is 
pretty obtuse to me anyway); sorry if this seems like a stupid 
question.

I've had the B19/coolview/egcs setup working for a few weeks (at 
least for compiling my stupid homework problems - all console mode 
stuff).  I guess I always had my root partition mounted text mode.  
After reading some of the posts lately on the subject, I got the 
impression I should use binary mounts, so when I created some new 
mount points for /tmp, /var, my ntemacs directory (for symbolic 
links), etc, I used the -b switch.  I also changed my root mount 
point in the registry to the binary type.  Suddenly my homework 
wouldn't compile; I got some weird error message about undefined 
symbols in stdio.h & stddef.h (all my source files are LF only).

I changed the mount type back and everything compiles fine again.  
What was the problem?  Something to do with CR/LF translation?  
Would somebody care to explain it in terms a self-taught guy (with 
a geophysics background) can understand?  Which types of mounts do 
I want for what types of scenarios and why?

I also created some sym links in /bin that point to win32 versions 
of vim and emacs (as well as linking /bin/sh to bash).  Do I need 
to explicitly link to prog1.exe or just prog1 (the links in /bin 
seem to work fine as sh, gvim, and emacs)?  Are there any hidden 
implications to using/not using the DOS .exe file extension under 
bash?

Thanks in advance for any answers, Steve


*************************************************************
Steve Arnold                            sarnold AT earthling DOT net
http://www.rain.org/~sarnold

Fatal error:  MS Windows detected, deleting DOS partition...
-
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