Re: [Tinycc-devel] Error: File crti.o/crt1.o Not Found and No Function Renaming

2013-09-19 Thread Cayce Pollard
On Sep 19, 2013 5:39 PM, "Cayce Pollard" wrote: > > > > > On Thu, Sep 19, 2013 at 12:12 PM, Thomas Preud'homme wrote: >> >> Le mardi 17 septembre 2013 12:22:03 Cayce Pollard a écrit : >> > Read >> > >> > On Tue, Sep 17, 2013 at 9:13 AM, Cayce Pollard >> wrote: >> > > On Sep 17, 2013 8:33 AM, "Dan

[Tinycc-devel] inline assembly and optimization passes

2013-09-19 Thread Sylvain BERTRAND
Hi, I wonder if the internals of tinycc can easily supports basic optimization passes. The idea is not to compete with gcc and its hundred of passes, but my guess is that very few optimization passes would be required to give a significant performance boost to generated code. Just need to se

Re: [Tinycc-devel] Redefined and undefined enums

2013-09-19 Thread Thomas Preud'homme
Le mercredi 21 août 2013 11:29:13 j...@mchsi.com a écrit : > Hi. > > Noticed couple of issues with enums. > > [1] tcc silently accepts enum redifinition. > > $ tcc -run - > enum color { RED=10, GREEN, BLUE }; > enum color { R, G, B }; > int main() > { > enum color c=RED, d=R; > p

Re: [Tinycc-devel] Error: File crti.o/crt1.o Not Found and No Function Renaming

2013-09-19 Thread Cayce Pollard
On Thu, Sep 19, 2013 at 12:12 PM, Thomas Preud'homme wrote: > Le mardi 17 septembre 2013 12:22:03 Cayce Pollard a écrit : > > Read > > > > On Tue, Sep 17, 2013 at 9:13 AM, Cayce Pollard > wrote: > > > On Sep 17, 2013 8:33 AM, "Daniel Glöckner" wrote: > > > > On Tue, Sep 17, 2013 at 07:07:38AM -05

Re: [Tinycc-devel] Error: File crti.o/crt1.o Not Found and No Function Renaming

2013-09-19 Thread Thomas Preud'homme
Le mardi 17 septembre 2013 12:22:03 Cayce Pollard a écrit : > Read > > On Tue, Sep 17, 2013 at 9:13 AM, Cayce Pollard wrote: > > On Sep 17, 2013 8:33 AM, "Daniel Glöckner" wrote: > > > On Tue, Sep 17, 2013 at 07:07:38AM -0500, Cayce Pollard wrote: > > > > tcc: error: file '/project/arm-cc/sysroo

Re: [Tinycc-devel] another declaration related bug

2013-09-19 Thread Thomas Preud'homme
Le lundi 8 juillet 2013 00:11:44 Abdul Wadud Mohammad Mohibur Rashid a écrit : > hello, > Please take a look at this tiny code > > int (*apfi)[3](int x, int y); > > int main() > { > // apfi[0]=add; > // apfi[1]=sub; > // apfi[2]=sub; > return 0; > } > > > this code clearly fails in gcc and vis

Re: [Tinycc-devel] library search path

2013-09-19 Thread Vittorio Giovara
On Tue, Sep 10, 2013 at 2:09 PM, Thomas Preud'homme wrote: > Le lundi 9 septembre 2013 16:32:48 Vittorio Giovara a écrit : >> On Mon, Sep 9, 2013 at 3:47 PM, Thomas Preud'homme > wrote: >> > >> > Indeed. Tcc add directories to search for libraries at the end of the >> > existing list. Since there