This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: WG: linux->mingw crosscompiler
- To: "Kittenberger, Axel" <Axel dot Kittenberger at datentechnik dot com>
- Subject: Re: WG: linux->mingw crosscompiler
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 03 Jan 2001 16:57:07 -0200
- Cc: <gcc-help at gcc dot gnu dot org>
- Organization: GCC Team, Red Hat
- References: <6836C52B81163A4FB5CF62184E7CFF8403F396@dacor5.dt.net>
On Jan 3, 2001, "Kittenberger, Axel" <Axel.Kittenberger@datentechnik.com> wrote:
>> /tmp/ccIfgxDy.s: Assembler messages:
>> /tmp/ccIfgxDy.s:134: Error: Unknown pseudo-op: `.def'
>> 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)
It doesn't get to run it. The problem shows up while compiling the
object file that would be added to the library with ar. Most likely,
GCC is using the wrong assembler. Run
/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_muldi3 \
../../src/gcc/gcc/libgcc2.c -o _muldi3.o -v
and see which assembler it runs. The FAQ has some suggestion on how
to arrange for GCC to run the appropriate assembler.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me