As no one complained, I changed 28_strings.c to use ISO C functions and
reintroduced 24 and 28 tests in Makefile for Windows.
ð http://repo.or.cz/tinycc.git/commit/8986bc8af473080bed0efa01cb569f3e25f179a9
Christian
From: Tinycc-devel
Configure change proposal :
echo "#define TCC_RELEASE_DATE \"`git log -1 --format=%cd`\" >> $TMPH
Then extend -vv to display release date. It will help determine if s.o. is
up to date.
F:\tinycc>win32\tcc -vv
tcc version 0.9.26 (i386 Windows) - Wed Oct 12 06:18:38 2016 +0200
install:
Dear Daniel,
Thank you. I have tried to:
x86_64-w64-mingw32-gcc -s -Os hello.c
Interestingly, the generated exe is now 18 KB. Still, that is larger than 2
KB. :-)
Warm regards,
Xianwen
On Wed, Oct 12, 2016 at 12:49 AM, Daniel Glöckner wrote:
> Hi Xianwen,
>
> On Tue, Oct
Hi Xianwen,
On Tue, Oct 11, 2016 at 11:43:40PM +0200, Chen, Xianwen wrote:
> I have been very impressed by the size of exe's that TCC produces in
> Windows. For the simple hello_world.c, TCC produces an exe of 2 KB, while
> mingw-w64 produces an exe of 164 KB. Therefore, I would like to continue
Me:
> That's interesting. Perhaps that could be extended to AArch64 instead
> of using the ugly work-around...
I've pushed my work-around as I'm not sure when I'll be able to
investigate the linker...
___
Tinycc-devel mailing list
Any objections to this?
Suggest configuring --with-selinux if mprotect fails.
diff --git a/tccrun.c b/tccrun.c
index 4903f90..1025500 100644
--- a/tccrun.c
+++ b/tccrun.c
@@ -230,7 +230,8 @@ static void set_pages_executable(void *ptr, unsigned long
length)
start = (addr_t)ptr &
Could someone please take a look at this warning?
tccgen.c: In function 'expr_cond':
tccgen.c:4656:17: warning: this 'else' clause does not guard...
[-Wmisleading-indentation]
else
^~~~
tccgen.c:4658:21: note: ...this statement, but the latter is misleadingly
> >This is a work-around for TCC's linker not building a PLT when TCC is
> >invoked with "-run".
>
> Hm, are you sure? See
>
> 9750d0b725d65296364c08451a985c717bf1890d
> Author: Michael Matz ... 2014-04-06 00:30:22
>
> x86_64: Create proper PLT and GOT also for -run
>
>