In compiling concurent code from C++ 11 with g++ 4.7 [FINALLYY!!!
<3 <3 <3 ] Debian Sweezzy gives me option for the std compiler beetween gnu+11 or c++11
Is there a difference or are they the same?
Any example code from my C++ concurency book compiles teh same without hits, including example that had problems previously with 4.4, and even 4.6.4
ALSO
in previous versions (g++4.4) i had to include in the command after std
-lpthread
Quote:
For forum's SE optimization
To compile a C++ 11 code in linux with g++ 4.4.5 type
g++ -std=gnu++0x -lpthread code.cpp -o runfile
|
what was that lpthread? i can stil put it with no effect. compile the same