Compile SUCCESS! on powerpc-unknown-linux-gnulibc1

Franz Sirl Franz.Sirl-kernel@lauterbach.com
Wed Nov 12 02:44:00 GMT 1997


Hi,

the patch
< http://homepages.munich.netsurf.de/Franz.Sirl/misc/ppclibc1.diff > against
971105, a simple adaption of Richard Henderson's libio patch, solved my
compilation problems for the full-blown egcs. (It compiles, but it fails
the lib tests with "ld exit status 1" with gas-971111 ;-) )

The "problem" on Linux/PPC was the same as on Linux/Alpha, the RedHat 4.2
based non-Intel installations use glibc-961212 (1.99 alpha), which need
special treatment for libc-lock.h and stdio-lock.h. The patch simply
duplicates Richard's patch for powerpc and adds library detection code in
config.guess.

Some points:
- have a close look, it's my first time dealing with configure (BTW, where
to get autoconf-2.12._1_?)
- eventually there is room for unification for Linux-gnulibc1 on
alpha/powerpc/sparc/mips in config.guess/configure.in
- gcc/configure.in for alpha*gnulibc1 adds mkfrag t-linux-gnulibc1, is this
necessary for powerpc?

Bye,
Franz.




More information about the Gcc mailing list