This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more infromation.


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

problems building win32-hosted cross compiler



I'm relying to my own mail here, just so the solutions known..
The problem turned out to be that gcc's spec file had been written with CR/LF's
and the spec parser was choking (it was reading asm_spec as being "/r/n"..)

Out of interest does anyone know why the spec was written with cr/lf's and how
to stop it?

Thanks,
Rob Taylor
Flying Pig Systems

> I'm trying to build a win32 hosted cross compiler to powerpc-unknown-eabi with
> the cygwin toolchain.
> When I try to link a powerpc exec (i.e when xgcc tried to build a test of
> libgcc), powerpc-unknown-eabi-ld freezes. passing --verbose gives
>
> GNU ld version 2.9.5 (with BFD 2.9.5.0.22)
>   Supported emulations:
>    elf32ppc
> using internal linker script:
> ==================================================
>
> ==================================================
> and then freeze.
>
> I'm configuring binutils with
> --prefix=/usr/target-powerpc --target=powerpc-unknown-eabi
>
> and gcc-core with
>
> --prefix=/usr/target-powerpc --target=powerpc-unknown-eabi
> --with-exeext=".exe"
> \
> --with-newlib
>
> Has anyone got any idea what's happening?


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


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