linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Cross compiling glibc-2.2.3
@ 2002-04-17  1:10 Sangmoon Kim
  0 siblings, 0 replies; 4+ messages in thread
From: Sangmoon Kim @ 2002-04-17  1:10 UTC (permalink / raw)
  To: linuxppc-embedded


Hi, IGOR LURI

> Anybody has already crosscompiled glibc 2.2.3 for mpc8xx?
I crosscompiled glibc-2.2.5.

> I know that for glibc-2.1.2 there is a patch in denx page, but for glibc
> 2.2.3 is there any patch?

I referenced the patch in denx page, and fixed the crosscompile problem by following procedure.

1. Move the sysdeps/powerpc/fclrexcpt.c to sysdeps/powerpc/fpu/
mv sysdeps/powerpc/fclrexcpt.c sysdeps/powerpc/fpu/

2. Delete the sysdeps/powerpc/memset.S
rm sysdeps/powerpc/memset.S

3. Edit the sysdeps/powerpc/Makefile
#ifeq ($(subdir),gmon)
#libm-support += fenv_const fe_nomask
#endif

4. Compile
CC=${TARGET}-gcc AR=${TARGET}-ar RANLIB=${TARGET}-ranlib \
        CFLAGS="-msoft-float -D_SOFT_FLOAT -mcpu=860 -O2" \
        ../${GLIBC}/configure --host=$TARGET --prefix=${PREFIX} \
        --enable-add-ons=linuxthreads --with-headers=${PREFIX}/include \
        --without-fp

Good luck.
- Sangmoon Kim -


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread
* Cross compiling glibc-2.2.3
@ 2002-04-16 15:30 IGOR LURI
  0 siblings, 0 replies; 4+ messages in thread
From: IGOR LURI @ 2002-04-16 15:30 UTC (permalink / raw)
  To: EMBEDDED LINUXPPC (Correo electrónico)


Hi,
I am trying to crosscopile glibc-2.2.3 for the mpc8xx.

I use the folowing configure script, but when I do make it fails after a
while.

export AR=ppc_8xx-ar
export CC=ppc_8xx-gcc
export CFLAGS="-msoft-float -D_SOFT_FLOAT -mcpu=860"
export RANLIB=ppc_8xx-ranlib

./configure	--enable-kernel=2.4.4 --host=powerpc-linux
--build=i686-pc-linux-gnu \
		--with-headers=/usr/src/linux-2.4.4/include \
		--enable-add-ons=linuxthreads \
		--without-fp


Anybody has already crosscompiled glibc 2.2.3 for mpc8xx?

I know that for glibc-2.1.2 there is a patch in denx page, but for glibc
2.2.3 is there any patch?

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-04-18  1:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <3.0.3.32.20020417095725.006a2034@spudcentral.com>
2002-04-18  1:36 ` Cross compiling glibc-2.2.3 Sangmoon Kim
2002-04-18  1:48   ` Dr. Craig Hollabaugh
2002-04-17  1:10 Sangmoon Kim
  -- strict thread matches above, loose matches on Subject: below --
2002-04-16 15:30 IGOR LURI

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).