delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/06/07/21:33:39

From: Vic <tudor AT cam DOT org>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: First timer
Date: Thu, 29 May 1997 22:04:30 -0400
Organization: Communications Accesibles Montreal
Lines: 21
Message-ID: <338E35AE.5428@cam.org>
References: <199705270550 DOT NAA04076 AT eastgate DOT cyberway DOT com DOT sg>
Reply-To: tudor AT cam DOT org
NNTP-Posting-Host: dynamicppp-212.hip.cam.org
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Shen Renhui wrote:
> 
> Hi,I've just gotten djgpp and was stunned by the large number of files.
> I'll try and go thru the FAQ but right now I need to know which file is the
> compiler and which is the linker and which file(if there is) a compiler
> that automatically links the files.
The 'compiler' consists of more than one executables. Use gcc like this:
gcc -o myexe.exe myfile.c -lmylib .
It will compile and link the code for you
myexe.exe should be replaced with your executable name
myfile.c should be replaced with your source file name
If you need any libs put them like that: -llibname (for allegro:
-lalleg).
You should get the readme.1st for more detailed info.
> Thanks.
> Kenny

-- 
http://www.cam.org/~tudor
"I INSERTED THE DISK INTO THE COMPUTER, AND TURNED IT ON. LET THERE BE
DOS,I SAID! AND THERE WAS DOS." -- Bill Gates, 1977

- Raw text -


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