tinycc-devel
[Top][All Lists]
Advanced

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

Re: [Tinycc-devel] Re: variable length arrays


From: Thomas Preud'homme
Subject: Re: [Tinycc-devel] Re: variable length arrays
Date: Sun, 18 Apr 2010 19:27:52 +0200

Le dimanche 18 avril 2010 13:58:39, mobi phil a écrit :
> Sorry to instist....
> 
> is there any way to do memory allocation on the stack?  (please read my
> email below)
> I think there are very few features missing to cover double of the C code
> out there that can be compiled with TCC... and one of them is variable
> length arrays on the stack...
I rebased the patch propose at [1] upon the current master branch. I can't 
guarantee it works as alloca doesn't work on my different machines, even with 
the latest mob.

I attach the patch to this email in case you're interested.
> 
> On Tue, Apr 6, 2010 at 12:57 AM, mobi phil <address@hidden> wrote:
> > Hello!!
> >
> >
> > TCC is just amazing. It is the tool I was dreaming ,) . I will move
> > from C++ back to C for several projects as I am tired to wait for even
> > fast computers to get the job done!
> > However as I tried to compile several projects, several fail due to
> > the limitation regarding variable length arrays. Are there already
> > solutions out there?
> 

Attachment: 0001-Add-support-for-C99-VLA.patch
Description: Text Data


reply via email to

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