This is the mail archive of the glibc-linux@ricardo.ecn.wfu.edu mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

glibc for powerpc-linux build fails on i686-linux


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]