gcc compilation problem

Clemens Koller clemens.koller@anagramm.de
Mon Sep 5 09:09:00 GMT 2005


Hi, Natasha!

> I'm trying to compile a domestic embedded application using cygwin 3.4.4,
> powerpc, OSE 4.4.1 on Windows XP (the application compiles completely normal
> on Win NT and 2000 with cygwin 2.95.2, powerpc and OSE 4.4.1, I tried this
> set, but got "signal 11" or segmentation failure). During this process I
> have numerous problems. Lust one of which is following:
> 
> ========================================================
> 
> GNU C++ version 3.4.4 (cygming special) (gdc 0.12, using dmd 0.125)
> (i686-pc-cyg
> win)
>         compiled by GNU C version 3.4.4 (cygming special) (gdc 0.12, using
> dmd 0
> .125).
> GGC heuristics: --param ggc-min-expand=47 --param ggc-min-heapsize=32614
>  /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/as.exe -o
> ..\o
> bj\\cpethdispatcher.o /cygdrive/c/WINNT/TEMP/ccT7glSb.s
> /cygdrive/c/WINNT/TEMP/ccT7glSb.s: Assembler messages:
> /cygdrive/c/WINNT/TEMP/ccT7glSb.s:27: Error: no such instruction: `mfspr
> %eax,28
> 7'
> /cygdrive/c/WINNT/TEMP/ccT7glSb.s:177: Error: no such instruction: `dcbf
> %ebx,%e
> ax'
> /cygdrive/c/WINNT/TEMP/ccT7glSb.s:198: Error: no such instruction: `dcbf
> 0,%eax'
> 
> /cygdrive/c/WINNT/TEMP/ccT7glSb.s:280: Error: no such instruction: `sync'
> /cygdrive/c/WINNT/TEMP/ccT7glSb.s:280: Error: no such instruction: `icbi
> 0,%eax'
> 
> /cygdrive/c/WINNT/TEMP/ccT7glSb.s:280: Error: no such instruction: `sync'
> /cygdrive/c/WINNT/TEMP/ccT7glSb.s:280: Error: no such instruction: `isync'
> dmake.exe:  Error code 129, while making '..\obj\\cpethdispatcher.o'
> 
> ========================================================

These instructions are PowerPC assembly instructions, so the i686 as.exe
don't understand them.

If you want to cross-compile ppc code on cygwin running on windows for
another ppc machine, you have to make sure that you have a proper
cross-toolchain working on cygwin (compiler+binutils+...) to get
ppc code out of it.

Greets,

Clemens Koller
_______________________________
R&D Imaging Devices
Anagramm GmbH
Rupert-Mayer-Str. 45/1
81379 Muenchen
Germany

http://www.anagramm.de
Phone: +49-89-741518-50
Fax: +49-89-741518-19

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



More information about the crossgcc mailing list