This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Building gcc 4.6.3 (and older) outside of source tree, under solaris



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

--


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]