<feed xmlns='http://www.w3.org/2005/Atom'>
<title>tinycc/win32/include/_mingw.h, branch main</title>
<subtitle>Tiny C Compiler by Fabrice Bellard Git mirror of the final release by Bellard, discarding all changes after. The repository at https://repo.or.cz/tinycc.git has become untrustworthy. Also the tcc sources have become tainted with AI slop.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.datenwolf.net/tinycc/'/>
<entry>
<title>final adjustments for release</title>
<updated>2017-04-25T19:01:54+00:00</updated>
<author>
<name>grischka</name>
<email>grischka</email>
</author>
<published>2017-04-25T19:01:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.datenwolf.net/tinycc/commit/?id=7acf9aa86275a24b468786d6ea9f308ae33f011c'/>
<id>7acf9aa86275a24b468786d6ea9f308ae33f011c</id>
<content type='text'>
- configure/Makefiles: minor adjustments

- build-tcc.bat: add -static to gcc options
  (avoids libgcc_s*.dll dependency with some mingw versions)

- tccpe.c/tcctools.c: eliminate MAX_PATH
  (not available for cross compilers)

- tccasm.c: use uint64_t/strtoull in unary()
  (unsigned long sometimes is only uint32_t, as always on windows)

- tccgen.c: Revert (f077d16c) "tccgen: gen_cast: cast FLOAT to DOUBLE"
  Was a rather experimental, tentative commit, not really necessary
  and somewhat ugly too.

- cleanup recent osx support:
  - Makefile/libtcc.c: cleanup copy&amp;paste code
  - tccpp.c: restore deleted function
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- configure/Makefiles: minor adjustments

- build-tcc.bat: add -static to gcc options
  (avoids libgcc_s*.dll dependency with some mingw versions)

- tccpe.c/tcctools.c: eliminate MAX_PATH
  (not available for cross compilers)

- tccasm.c: use uint64_t/strtoull in unary()
  (unsigned long sometimes is only uint32_t, as always on windows)

- tccgen.c: Revert (f077d16c) "tccgen: gen_cast: cast FLOAT to DOUBLE"
  Was a rather experimental, tentative commit, not really necessary
  and somewhat ugly too.

- cleanup recent osx support:
  - Makefile/libtcc.c: cleanup copy&amp;paste code
  - tccpp.c: restore deleted function
</pre>
</div>
</content>
</entry>
<entry>
<title>makefile: unify cross with native builds</title>
<updated>2017-02-25T11:51:04+00:00</updated>
<author>
<name>grischka</name>
<email>grischka</email>
</author>
<published>2017-02-25T11:49:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.datenwolf.net/tinycc/commit/?id=bb93064d7857d887b674999c9b4152b44a628f9a'/>
<id>bb93064d7857d887b674999c9b4152b44a628f9a</id>
<content type='text'>
supports building cross compilers on the fly without need
for configure --enable-cross

   $ make cross          # all compilers
   $ make cross-TARGET   # only TARGET-compiler &amp; its libtcc1.a

with TARGET one from
   i386 x86_64 i386-win32 x86_64-win32 arm arm64 arm-wince c67

Type 'make help' for more information
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
supports building cross compilers on the fly without need
for configure --enable-cross

   $ make cross          # all compilers
   $ make cross-TARGET   # only TARGET-compiler &amp; its libtcc1.a

with TARGET one from
   i386 x86_64 i386-win32 x86_64-win32 arm arm64 arm-wince c67

