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

building a multiarch gcc



I have successfully build a multiarch gcc in a ppc64. To do so I made some 
changes to Andreas patch:

1) move powerpc64*-*-*  before powerpc*-*-* in src/config-ml.in to make sure 
the correct option is executed.
2) use /lib32/ld.so.1 as the 32 bits linker
3) fix the "bispecs" target in t-linux64 (see previous email)

to build:
install the  libc6 and libc6-dev powerpc packages in /lib32  and /usr/lib32.
copy the files crt1.o,  crti.o and crtn.o in /usr/lib32 to /usr/lib32/nof/
export WITHOUT_LANG=java
dpkg-buildpackage


Rafael

Attachment: gcc.patch.gz
Description: GNU Zip compressed data

Attachment: pgpVEyboHrx8t.pgp
Description: PGP signature


Reply to: