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

C++ include files

When I'm trying to compile C++ files it doesn't finds the C++
headerfiles automatically. It works when I'm telling it where to find
them as in:

brother@hvor > g++ -I/usr/include/g++-2 test.cc

- or -

brother@hvor > setenv CPLUS_INCLUDE_PATH /usr/include/g++-2
brother@hvor > g++ test.cc

What have I done wrong?

I using egcs1.0.3 (?) and libstd++2.9 (I think.)

Peter er den mindst gamle af de gammeldags usenettere, og moderator på
den eneste modererede gruppe i dk.*, so there.
                                                    - citat RockBear

Reply to: