baslinux AT lists.ibiblio.org
Subject: Baslinux mailing list
List archive
- From: Ian <mriscott AT yahoo.co.uk>
- To: baslinux AT lists.ibiblio.org
- Subject: Re: [BL] compiling C++ with gcc
- Date: Tue, 30 Dec 2003 07:43:58 +0000
The compiler cannot find any of the *.h files in theg++ is just gcc with the correct options (-x c++, IIRC, an perhaps different include directories) to compile c++ rather than c. I think that if you call your source file x.cpp rather than x.c, gcc will default to treat it as c++ whether invoked as gcc or g++. I have not tested this on BL, howeverc
g++-2 subdirectory unless you compile with g++ instead
of gcc.
Ian
-
Re: [BL] compiling C++ with gcc,
Ian, 12/30/2003
- Re: [BL] compiling C++ with gcc, Sindi Keesan, 12/30/2003
Archive powered by MHonArc 2.6.24.