[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] Set the stack size of an executable
From: |
Thomas Preud'homme |
Subject: |
Re: [Tinycc-devel] Set the stack size of an executable |
Date: |
Wed, 13 Jul 2011 14:41:28 +0200 |
User-agent: |
KMail/1.13.7 (Linux/2.6.39-2-amd64; KDE/4.6.4; x86_64; ; ) |
Le mercredi 13 juillet 2011 14:08:02, Thomas Mertes a écrit :
[SNIP]
>
> > Under linux I think you'd need to use setrlimit().
>
> Under Linux the default stack size was always sufficient.
> When I compile and link under Linux I get errors like:
> tcc: undefined symbol 'memmove'
> As "quick" fix I wrote the functions strlen, strchr, strcmp,
> strncmp, strstr, memcmp, memcpy, memmove and memset. Hopefully this
> error is already fixed. Which version contains the fix? I use the
> tcc package from Ubuntu, so it will probably take some time until
> the package is updated.
This has been fixed in the development branch (also known as the mob branch).
As for Ubuntu, [0] indicates that tcc 0.9.25-6 is shipped. This version should
contain the fix, as the fix was included from 0.9.25-4.
[0] https://launchpad.net/ubuntu/+source/tcc
Which version of the package do you use (what gives you dpkg -l tcc)?
[SNIP]
>
>
> Greetings Thomas Mertes
Thanks for your interest in tinycc.
Best regards,
Thomas Preud'homme
signature.asc
Description: This is a digitally signed message part.