This is the mail archive of the gcc@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]

Re: Building ia64 crosscompiler


>b) then when compiling libgcc, it claimed that
>   "no data type for mode `TImode'". I was not sure what to do, so I
>   removed the test for HOST_BITS_PER_WIDE_INT >= 64 in c_common_type_for_mode
>   and continued.

HOST_WIDE_INT should automatically be defined to "long long".  If this happens,
then 32b->64b crosses should build.  If this does not happen, they will not
build.  One of the symptons of this failure is the problem you noted above.

The HOST_WIDE_INT stuff is in hwint.h.

Just taking a wild guess, this might be a problem with Zack's header file
reorganization patches on the bib branch.  hwint.h needs MAX_LONG_TYPE_SIZE
from the tm.h file in order to correctly choose the right size for
HOST_WIDE_INT.  I do not have a copy of bib, so I can't easily check this.

>c) later during the compilation of libgcc, it died with internal error
>   somewhere in garbage collector and I gave up.

This may be a side effect of the above problem.

Jim


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