Date: Thu, 5 Oct 2000 00:00:30 +0530
Message-Id: <200010041830.AAA01662@midpec.com>
From: Prashant TR
To: pdestroy AT netcabo DOT pt
CC: djgpp AT delorie DOT com
In-reply-to: <8rf3n1$i6g$1@venus.telepac.pt> (pdestroy@netcabo.pt)
Subject: Re: Compiling C++
References: <8rf3n1$i6g$1 AT venus DOT telepac DOT pt>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com
Precedence: bulk
| From: "Paulo J. Matos aka PDestroy"
| Date: Wed, 4 Oct 2000 12:18:28 +0100
| DJ-Gateway: from newsgroup comp.os.msdos.djgpp
|
| Hi,
| I have a correct program and I've compiled it doing:
| gcc -g -c tr.cpp
| everything is ok but when I do:
| gcc -o tr.exe tr.o
| a bunch of errors appear...
|
| What to do to solve this?
Add -lstdcxx option like this:
gcc -o tr.exe tr.o -lstdcxx
--
Prashant TR
Web: http://www.midpec.com/