tinycc-devel
[Top][All Lists]
Advanced

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

Re: [Tinycc-devel] global variables in tcc


From: grischka
Subject: Re: [Tinycc-devel] global variables in tcc
Date: Tue, 02 Apr 2013 15:29:29 +0200
User-agent: Thunderbird 2.0.0.23 (Windows/20090812)

Rob wrote:
Anyways, perhaps there should be a -fcommon flag on tcc, just like
gcc/clang.

-f[no]-common already exists in tcc.  It sets TCCState->nocommon.

The default for s->nocommon once was 0 (meaning common=yes, as in gcc)
but I changed it to 1 (libtcc.c:1016) eventually because of problems
in some test program.  I didn't investigate further what the problem
was though.  But it probably is a problem in tcc (with using common=yes)
because there was no problem when using gcc to compile/link that program.

--- grischka




reply via email to

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