* problems building win32-hosted cross compiler
@ 2000-09-19 9:08 Rob Taylor
0 siblings, 0 replies; 3+ messages in thread
From: Rob Taylor @ 2000-09-19 9:08 UTC (permalink / raw)
To: crossgcc
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: problems building win32-hosted cross compiler
[not found] <718D38CAB6E0D011B2C90060970C28A556FBC3@exchangeserver.pixelpower.com>
@ 2000-09-19 10:20 ` Rob Taylor
0 siblings, 0 replies; 3+ messages in thread
From: Rob Taylor @ 2000-09-19 10:20 UTC (permalink / raw)
To: crossgcc
> >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?
>
> Hi Rob,
>
> Did you use winzip to unpack the archive? That's a no-no for two reasons,
> one of which can be fixed and one of which can't. The one that can't be
> fixed: it doesn't handly cygwin symlinks correctly. The one that can: by
> default WinZip uses CR/LF conversion when unpacking TAR files, which in
> theory should give the right line-ends for the host system. Alas cygwin
> wants what are (by PC/Dos/Windows standards) the wrong kind of EOLs. To
> fix it, start WinZip, go to Options:Configuration:Miscellaneous, and make
> sure the tick box next to 'TAR file smart CR/LF conversion' is OFF.
>
nope. used tar -xzf ;)
that's not the issue. the spec file is generated when makeing gcc and gets
installed to ${prefix}/lib/gcc-lib/${machine}/${version}.
Rob Taylor
Flying Pig Systems
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* problems building win32-hosted cross compiler
@ 2000-09-14 3:40 Rob Taylor
0 siblings, 0 replies; 3+ messages in thread
From: Rob Taylor @ 2000-09-14 3:40 UTC (permalink / raw)
To: crossgcc
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?
Thanks,
Rob Taylor
Flying Pig Systems
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2000-09-19 10:20 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-09-19 9:08 problems building win32-hosted cross compiler Rob Taylor
[not found] <718D38CAB6E0D011B2C90060970C28A556FBC3@exchangeserver.pixelpower.com>
2000-09-19 10:20 ` Rob Taylor
-- strict thread matches above, loose matches on Subject: below --
2000-09-14 3:40 Rob Taylor
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).