From: "Johan Venter" Newsgroups: comp.os.msdos.djgpp References: <3812BDDA DOT E709C2E1 AT hjc DOT edu DOT sg> Subject: Re: Linking problem Lines: 22 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Message-ID: Date: Mon, 25 Oct 1999 17:22:42 +1000 NNTP-Posting-Host: 139.134.160.169 X-Trace: newsfeeds.bigpond.com 940845795 139.134.160.169 (Mon, 25 Oct 1999 20:03:15 EST) NNTP-Posting-Date: Mon, 25 Oct 1999 20:03:15 EST Organization: Telstra BigPond Internet Services (http://www.bigpond.com) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Chong Kai Xiong <8111883c AT hjc DOT edu DOT sg> wrote in message news:3812BDDA DOT E709C2E1 AT hjc DOT edu DOT sg... > > > And compiled the files with: > gxx -c test.cc -o test.o > gxx -c main.cc -o main.o > > And tried linking it with: > gxx test.o main.o -o debug.exe > > which didn't work... What does "which didn't work" mean? Please post the exact error messages. -- Johan Venter ICQ 3643877 - jventer AT writeme DOT com The TPU DJGPP Interest Group - http://surf.to/djgppig The RSXNTDJ 1.5 HOWTO - http://surf.to/rsxntdj