|
From: | Austin English |
Subject: | Re: [Tinycc-devel] Support for hidden symbols? |
Date: | Thu, 17 Apr 2014 16:18:24 -0700 |
Hi,
Okay :)
On Sun, 13 Apr 2014, Austin English wrote:
> I expected that wine wouldn't immediately work, I'm doing it for the
> curiosity factor.
Yep, tccasm doesn't currently accept the AT&T syntax of local labels.
> The next problem is:
> make[1]: Entering directory `/home/austin/src/wine-tcc/dlls/acledit'
> /home/austin/tcc/bin/i386-linux-gnu-tcc -m32 -c -I. -I. -I../../include
> -I../../include -D__WINESRC__ -D_REENTRANT -fPIC -g -o main.o main.c
> ../../tools/winegcc/winegcc -m32 -B../../tools/winebuild --sysroot=../..
> -shared ./acledit.spec main.o -o acledit.dll.so
> ../../libs/port/libwine_port.a
> acledit.UgAqPb.s:14: error: unknown assembler directive
> '.L__wine_spec_rva_base'
Well, I could add that as well, but the question will be where to stop?
wine emits assembler code for an AT&T (e.g. the GNU) assembler, and tccasm
is not such one. There will be many more things missing. All the .cfi
directives, section markers, the special syntax for marking operands with
certain relocations. It would be easier if you would force wine to use
the GNU assembler at least for assembler input. The C sources can then
still be compiled with TCC (and presumably that's where your couriosity
lies).
[Prev in Thread] | Current Thread | [Next in Thread] |