www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/07/31/23:04:00

From: frenchc AT cadvision DOT com (Calvin French)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Stupid guy needs help
Date: 27 Jul 1997 20:47:55 GMT
Organization: CADVision Development Corp.
Lines: 50
Message-ID: <5rgc5r$j1u@elmo.cadvision.com>
References: <19970727015900 DOT VAA16497 AT ladder01 DOT news DOT aol DOT com> <01bc9a56$2c865f80$3e3d31cf AT default>
NNTP-Posting-Host: ts9ip88.cadvision.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

In article <01bc9a56$2c865f80$3e3d31cf AT default>, username AT infowest DOT com 
says...
>
>
>
>Lovecraft <lovecraft AT aol DOT com> wrote in article
><19970727015900 DOT VAA16497 AT ladder01 DOT news DOT aol DOT com>...
>> 
>> Do I set up different folders for say, the binary utilitites, the main
>> program, the debuger, etc.? 
>
>Put all the files in a base directory and then use pkunzip -d *.zip this
>should get it all unzipped. 
>
>        -Sthel Majisun
>        http://www.infowest.com/w/wasden/game.htm
>

For instance:

c:\uploads\>md \djgpp
c:\uploads\>copy *.zip \djgpp
c:\uploads\>cd \djgpp
c:\uploads\>pkunzip -d *.zip

Then...

c:\djgpp\>edit hello.c

(do your hello world proggie)

c:\djgpp\>gcc hello.c
c:\djgpp\>a

Typing ``a'' will run the program, since for some reason that I don't know, 
when you don't specify an output file it writes a file called ``a.exe''. Oh, 
this ``a'' file is likely to be larger than it needs to be, really you 
should pick up RHIDE (www.tu-chemnitz.de/~rho) and use it to compile, I have 
never used the command line compiler very much, you see, which is why I 
don't even know how to specify the output file properly. DJGPP, BTW, is IMHO 
a VG compiler, not only suitable in order for you to ``see if you like 
programming in c'' but quite suitable for ``making my cool-ass super game'' 
or ``super-app'' or ``learning cutting edge c++ technologies w/o having to 
put up with Win32 overcomplexity'' or ``being part of a loving, caring, 
nurturing family'' or ``picking up chicks because now you know something 
unix (gcc is originally a unix compiler), and chicks love unix, you should 
know that''. At least, that's what it's done for me!!

- Calvin -

- Raw text -


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