tinycc-devel
[Top][All Lists]
Advanced

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

Re: [Tinycc-devel] Heap memory on windows


From: grischka
Subject: Re: [Tinycc-devel] Heap memory on windows
Date: Thu, 25 Aug 2016 11:27:12 +0200
User-agent: Thunderbird 2.0.0.23 (Windows/20090812)

Anaël Seghezzi wrote:
Is this correct ? :

tcc_set_options(s, "-Wl,--stack=4194309");


Only if you're using libtcc to output to an executable file
(with tcc_output_file).

On the other hand, code run from memory will simply use the stack
of your application continuously.

-- gr

On mer 24/08/16 20:53 , Anaël Seghezzi <address@hidden> wrote:

Sorry, not the heap, the stack memory.
On mer 24/08/16 20:38 , Ana&euml;l Seghezzi  wrote:
Hi all !
Is there a way to increase the maximum heap memory used by libtcc
on
windows ?
I'm using libtcc on windows 64 bit and MacOSX.
On Windows only, when I declare large static tables in my C code
and
on some other occasions when I use recursive functions, I
experiences
crashes or assertion failed on "_CrtIsValidHeapPointer".
And there is no problem when I compile using mingw or
visual-studio.
Does it ring a bell ?
Thanks a lot,
Ana&euml;l.




_______________________________________________
Tinycc-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/tinycc-devel





reply via email to

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