Re: [Tinycc-devel] Minimizing libtcc memory use

2024-03-08 Thread grischka via Tinycc-devel
On 08.03.2024 07:30, Eric Raible wrote: I guess that I just want the numbers to add up. Using your example: 1) -DMEM_DEBUG -DCONFIG_RUNMEM_RO=0 2) your test.c 3) but I added an early return to tcc_delete() to no-op it Running: valgrind tcc -nostdlib -vv -bench -run test.c produced: tcc

Re: [Tinycc-devel] TinyCC on Windows & some suggestions

2024-03-13 Thread grischka via Tinycc-devel
On 11.03.2024 20:38, Robert Schlicht wrote: > Yes, it is. But it’s really primitive, basically just a text editor that has the compiler integrated, and calling it an IDE may be an exaggeration. It’s the thing that is intended to make writing a “Hello, World!” program (and slightly more

Re: [Tinycc-devel] trying to make absolute jump

2024-04-22 Thread grischka via Tinycc-devel
On 22.04.2024 06:16, Paul Moore wrote: Weird processor. It only supports absolute jumps. So this is something that needs to be fixed up during link time. I do not know the elf details well enough to be able to work out how to do it Seems like I need the jmp instruction to be a have reloc that

<    4   5   6   7   8   9