delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/05/14/10:57:47

Date: Fri, 14 May 1993 08:17:59 -0600
From: tesla AT lamar DOT ColoState DOT EDU (Jon Nash)
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: C++ and DJGPP (update)

Thanks to all who responded about which additional files (over the
minimum 3 or so) are required to compile c++ code.

I had a problem though! (But I fixed it...)  If this is a known problem then
it'ld be nice to update the readme.1st file to avoid confusion. (Maybe I'm
the only one confused!)

In the instructions for setting the environmental variables for DJGPP it says
that although DJGPP is ported directly from Unix some of it's path handling
routines recognize both Unix and DOS paths (d:/../.. or d:\..\..).  Being a
little stuborn, I used the DOS convention to set the env. vars. when I
installed the min. DJGPP environment.  Yesterday, when I installed DJGPO222
and tried to compile a "hello world" program I got the error "unrecognizable
escape character \c" and another similar one.  After wasting a couple hours
I read the FAQ in the DOCS directory and noticed a question about which
path convention to use when calling GCC.  That made me wonder...  So I 
modified my autoexec.bat so that the two env. vars. pertaining to c++
compilation used the Unix path convention and rebooted.  Low and behold,
it worked fine.  All the other env. vars. are still using the DOS style path
and XXXX.C files compile fine!

chao
Tesla AT Lamar DOT ColoState DOT EDU
(Jon Nash)

- Raw text -


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