Kurt Ziegenbein wrote:

>If we call after that make, the make fails at xgcc that can't link crti.o.
>It seems that it searches for libs only in the 31-bit lib-dir /usr/lib and
>not in /usr/lib64 where the crti.o resides.

Yes, that's a problem.  The issue here is that we still have some 64-bit
distributions that have their (64-bit) libraries in /usr/lib, while
others have them in /usr/lib64; whatever default gcc would use, it will
always break on some distros ...

As a quick workaround, you can add the line
#define MD_STARTFILE_PREFIX "/usr/lib64"
to the file gcc/config/s390/s390x.h.

This is not a complete solution, but it will work on /usr/lib64-style
distros like SuSE.  (B.t.w. if you look into the SuSE gcc source RPM,
you'll find a patch doing just that.)

Bye,
Ulrich

--
  Dr. Ulrich Weigand
  [EMAIL PROTECTED]

Reply via email to