Type 'make help' for more information
</pre>
</div>
</content>
</entry>
<entry>
<title>tcc: re-enable correct option -r support</title>
<updated>2017-02-20T17:58:08+00:00</updated>
<author>
<name>grischka</name>
<email>grischka</email>
</author>
<published>2017-02-20T17:58:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.datenwolf.net/tinycc/commit/?id=5f33d313c8a2455ff9036cd7f7028339bdbde622'/>
<id>5f33d313c8a2455ff9036cd7f7028339bdbde622</id>
<content type='text'>
Forgot about it.  It allows to compile several
sources (and other .o's) to one single .o file;

    tcc -r -o all.o f1.c f2.c f3.S o4.o ...

Also:
- option -fold-struct-init-code removed, no effect anymore
- (tcc_)set_environment() moved to tcc.c
- win32/lib/(win)crt1 minor fix &amp; add dependency
- debug line output for asm (tcc -c -g xxx.S) enabled
- configure/Makefiles: x86-64 -&gt; x86_64 changes
- README: cleanup
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Forgot about it.  It allows to compile several
sources (and other .o's) to one single .o file;

    tcc -r -o all.o f1.c f2.c f3.S o4.o ...

Also:
- option -fold-struct-init-code removed, no effect anymore
- (tcc_)set_environment() moved to tcc.c
- win32/lib/(win)crt1 minor fix &amp; add dependency
- debug line output for asm (tcc -c -g xxx.S) enabled
- configure/Makefiles: x86-64 -&gt; x86_64 changes
- README: cleanup
</pre>
</div>
</content>
</entry>
<entry>
<title>tccpp_new/delete and other cleanups</title>
<updated>2016-10-17T21:24:01+00:00</updated>
<author>
<name>grischka</name>
<email>grischka</email>
</author>
<published>2016-10-17T21:24:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.datenwolf.net/tinycc/commit/?id=0be098929a062d706057d7beb78666daa52bac49'/>
<id>0be098929a062d706057d7beb78666daa52bac49</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>win32: _mingw.h: add definition for _TRUNCATE from newer _mingw.h</title>
<updated>2016-06-19T11:44:31+00:00</updated>
<author>
<name>Avi Halachmi (:avih)</name>
<email>avihpit@yahoo.com</email>
</author>
<published>2016-06-19T06:49:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.datenwolf.net/tinycc/commit/?id=3f21d810737eeb56a39515c4bc804abb64efe0e0'/>
<id>3f21d810737eeb56a39515c4bc804abb64efe0e0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>tccgen: scopes levels for local symbols (update 1)</title>
<updated>2016-05-05T18:04:00+00:00</updated>
<author>
<name>grischka</name>
<email>grischka</email>
</author>
<published>2016-05-05T18:04:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.datenwolf.net/tinycc/commit/?id=d48662d49650099e5ab9e1fe218311a18c2ff73a'/>
<id>d48662d49650099e5ab9e1fe218311a18c2ff73a</id>
<content type='text'>
Catch top level redeclarations too.

Also fix mistakes in tcctest.c and the tcc sources (win32)
showing up now.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Catch top level redeclarations too.

Also fix mistakes in tcctest.c and the tcc sources (win32)
showing up now.
</pre>
</div>
</content>
</entry>
<entry>
<title>win32: Add missing header files for nginx compilation</title>
<updated>2016-04-13T03:51:59+00:00</updated>
<author>
<name>seyko</name>
<email>seyko2@gmail.com</email>
</author>
<published>2016-04-13T03:51:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.datenwolf.net/tinycc/commit/?id=a1a5c81e6cb0fe212774f85fc348da94435bb277'/>
<id>a1a5c81e6cb0fe212774f85fc348da94435bb277</id>
<content type='text'>
    From: Vlad Vissoultchev
    Date: Tue, 12 Apr 2016 21:02:43 +0300
    Subject: win32: Add missing header files for nginx compilation

    The new ones are hoisted from mingw-w64 as most other headers under
    `win32/include/winapi`
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
    From: Vlad Vissoultchev
    Date: Tue, 12 Apr 2016 21:02:43 +0300
    Subject: win32: Add missing header files for nginx compilation

    The new ones are hoisted from mingw-w64 as most other headers under
    `win32/include/winapi`
</pre>
</div>
</content>
</entry>
<entry>
<title>Move WIN32_LEAN_AND_MEAN to windows.h (silence redeclarations)</title>
<updated>2016-03-13T02:21:23+00:00</updated>
<author>
<name>Vlad Vissoultchev</name>
<email>wqweto@gmail.com</email>
</author>
<published>2016-03-13T02:21:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.datenwolf.net/tinycc/commit/?id=95aac21130eb8cceda58b26275e430caa5cdf940'/>
<id>95aac21130eb8cceda58b26275e430caa5cdf940</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>tcc -vv/--print-search-dirs: print more info</title>
<updated>2013-02-09T23:38:40+00:00</updated>
<author>
<name>grischka</name>
<email>grischka</email>
</author>
<published>2013-02-09T23:38:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.datenwolf.net/tinycc/commit/?id=8042121d74906eacec7add2ddc85270e1db3ca88'/>
<id>8042121d74906eacec7add2ddc85270e1db3ca88</id>
<content type='text'>
tests/Makefile:
- print-search-dirs when 'hello' fails
- split off hello-run

win32/include/_mingw.h:
- fix for compatibility with mingw headers
  (While our headers in win32 are from mingw-64 and don't have
  the problem)

tiny_libmaker:
- don't use "dangerous" mktemp
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
tests/Makefile:
- print-search-dirs when 'hello' fails
- split off hello-run

win32/include/_mingw.h:
- fix for compatibility with mingw headers
  (While our headers in win32 are from mingw-64 and don't have
  the problem)

tiny_libmaker:
- don't use "dangerous" mktemp
</pre>
</div>
</content>
</entry>
<entry>
<title>win32: _mingw.h: do not undef NULL</title>
<updated>2013-01-24T18:49:58+00:00</updated>
<author>
<name>grischka</name>
<email>grischka</email>
</author>
<published>2013-01-24T18:49:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.datenwolf.net/tinycc/commit/?id=b89793d10a8cf1c3fa237d98cf4b656ac5aabf55'/>
<id>b89793d10a8cf1c3fa237d98cf4b656ac5aabf55</id>
<content type='text'>
Not wise if stddef.h was already included. This is related to commit

    3aa26a794e24a298493a2bc9d70fbd9aebf6437a

Instead hack stddef.h to have identical definition and thus
avoid the issue mentionned there.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Not wise if stddef.h was already included. This is related to commit

    3aa26a794e24a298493a2bc9d70fbd9aebf6437a

Instead hack stddef.h to have identical definition and thus
avoid the issue mentionned there.
</pre>
</div>
</content>
</entry>
</feed>
