[NTLUG:Discuss] libio.h:No file or directory
Cameron
hrothgar at endor.hsutx.edu
Wed Apr 5 16:45:06 CDT 2000
* kungfusion at x-net.com [2000.04.05 15:28]:
: ..."Hello World!" program.
:
: In file included from /usr/include/g++-2/iostream.h:31
: from testprog.cpp:1:
: /usr/include/g++-2/streambuf.h:36: libio.h: No such file or directory
:
: where can I get libio.h from?
:
: Thanks,
: Brian
:
I have a Mandrake 7.0 install that has gcc-2.95.2 with it. When I
compile c++ program, I have to pass it a flag so g++ knows to use a
backwards compatible egcs library. Here's an example:
g++ -Vegcs-2.91.66 source.cc -o ouput
The "-V" tells g++ to use the "egcs-2.91.66" version library. To get
what egcs version you have, run `egcs-version`. Hope this is what the
problem is.
If anyone knows a "better" way to use gcc-2.95.2, please enlighten me.
--
cameron
( Do not meddle in the affairs of sysadmins, )
( for they are subtle and quick to anger. )
More information about the Discuss
mailing list