[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: gcc can't find headers



> I've been trying to bridge over to C++ and tried to compile my first
> program using gcc, but "#include <iostream.h>" didn't work.  The compiler
> couldn't find the standard headers.  I've looked on my system and they
> reside in /usr/i386-unknown-cygwin32/lib/g++-include.  I tried using the
> -I switch to no avail.
> 
> I know next to nothing about the gcc compiler.  Any help would be
> appreciated.  By the way, it does compile C programs without a hitch.

You need to install the packages "libg++27_2.7.2.1-3.deb" and
"libg++27-dev_2.7.2.1-2.deb". The headers that you have are
for the cross-compiler win32 version of gcc.

Alexander Gieg

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
By: Alexander Gieg
E-mail: agieg@brworld.com.br
URL: http://www.geocities.com/TimesSquare/3222
IRC: AlexG
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-REQUEST@lists.debian.org . Trouble? e-mail to Bruce@Pixar.com


Reply to: