tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tinycc-devel] libtest fails on mingw since d04ce77 (2019-05-30)


From: avihpit
Subject: Re: [Tinycc-devel] libtest fails on mingw since d04ce77 (2019-05-30)
Date: Mon, 24 Jun 2019 06:43:30 +0000 (UTC)


Hi,

Confirmed commit 942b73b is fixed for mingw 32 and 64.
Thanks.

On Monday, June 24, 2019, 6:21:51 AM GMT+3, Michael Matz <address@hidden> wrote:


Hi,

On Sun, 23 Jun 2019, address@hidden wrote:

> d04ce77 Don't allow section switches in local asm instructions - Michael Matz
>
> with the following error:
>
> ------------ libtest ------------
> ./libtcc_test.exe -B../../win32 -I../../include -I../.. -I.. -L..
> Hello World!
> fib(32) = 2178309
> add(32, 64) = 96
> gcc.exe -o tcctest.gcc ../../tests/tcctest.c -DTCC_TARGET_X86_64 -DTCC_TARGET_PE -fno-strict-aliasing -I.. -I../..  -w -O0 -std=gnu99 -fno-omit-frame-pointer
> /tmp/ccUS0anU.s: Assembler messages:
> /tmp/ccUS0anU.s:10423: Error: unknown pseudo-op: `.pushsection'
> /tmp/ccUS0anU.s:10423: Error: unknown pseudo-op: `.popsection'
> /tmp/ccUS0anU.s:10432: Error: unknown pseudo-op: `.previous'

I tried fixing this in mob by not using those directives.  I've used the
_WIN32 preprocessor define as condition.  In case that's not enough for
mingw64 (maybe it only uses _WIN64?) please adjust accordingly.


Ciao,

Michael.


_______________________________________________
Tinycc-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/tinycc-devel


reply via email to

[Prev in Thread] Current Thread [Next in Thread]