delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/01/24/17:23:06

Message-ID: <36AB9DDB.386441F4@roadrunner.com>
Date: Sun, 24 Jan 1999 15:25:31 -0700
From: Bill Kramer <wildbill AT roadrunner DOT com>
X-Mailer: Mozilla 4.04 [en] (Win95; I)
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: help with c++ compilier
Reply-To: djgpp AT delorie DOT com

Hi DJ,

I have been to the site to download everything I need to run the c++
compiler from the following web site:

http://www.delorie.com/djgpp/zip-picker.cgi (and also one other site for
c++).

I do have 2 questions however,
1. The documentation directs me to modify my autoexec.bat file for
setting an environment name and setting a path name. I am not sure how
to make this change. I had assumed I would find the autoexec.bat on the
C: drive however since this is a bat file I wasn't sure where to find
it.

2. On the documentation to run the compiler it reads:

You can also combine the compilation and link steps, like this:
        gcc -Wall -o myprog.exe mymain.c mysub1.c mysub2.c

My questions are:
    1. where does this command get entered?
    2. does myprog mean I put in my file name and mymain ??? and
mysub1??? and           mysub2??? (confused on what the "my sections are
here I would assume that if my file name is for example ..... test.cpp
then I would use the following command:
gcc -Wall -o testprog.exe testmain.c testsub1.c testsub2.c

Thank you for your help,

Bill Kramer


- Raw text -


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