Re: [Tinycc-devel] make tcc reentrant

2019-12-10 Thread ag
On Mon, Dec 09, at 03:33 Michael Matz wrote: > Hi, > > On Sat, 7 Dec 2019, Christian Jullien wrote: > > > > 2) slower code: most of the time the indirection through a pointer > >variable (the state) in comparison to a direct access to a static > >variable doesn't matter. > > > > In fa

Re: [Tinycc-devel] make tcc reentrant

2019-12-06 Thread ag
On Fri, Dec 06, at 03:42 Michael Matz wrote: > Hello, > > On Tue, 3 Dec 2019, Ulrich Schmidt wrote: > > > i try to write a lua binding for tcc. To work out propperly, the tcc lib > > needs to be reentrant. > > As demonstrated down-thread, that isn't correct. It doesn't _need_ to be, > it would

Re: [Tinycc-devel] Overflows in the dynamic linker on x86_64 when using a tcc-built shared library along with others

2019-10-16 Thread ag
Hi, As i'm getting the same error with Petr, this is a resurrection of an old thread started at: https://lists.nongnu.org/archive/html/tinycc-devel/2018-06/msg9.html On Tue, Jul 03, at 09:26 Petr Skočík wrote: > I tracked down what was causing the "./a.out: Symbol `fstat' causes > overflow i

[Tinycc-devel] Inconsistency gcc/tcc on visibility hidden

2018-05-06 Thread ag
Hi, Attached and for your convience is a test case, that shows that gcc and tcc are inconsistant, with the way that treat variable declarations and when the -fvisibility="hidden" flag has been set during compilation. (the attached code also is inlined for comments) I see first, that tcc parses in

[Tinycc-devel] An experiment for C (first draft).

2018-04-22 Thread ag
On Tue, Apr 03, at 04:03 Theodore Dubois wrote: >> I would like to use the followings in my C: >> >> (this is a very very first start (the intention is to go far far >> away (if time is generous of course (doubtfull: >> >> #define ifnot(expr) if ((expr) == 0) >> #define beg { >> #define end }

[Tinycc-devel] A slang interpreter that initializes tcc.

2018-04-06 Thread Ag, D.E Chatzimanikas
On Tue, Mar 27, at 06:06 KHMan wrote: > > Have fun, happy hacking. Thanks, your wish it was quite a bit of help. https://github.com/agathoklisx/slang-devel/tree/master/interp/sli_tcc.c This is now a fully functional slang interpreter, but it initializes slang with a more abstracted way. That me

Re: [Tinycc-devel] An experinment for C.

2018-04-03 Thread Ag, D.E Chatzimanikas
On Tue, Apr 03, at 04:03 Theodore Dubois wrote: > > I would like to use the followings in my C: > > > > (this is a very very first start (the intention is to go far far > > away (if time is generous of course (doubtfull: > > > > #define ifnot(expr) if ((expr) == 0) > > #define beg { > > #def

[Tinycc-devel] An experinment for C.

2018-04-03 Thread Ag, D.E Chatzimanikas
Hi guys, I really really want your opinion in that (even just one single encourangment will be enough for my fragile feelings (i'm not kidding here)). Ok here it is: I would like to use the followings in my C: (this is a very very first start (the intention is to go far far away (if time is gen

Re: [Tinycc-devel] Some patches

2018-04-03 Thread Ag, D.E Chatzimanikas
On Sun, Apr 01, at 12:57 Michael Matz wrote: > Hi, > > On Sat, 31 Mar 2018, Petr Skocik wrote: > > > The first takes symlinks into account with header file caching (I need > > it with my build setup which uses a symlink in a weird way -- gcc and > > clang don't have problems with it but tcc did).

Re: [Tinycc-devel] S-Lang tinycc module.

2018-03-28 Thread Ag. D.E Chatzimanikas
On Tue, Mar 27, at 07:04 grischka wrote: > Agathoklis D. Chatzimanikas wrote: > > On Fri, Mar 23, at 08:58 grischka wrote: > > > Agathoklis D.E Chatzimanikas wrote: > > > > Hi, > > > > > > > > I created a tinycc binding for the S-Lang programming language, > > > > > > > > https://github.com/agath