On Thu, Oct 26, 2023 at 07:15:11PM +0200, draco wrote:
>/Sylvain,/
>//
>/it seems to me, like this patch breaks the windows builds, maybe for/
>/exactly the same reason, ldd gets confused./
>//
>/See the github mirror of tinycc, it has some automated builds and the/
>/win32
Sylvain,
it seems to me, like this patch breaks the windows builds, maybe for
exactly the same reason, ldd gets confused.
See the github mirror of tinycc, it has some automated builds and the
win32 part starts breaking with linker errors against libtcc exactly
after picking up your patch:
grishka, thank you so much for pointing me in the right direction.
I was able to solve the problem (more or less) with this hint, though
this means to patch tclDecls.h and tclIntDecls.h, two headers I took in
from the tcl Source, so a bit problematic to maintain.
Furthermore, the
Hermann,
I tested your patch a bit, seems to work as expected and brings tcc
win32 back to it's normal speed.
Can you upload it to the mob?
Thank you!
Michael
___
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
Dear TinyCC community,
first: Thanks for all the work that goes into maining tcc all the years,
I'm a regular reader of the mailing list.
I developed a little add-on//patch to TinyCC which I call ziptcc.
It enables tcc to read include files etc from a single zip or even from
it's own exe (if
You could try adapting something like c-embed
https://github.com/weigert/c-embed to tinycc.
I made a zip enabled version of tcc,
https://github.com/MichaelMiR01/ziptcc_dev but this still opens the
zipfile, so not a solution for your problem. But it patches tcc without
modifications to the
Thanks Herman for pushing the #pragma once fix.
I'm developing and maintaining tcc4tcl and ziptcc patches and both
re#define open, close and read to work. In your patch you are
reintroducing fopen, fclose, fread. May I ask if this is neccessary and
if not may I ask you to switch this to open,
Pragma once is implementation defined, so I ponder a bit on the definition…
1. pragma once is defined on the file level, while regular source code
can be amalgamated to a single source and in fact this is what the
preprocessor does
2. does pragma once exclude the whole file from
You're right, I didn't verify closely, but the ABI is still intact. Sorry...
Am 10.02.24 um 22:12 schrieb Eric Raible:
> This means, that not only the public API changes, but also the
> libtcc.dll/so ABI, making all programs using libtcc crash without warning.
>
> Is this intended?
>
> Michael
Hi grischka,
regarding your latest patch introducing runmain.c I found that the
according buil-tcc.bat is unchanged, thus runmain.o is not build.
It would be great, if you could include this to get tcc up and running
under win32/64 :-)
Thanks a lot!
Michael
--
Is it possible to keep, use and then release the compiled code after
the initial compiler instance has been deleted (ie: after tcc_delete).
Actually I strugled with the same problem and found a partial solution:
If you look up the code in libtcc.c, in function tcc_delete is the line
11 matches
Mail list logo