Re: [Tinycc-devel] TinyCC for bootstrapping (with patches)

2019-01-13 Thread Daniel Glöckner
On Sun, Jan 13, 2019 at 05:02:38PM +0100, Giovanni Mascellani wrote: > 2) I patched TinyCC so that it can be built by a compiler that does not > support floating point numbers (as is the case for the C compiler in > asmc that builds TinyCC). Basically I import in the TinyCC repository > the code

Re: [Tinycc-devel] x86_64 static link fix

2019-01-13 Thread Kurt Nalty
Michael Matz's changes to TCC fixing x86_64 static linking work well with both musl and uClibc-0.9.30. After simple initial hello.c, I then recompiled tcc using tcc in the environments with no problems or complaints. Thank-you to Michael Matz! ___

Re: [Tinycc-devel] Missing C99 standard headers in win32

2019-01-13 Thread Christian Jullien
No I’m not. ISO C99 tells us that those header are mandatory. I would not say that VC++ is ISO compliant. Fortunately, contains on defines so it’s safe to add this include to make tcc a better ISO C99 as it claims to be. From: Tinycc-devel

[Tinycc-devel] TinyCC for bootstrapping (with patches)

2019-01-13 Thread Giovanni Mascellani
Dear TinyCC devs, I am using TinyCC as a component of my asmc project[1], whose main aim is to develop a bootstrapping operating system. Basically of this OS is that at boot time there is only a minimal amount of compiled binary code (called the "seed", currently around 15 KB for asmc). All the

Re: [Tinycc-devel] MacOS anyone?

2019-01-13 Thread NightStrike
On Sun, Jan 13, 2019, 9:14 AM Yakov What's the current state of affairs with tcc on mac? I can't either find > the working compiler nor the explanation on why it is not found. There must > be something to proprietary binary format prolly. Please share if you know > anything. > The problem on mac

Re: [Tinycc-devel] Missing C99 standard headers in win32

2019-01-13 Thread NightStrike
Are you using the mingw-w64 runtime? We provide c99 support through an extra library. MS does not. On Sun, Jan 13, 2019, 4:26 AM Christian Jullien ISO/IEC 9899 :1999 (E) specifies that (Section 7.1.2 p. 165), Standard > headers are: > > > > > > > > > > > > > > > > > > > > > > > > > >

[Tinycc-devel] MacOS anyone?

2019-01-13 Thread Yakov
What's the current state of affairs with tcc on mac? I can't either find the working compiler nor the explanation on why it is not found. There must be something to proprietary binary format prolly. Please share if you know anything. ___ Tinycc-devel

[Tinycc-devel] Missing C99 standard headers in win32

2019-01-13 Thread Christian Jullien
ISO/IEC 9899 :1999 (E) specifies that (Section 7.1.2 p. 165), Standard headers are: Those already in win32 lack complex (and imaginary) support restricted character set support via digraphs type-generic math macros To make tcc a