delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/11/04/08:00:17

From: "Rafal 'Raf256' Maj" <rafal AT raf256 DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: building - HELP
Date: 4 Nov 2002 12:50:04 GMT
Organization: news.onet.pl
Lines: 25
Sender: raf256 AT poczta DOT onet DOT pl@rafal.joint.eu.org
Message-ID: <Xns92BC8BF8593C5raf256com@213.180.128.20>
NNTP-Posting-Host: rafal.joint.eu.org
Mime-Version: 1.0
X-Trace: news.onet.pl 1036414204 16547 62.233.182.161 (4 Nov 2002 12:50:04 GMT)
X-Complaints-To: abuse AT onet DOT pl
NNTP-Posting-Date: 4 Nov 2002 12:50:04 GMT
User-Agent: Xnews/5.04.25
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hello,
plese help - I have few quick question :

as RHIDE environment doesn't work [well] in WinXP - i'm forced to use otehr 
external editor + command line. 
It's a shame but I never used command line (I used IDE) so I don't know how 
it works.

Assume I have project with 2 .cpp files :
  main.cpp
  lib.cpp
and I want it to use allegro library (in RHIDE option was "-lalleg")

and now, how to :

1) Compile main.cpp (into main.o)
2) Link main.o and lib.o into .exe ?
3) as above, but I also want to link allegro (c:\djgpp\lib\liballeg.a)




-- 
Rafał 'Raf256' Maj
http://www.raf256.com

- Raw text -


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