Originally posted by Harmaa Kettu
OK,you probably noticed the problem there, x86_64 instead of i386. You need a 64-bit version of the package that contains those headers (libstdc++-devel or something like that).
Yep. You was right. I now upgraded my gcc 3.4.2 to 3.4.3 and also installed libstdc++.x86_64 and libstdc++-devel.x86_64 3.4.3-22.fc3 versions and then that red-hat-i386 directory was gone but I now have /usr/include/c++/3.4.3/x86_64-redhat-linux directory and compiling works just fine now with only -m32 option used. No more need to add that -Xlinker stuff and -I/usr/blaa/blaa/blaa.
Now I have find a way to make a makefile which would compile every cpp-file in directory and produce 32-bit and 64-bit executables of every source
Anyway my compiler trouble case is now closed.