This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Building gcc 4.6.3 (and older) outside of source tree, under solaris
- From: Jose-Marcio Martins da Cruz <Jose-Marcio dot Martins at mines-paristech dot fr>
- To: gcc-help at gcc dot gnu dot org
- Date: Thu, 15 Mar 2012 13:51:54 +0100
- Subject: Building gcc 4.6.3 (and older) outside of source tree, under solaris
- Reply-to: Jose-Marcio dot Martins at mines-paristech dot fr
Hello,
I have problems compiling gcc-4.6.3 under Solaris 10 X86.
It seems to me that it's a bug, but I'm astonished that it hasn't yet be pointed out. Or I'm doing
something wrong ?
I usually (for 10 years or more...) build gcc outside of the source tree. But I was puzzled because
I couldn't do it for most gcc-4x...
Let's say :
* source code dir is at, say, /pathto/gcc-4.6.3
* build dir is at, say, /pathto/obj
Compile process stops at stage 3, saying that some files weren't found :
* ext/pb_ds/detail/resize_policy/hash_load_check_resize_trigger_imp.hpp
* ext/pb_ds/detail/bin_search_tree_/constructors_destructor_fn_imps.hpp
This are, in fact, symbolic links pointing to the source tree :
*
/pathto/gcc-4.6.3/libstdc++-v3/include/ext/pb_ds/detail/resize_policy/hash_load_check_resize_trigger_imp.hpp
*
/pathto/gcc-4.6.3/libstdc++-v3/include/ext/pb_ds/detail/bin_search_tree_/constructors_destructor_fn_imps.hpp
And, in fact the file names in the source tree are wrong : they have a bad extension : .hp instead
of .hpp
I created the good files as symbolic links to the original .hp files and the compiling process ran
smoothly...
Is this a bug ? Or I missed something ?
Thanks
--