Re: [Tinycc-devel] i just can't get over how farging fast tcc is...

2011-02-02 Thread Aharon Robbins
Hi. > Date: Tue, 1 Feb 2011 18:35:16 -0800 (PST) > From: Rick Hodgin > Subject: Re: [Tinycc-devel] i just can't get over how farging fast tcc is... > To: tinycc-devel@nongnu.org > > Stephan, > > Bear in mind that while the compile time is fast, and the executable code > is small and tight, the ex

[Tinycc-devel] Adding type info for tcc

2011-02-02 Thread Simon Lehmayr
Hello, I want to add stabs type info to all kinds of variables. I'm reading http://www.math.utah.edu/docs/info/stabs_2.html as documentation. Where do I have to touch tcc code to make sure I'm not leaving anything out? Regards, Simon Lehmayr ___ Ti

Re: [Tinycc-devel] undefined symbols strlen and strcmp?

2011-02-02 Thread ibrahim
search for git tinycc and download the latest mob version. (A bit risky so). ___ Tinycc-devel mailing list Tinycc-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/tinycc-devel

[Tinycc-devel] undefined symbols strlen and strcmp?

2011-02-02 Thread Stephan Beal
Hi, all! i'm trying something very simple: stephan@ludo:~/cvs/fossil/cpdo$ tcc -fPIC -c -DCPDO_ENABLE_SQLITE3=1 -DCPDO_ENABLE_MYSQL5=1 -I. -I./include cpdo_amalgamation.c stephan@ludo:~/cvs/fossil/cpdo$ tcc -c -I. -Iinclude test.c stephan@ludo:~/cvs/fossil/cpdo$ tcc -o test-tcc -rdynamic -L/us

RE: [Tinycc-devel] i just can't get over how farging fast tcc is...

2011-02-02 Thread Christian Jullien
The same curious can compare performances (expressed in second) between gcc and tcc (both 32/64 bits) on the same Windows 7 x64 machine. While LAP compiled code (interpreted by a virtual machine) is generally twice as fast as the interpreter, tcc is two times slower. GNU GCC 4.5 (Mgw) XP (Com

Re: [Tinycc-devel] i just can't get over how farging fast tcc is...

2011-02-02 Thread Stephan Beal
On Wed, Feb 2, 2011 at 11:53 AM, Gary Birkett wrote: > I am already impressed with its reported build speed, though I am curious > at just how much of a difference the optimisation steps in gcc actually > make. > I would test myself, but most of the things I build are for ARM, hence my > asking y

Re: [Tinycc-devel] i just can't get over how farging fast tcc is...

2011-02-02 Thread Stephan Beal
On Wed, Feb 2, 2011 at 4:20 AM, Stephan Beal wrote: > On Wed, Feb 2, 2011 at 4:09 AM, Gary Birkett wrote: > >> Why not test it? :) >> >> Okay, since i was provoked ;)... Here's a test which connects to a mysql db, creates a small table, puts a few records in it, and performs some sanity checks

Re: [Tinycc-devel] i just can't get over how farging fast tcc is...

2011-02-02 Thread Stanley Steel
For the curious: I have been compiling several of my projects with both tcc and gcc for awhile now. Specifically, I've been compiling an ANTLR C project that consist of about 60,000 lines of ANLTR generated code that translates another language to C. As you would expect, the compilation with tcc

Re: [Tinycc-devel] i just can't get over how farging fast tcc is...

2011-02-02 Thread Thomas Preud'homme
Le mercredi 02 février 2011 03:35:16, Rick Hodgin a écrit : > Stephan, > > Bear in mind that while the compile time is fast, and the executable code > is small and tight, the execution times may still be notably slower as > there aren't optimizations like gcc has. Except that optimization was turn

Re: [Tinycc-devel] i just can't get over how farging fast tcc is...

2011-02-02 Thread Gary Birkett
On Wed, Feb 2, 2011 at 3:20 AM, Stephan Beal wrote: > On Wed, Feb 2, 2011 at 4:09 AM, Gary Birkett wrote: > >> :) >> >> >> Why not test it? :) >> > > The milliseconds won't matter for what i'm doing - the database access > times swamp any overhead introduced by a non-optimizing compiler. > > :)