This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


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

WG: linux->mingw crosscompiler


> Hi, I'm just trying to build a mingw crosscompiler on linux (gcc
2.95.2) 
> (it's first the gcc compiler that create me .exe's on a linux
machine.)
> 
> I've downloaded bin utils created them, copied the runtime headers
etc. like in the guide, but 
> I still get following error message:
> 
>  
> in _exit _ctors _pure; \
> do \
>   echo ${name}; \
>   /home/axk/cross/mingw-bld/gcc/xgcc -B/home/axk/cross/mingw-bld/gcc/
-B/home/axk/mingw/i386-mingw32/bin/
-I/home/axk/mingw/i386-mingw32/include -O2
-I../../src/gcc/gcc/../winsup/include -DCROSS_COMPILE -DIN_GCC
-I./include   -g1  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED   -I.
-I../../src/gcc/gcc -I../../src/gcc/gcc/config
-I../../src/gcc/gcc/../include -c -DL${name} \
>        ../../src/gcc/gcc/libgcc2.c -o ${name}.o; \
>   if [ $? -eq 0 ] ; then true; else exit 1; fi; \
>   i386-mingw32-ar rc tmplibgcc2.a ${name}.o; \
>   rm -f ${name}.o; \
> done
> _muldi3     
> /tmp/ccIfgxDy.s: Assembler messages:
> /tmp/ccIfgxDy.s:134: Error: Unknown pseudo-op:  `.def'
> /tmp/ccIfgxDy.s:134: Error: Unknown pseudo-op:  `.scl'
> /tmp/ccIfgxDy.s:134: Error: ignoring unrecognized symbol type ""
> /tmp/ccIfgxDy.s:134: Error: Rest of line ignored. First ignored
character is `3'.
> /tmp/ccIfgxDy.s:134: Error: Unknown pseudo-op:  `.endef'
> make[1]: *** [libgcc2.a] Error 1
> make[1]: Leaving directory `/home/axk/cross/mingw-bld/gcc'
> make: *** [all-gcc] Error 2          
> 
> Anybody can hint about what's going wrong?
> 
> I did create a i386-mingw32-ar however make/gcc seems to invoke the
wrong one at this step, as it isn't disturbed when I delete it ;o)
> 
> However I don't have any idea on which screw to modify so the correct
assembler gets invoked.
> 

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