delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/04/29/10:16:02

Date: Fri, 29 Apr 1994 09:55:39 -0400
From: morphine AT whatever DOT cs DOT jhu DOT edu (Michael Phelps)
Sender: morphine AT whatever DOT cs DOT jhu DOT edu
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Can't compile in certain paths

	I'm wondering if anyone can provide me with a solution to my problem.
I'm using djgpp (1.11maint4) and installed it in a directory d:\gcc.  I can
compile the test programs athat are in d:\gcc\samples\hello, or any other
program in the \gcc\samples directory, for that matter, but I can't compile a
program in a directory outside of \gcc.  (\gcc\bin is in my autoexec.bat path.)
Now, if I copy a file into the \gcc\samples directory (or \gcc\samples\hello or
anything like that), I can compile just fine.  But if I create a directory like
d:\cprogs and try to compile from there, I get a "Turbo C++..." message and an
error.  Any suggestions on how to solve this problem?
	Also, I'm trying to re-compile some of my programs that I wrote in
Turbo C, and I'm having a little difficulty because some of Turbo C's include
files don't exactly coincide with GCC's.  For instance, sound() and gotoxy(),
found in dos.h and conio.h, respectively, in Turbo C, are entirely absent from
GCC.  Is there a workaround for this, as I cannot seem to locate any function
in the GCC header files for producing a tone?
	Thank you very much for your assistance.
						---Michael Phelps
						   morphine AT cs DOT jhu DOT edu

- Raw text -


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