This is the mail archive of the
glibc-linux@ricardo.ecn.wfu.edu
mailing list for the glibc project.
glibc for powerpc-linux build fails on i686-linux
- From: "Bhattacharya, Soubhik" <soubhik_bhattacharya at mentorg dot com>
- To: listarch-glibc-linux at sourceware dot cygnus dot com
- Date: Wed, 18 Sep 2002 10:35:15 +0530
- Subject: glibc for powerpc-linux build fails on i686-linux
- Organization: Mentor Graphics, India
- Reply-to: "Bhattacharya, Soubhik" <soubhik_bhattacharya at mentorg dot com>
Hi,
I was trying to build a powerpc-linux build environment on my i686-linux
machine. I've built and installed a cross gcc in my system with the
following config options :
--target=powerpc-elf
--with-newlib
--with-cpu=603
--enable-languages=c
--enable-shared
--with-as=path/to/powerpc-elf-as
--with-ld=path/to/powerpc-elf-ld
--enable-version-specific-runtime-libs
after installation, i figured that the files crtbegin* and crtend* are
missing in $prefix/$target/$version area. is something wrong?
the reason i'm bothered is when i'm trying to build cross glibc for
powerpc-linux, the build fails. when the build process is building for
target `iconv_prog', it is passing the options `-nostartfiles', `$CC
--print-file-name=crtbegin.o` and `$CC --print-file-name=crtend.o`. as
these files are not present, the build fails. i've used the following
config options for building glibc:
--host=powerpc-linux
--enable-add-ons
--with-headers=/usr/local/powerpc-elf/include
--prefix=
so is something wrong with the build process?
the versions i'm using are : gcc 2.95.3 and glibc 2.2.3
any help will be highly appreciated.
Cheers,
Soubhik.