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: Anaël Seghezzi
Subject: Re: [Tinycc-devel] Heap memory on windows
Date: Thu, 25 Aug 2016 13:44:08 +0200

I output to memory, is it possible to increase the maximum size even in this 
case ?
Because I always ran on memory and the behavior is different on windows.
Thanks!

On jeu 25/08/16 11:27 , grischka <address@hidden> wrote:

> Ana&euml;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&euml;l Seghezzi  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
> > 
> > https://lists.nongnu.org/mailman/listinfo/tinycc-devel
> 
> 



reply via email to

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