This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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

Re: New Problem


On 2/1/06, Sanjeev Rao <sr_sanjeev@yahoo.com> wrote:
> Hi Ganesh and Dan,
>
> I restarted the whole process again to build cross
> copiler for powerpc-linux. Now I am using latest glibc
> that is glibc-2.3.6.tar.gz.
>
> I have been follwing the procedure given
> "GCC_crosscompiler_buildprocess.txt" to build cross
> compiler for power pc.
> I am using
> gcc-3.3.6.tar.gz,glibc-2.3.6.tar.gz,glibc-linuxthreads-2.3.tar.gz,binutils-2.16.tar.gz.
> Build binutils, build minimal gcc were successful
> after adding the patch, but while building the glibc
> I am getting the following erros.
> This the configure (Help me about this --target and
> --host......what give and all)
> =====================
>  ../glibc-2.3.6/configure
> --prefix=/opt/crossgcc/powerpc-linux
> --target=powerpc-linux --host=powerpc-linux
> --enable-add-ons=linuxthreads
> --with-headers=/usr/src/linux-2.4.20-8/include/
> --with-binutils=/opt/crossgcc/powerpc-linux/powerpc-linux/bin
>...
>/opt/crossgcc/powerpc-linux/lib/gcc-lib/powerpc-linux/3.3.6/../../../../powerpc-linux/bin/ld:
> cannot find -lgcc_eh
> collect2: ld returned 1 exit status
> make[2]: *** [/root/workingppc/build-glibc/iconv/iconvconfig] Error 1
> make[2]: Leaving directory
> `/root/workingppc/glibc-2.3.6/iconv'
> make[1]: *** [iconv/others] Error 2
> make[1]: Leaving directory
> `/root/workingppc/glibc-2.3.6'

You might need a patch like
http://kegel.com/crosstool/current/patches/glibc-2.3.3/glibc-2.3.3-libeh-kludge.patch

But tell me - have you tried crosstool?  It might save you a lot of trouble.
- Dan
--
Wine for Windows ISVs: http://kegel.com/wine/isv

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.org


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