Tiny CC [Was: svn commit: samba r5437 - in
branches/SAMBA_4_0/source: build/smb_build lib/events
libcli/auth rpc_server rpc_server/samr]
jelmer at vernstok.nl
Fri Feb 18 00:00:09 GMT 2005
On Thu, Feb 17, 2005 at 05:31:57PM -0600, Christopher R. Hertel wrote about 'Tiny CC [Was: svn commit: samba r5437 - in branches/SAMBA_4_0/source: build/smb_build lib/events libcli/auth rpc_server rpc_server/samr]':
> On Thu, Feb 17, 2005 at 11:11:26PM +0000, jelmer at samba.org wrote:
> > Author: jelmer
> > Date: 2005-02-17 23:11:26 +0000 (Thu, 17 Feb 2005)
> > New Revision: 5437
> > Log:
> > Allow Samba4 to be compiled by tcc (www.tinycc.org). It still crashes
> > when linking though.
> Sounds like I need to learn more about tinycc. I'm still puddling with
> Samba4 on the NSLU2...
I'm not sure tcc necessarily produces smaller or faster output then gcc, unless
you want to compile Samba on the NSLU2. The
following features are mentioned on the website:
* SMALL! You can compile and execute C code everywhere, for example
on rescue disks (about 100KB for x86 TCC executable, including C
preprocessor, C compiler, assembler and linker).
* FAST! tcc generates optimized x86 code. No byte code overhead.
Compile, assemble and link several times faster than GCC.
* UNLIMITED! Any C dynamic library can be used directly. TCC is
heading torward full ISOC99 compliance. TCC can of course compile
* SAFE! tcc includes an optional memory and bound checker. Bound
checked code can be mixed freely with standard code.
Tcc is indeed quite fast. I can do a "make clean proto bin/smbd" in
just over one minute (AMD Athlon XP 2000+ machine, plenty of RAM).
What kind of processor does the NSLU2 have?
Btw, the tcc build of Samba4 works now, if you disable kerberos.
Jelmer Vernooij <jelmer at samba.org> - http://jelmer.vernstok.nl/ - ctrlsoft at jabber.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: Digital signature
Url : http://lists.samba.org/archive/samba-technical/attachments/20050218/c193b65b/attachment.bin
More information about the samba-technical