From: John R. H. <jh...@sp...> - 2004-02-27 22:00:23
|
I'm trying to compile a C language file but the assembly step is failing: LM872:^M /APP^M .section ".data"^M __op_label0.op_jmp:^M .long 1f^M .previous^M The problem line is the .section ".data" GCC fails with the following error: C:/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccgvaaaa.s:4674: Warning: rest of line ignored; first ignored character is `"' Thanks, --=20 John R. Hogerhuis <jh...@po...> =20 |
From: John R. H. <jh...@sp...> - 2004-03-16 05:06:45
|
I am attempting to compile QEMU emulator with Mingw32 cross compiler under Debian. I am getting the following errors trying to compile op.c: ~/projects/qemu :) make for d in i386-softmmu; do \ make -C $d all || exit 1 ; \ done make[1]: Entering directory `/home/john/projects/qemu/i386-softmmu' i586-mingw32msvc-gcc -Wall -O2 -g -fomit-frame-pointer -mpreferred-stack-boundary=3D2 -falign-functions=3D0 -fno-reorder-blocks -fno-optimize-sibling-calls -I. -I/home/john/projects/qemu/target-i386 -I/home/john/projects/qemu -D_GNU_SOURCE -c -o op.o /home/john/projects/qemu/target-i386/op.c /tmp/ccI4MlCB.s: Assembler messages: /tmp/ccI4MlCB.s:7517: Warning: rest of line ignored; first ignored character is `"' /tmp/ccI4MlCB.s:7520: Error: unknown pseudo-op: `.previous' /tmp/ccI4MlCB.s:8765: Warning: rest of line ignored; first ignored character is `"' /tmp/ccI4MlCB.s:8768: Error: unknown pseudo-op: `.previous' /tmp/ccI4MlCB.s:8781: Warning: rest of line ignored; first ignored character is `"' /tmp/ccI4MlCB.s:8784: Error: unknown pseudo-op: `.previous' (repeats)... I modified the flags so I could get the intermediate assembly listing and the line number it is choking on, The lines around 7517 look like this: LM1249: /APP .section ".data" __op_label0.op_jmp: .long 1f .previous jmp __op_jmp0 1: The .section line is 7517, and the .previous line is 7520. The same pattern is repeated for line 8765/8768: .stabn 68,0,264,LM1490-_op_jb_subb LM1490: /APP .section ".data" __op_label0.op_jb_subb: .long 1f .previous jmp __op_jmp0 1: Any ideas? Have I just hit something which is unimplemented in Mingw32? Am I missing something obvious? Thanks for your help, John R. Hogerhuis. |