delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/05/08/14:00:09

From: "Dennis Cartwright" <dori DOT den AT lvcm DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Newbie question
Lines: 24
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Message-ID: <tRwua.5544$Dr3.3241@fed1read02>
Date: Thu, 8 May 2003 10:54:52 -0700
NNTP-Posting-Host: 68.108.33.250
X-Complaints-To: abuse AT cox DOT net
X-Trace: fed1read02 1052416473 68.108.33.250 (Thu, 08 May 2003 13:54:33 EDT)
NNTP-Posting-Date: Thu, 08 May 2003 13:54:33 EDT
Organization: Cox Communications
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

   I've installed DJGPP on my XP system, I've set  the following 2
variables:
        set DJGPP=C:\DJGPP\DJGPP.ENV
        set PATH=C:\DJGPP\BIN;%PATH%
and rebooted.

    I'm working at the command line, prefer for now not to use a development
environment, and I'm compiling and linking like this:
    gxx -o prog.exe prog.cpp
    Every thing works fine except that I can only compile in the djgpp/bin
directory.
    Even if I add a folder like djgpp/bin/myfolder, I can't  compile in it.

    Is there any way I can compile outside this particular directory without
changing path variables again?
    I've searched the faq and browsed elsewhere to no avail, and now I
humbly submit my question here.
Thanks for any help.



Dennis


- Raw text -


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