tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Cross building pcc

I tried adding MKPCC=yes to a mac68k build done on a NetBSD/amd64 system
and got the following error:

/u1/src/external/bsd/pcc/libexec/ccom/../../dist/pcc/mip/regs.c: In function 'ad
/u1/src/external/bsd/pcc/libexec/ccom/../../dist/pcc/mip/regs.c:793:3: error: ri
ght shift count >= width of type [-Werror]
   k = (live[i/NUMBITS] >> 32);

What I think is causing this is that the mkext tool in pcc is picking up
the size of NUMBITS from the host machine rather than generating the
correct value for the target.

Robert Swindells

Home | Main Index | Thread Index | Old Index