The UNIX and Linux Forums
Forum Home
Linux and Unix Man Pages
Search Forums
Search Community Posts
Today's Posts
Quick Links
Man Pages
RedHat Commands
OpenSolaris Commands
Linux Commands
SunOS Commands
FreeBSD Commands
All UNIX Man Pages
All Linux Man Pages
Full Man Repository
Login or Register to Ask a Question and Join Our Community
Search Forums
Show Threads .
Show Posts
Tag Search
Advanced Search
Quick Links
Contact Us
Forum Rules
Today's Posts
FAQ
Pictures & Albums
All Albums
Miscellaneous
What is My IP
Whois
Mark Forums Read
Search Results
Showing results 1 to 3 of 3
Search took
0.00
seconds.
Search:
Posts Made By:
Corona688
Forum:
Linux
07-13-2011
5
Error when using make file.
2,101
Posted By
Corona688
This is correct, it compiled main.cpp file into...
This is correct, it compiled main.cpp file into an object file, main.o, then linked it into an executable file, 'hello'.
It didn't print "hello world" because you didn't actually run ./hello
Forum:
Linux
07-13-2011
5
Error when using make file.
2,101
Posted By
Corona688
So don't give it -cpp.
So don't give it -cpp.
Forum:
Linux
07-13-2011
5
Error when using make file.
2,101
Posted By
Corona688
gcc will happily compile c++ objects but can't...
gcc will happily compile c++ objects but can't tell the difference between C .o files and c++ .o files. So when you try and link a c++ program with gcc, it won't link in the C++ libraries and things...
Showing results 1 to 3 of 3
Member Badges and Information Modal
×