problems with gcc1.dslForum: System Topic: problems with gcc1.dsl started by: howlingmadhowie Posted by howlingmadhowie on Jan. 26 2006,10:42
well, the topic description pretty much said it all.i downloaded, checked the md5sum and installed gcc1.dsl (which went really well). i wrote a short hello_world and tried to compile it. the computer thought for about 10 seconds and then complained. here is the program and the complaint, incase anybody's interested:
i suppose these undefined reference things could mean, that the standard library isn't correctly installed. but it doesn't complain about my #include instruction. does anyone know what's up? yours howie Posted by clacker on Jan. 26 2006,13:12
howlingmadhowie, take a look at this previous < g++ post >. I believe you need to compile c++ programs with g++ rathr than gcc. You didn't mention what comand line you were using to compile your program, but try:g++ -o hello hello.cpp Posted by howlingmadhowie on Jan. 26 2006,13:59
that was it, many thanks now why didn't i find that page while searching the forum?... |