bug-glibc
[Top][All Lists]
Advanced

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

glibc for powerpc-linux build fails on i686-linux


From: Bhattacharya, Soubhik
Subject: glibc for powerpc-linux build fails on i686-linux
Date: Tue, 17 Sep 2002 16:14:17 +0530
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2.1) Gecko/20010901

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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]