Go4Expert

Go4Expert (http://www.go4expert.com/)
-   C++ (http://www.go4expert.com/forums/cpp/)
-   -   compile C++ in linux OS in 64-bit mode (http://www.go4expert.com/forums/compile-cpp-linux-os-64-bit-mode-t7195/)

wweiy 6Nov2007 09:05

compile C++ in linux OS in 64-bit mode
 
Hi all,
I am now using icpc/icc10 to compile my C++ code in 32-bit mode, it can work fro both 32-bit and 64-bit linux suse machine.
However, when i try to compile the same code in 64-bit mode by using 64-bit machine, it shows an error message below:
/usr/include/g++/iostream(44): catastrophic error: could not open source file "bits/c++config.h"
#include <bits/c++config.h>
^
How to solve this problem? The command i use to compile my code is:
> icpc -D_FILE_OFFSET_BITS=64 -c -w0 -cxxlib -no-ipo -i-dynamic sample.C


All times are GMT +5.5. The time now is 15:36.