delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/11/24/05:31:21

From: combee AT scrsu1 DOT SINet DOT SLB DOT COM (Leendert Combee)
Apparently-To: "sun.soe.clarkson.edu::djgpp"
Subject: \ or / with swap-file
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Date: Wed, 24 Nov 1993 10:13:52 +0000 (GMT)
Cc: combee AT sedalia DOT sinet DOT slb DOT com (Leendert Combee)

  Hello, I am facing a basic problem with gcc (djgpp) but couldn't find
  the answer anywhere in readme, faq etc., etc. :

  Take the most simple piece of code:

  main() {}


  If this code is in the file simple.c it compiles -- of course -- 
  without any problem with gcc. However, if I rename the file 
  simple.cc, then (and this hold as well for the c++ code in the
  djgpp\samples\.. subdirectories) then

  a. gcc start creating a swap file ? Is this normal even for this
     SIMPLE example. I have ca. 4Mbyte of free RAM

  b. I get the (DOS) error message "Bad command or file name"
     followed by (djgpp) Can't open file c:/tmp/name_of_swap_file

     To me it seems as if this has something todo with the \ or /
     in directory specifications. BTW, any change is the setting/
     specifications of the tmp-directory makes no differencr)

  As many people out there must be compiling c++ code and/or creating
  swapfiles during compiling/linking I wonder if they had they have
  the same experience or what I am doing wrong.

  BTW, I have a little problem getting on the mail-list, so please
  respond to me directly as well!

  BTW. A comment: In the doc on gcc I don't think it is (clearly) stated
  (but maybe this is all so obvious) that gcc uses go32.exe. Now I had
  already another go32 in my search path (from some other piece of
  software) and these two turned out to be incompatible. It took me
  quite some time to figure this out. (go32 compains "unknown file
  type (some hex-number), but how did I know I was actually using the
  "wrong" go32.exe)

  BTW. Comment. Why is gcc241bn.zip > 1.44Mbyte. It won't fit on a single
  floppy this way. Is there a reason to not create something like
  disk1, disk2 etc. containing at least all that is needed to download/
  install such that it fits nicely onto floppys.

  Many thanks

  Leendert Combee
  combee AT scr DOT slb DOT com

- Raw text -


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