<feed xmlns='http://www.w3.org/2005/Atom'>
<title>tinycc/tcc-doc.texi, 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>Fix some spelling in documentation</title>
<updated>2017-09-25T01:22:42+00:00</updated>
<author>
<name>Larry Doolittle</name>
<email>ldoolitt@recycle.lbl.gov</email>
</author>
<published>2017-09-25T01:22:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.datenwolf.net/tinycc/commit/?id=560188711dc12a9d8b3a437069251096b37b1f82'/>
<id>560188711dc12a9d8b3a437069251096b37b1f82</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</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>-Wl, --enable-new-dtags for DT_RUNPATH instead of DT_RPATH</title>
<updated>2017-02-18T08:54:41+00:00</updated>
<author>
<name>Steffen Nurpmeso</name>
<email>steffen@sdaoden.eu</email>
</author>
<published>2017-02-16T14:49:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.datenwolf.net/tinycc/commit/?id=f34b1feaca557cd9da198610b67d4328fb0c7a84'/>
<id>f34b1feaca557cd9da198610b67d4328fb0c7a84</id>
<content type='text'>
Today by accident i had to deal with linker problems of some
software and found an issue that mentioned DT_RUNPATH, which
mentioned that DT_RPATH is legacy and searched for
$LD_LIBRARY_PATH, whereas the newer DT_RUNPATH is searched
thereafter.  Completely unencrypted!  Well.  For what's it worth,
i for one am astonished because of course i want to override
$LD_LIBRARY_PATH, but it surely has its merites, smart people came
to the conclusion, did they.

The attached diff below seems to be sufficient to support
DT_RUNPATH instead of DT_RPATH with tcc(1).  But i have no insight
in what --enable-new-dtags is supposed to change in addition, so
i wonder.

Ciao!

--steffen

 libtcc.c     | 2 ++
 tcc-doc.texi | 4 ++++
 tcc.h        | 1 +
 tccelf.c     | 3 ++-
 4 files changed, 9 insertions(+), 1 deletion(-)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Today by accident i had to deal with linker problems of some
software and found an issue that mentioned DT_RUNPATH, which
mentioned that DT_RPATH is legacy and searched for
$LD_LIBRARY_PATH, whereas the newer DT_RUNPATH is searched
thereafter.  Completely unencrypted!  Well.  For what's it worth,
i for one am astonished because of course i want to override
$LD_LIBRARY_PATH, but it surely has its merites, smart people came
to the conclusion, did they.

The attached diff below seems to be sufficient to support
DT_RUNPATH instead of DT_RPATH with tcc(1).  But i have no insight
in what --enable-new-dtags is supposed to change in addition, so
i wonder.

Ciao!

--steffen

 libtcc.c     | 2 ++
 tcc-doc.texi | 4 ++++
 tcc.h        | 1 +
 tccelf.c     | 3 ++-
 4 files changed, 9 insertions(+), 1 deletion(-)
</pre>
</div>
</content>
</entry>
<entry>
<title>updates &amp; cleanups (tcc-doc/Changelog/TODO ...)</title>
<updated>2017-02-13T18:03:29+00:00</updated>
<author>
<name>grischka</name>
<email>grischka</email>
</author>
<published>2017-02-13T18:03:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.datenwolf.net/tinycc/commit/?id=43d9a7de9b83f437d55c2cbc6e9625e3fafa5102'/>
<id>43d9a7de9b83f437d55c2cbc6e9625e3fafa5102</id>
<content type='text'>
- tcc-doc.texi: commandline option info update
- Changelog/TODO: update
- tests/tcctest.py: removed
- tests/Makefile: weaktest fixed
- tests/tests2: some files renamed and/or converted to unix LF
- configure/Makefile: --enable-static option (no dll on win32)
- win32/build-tcc.bat: msvc support
- win32/tcc-win32.txt: build info update
- win32/vs2015/: VS solution removed
- win32/include/tcc/tcc_libm.h: #include statement fixed
- tcc.c: -include &lt;file&gt; option help info
- .gitignore: cleanup
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- tcc-doc.texi: commandline option info update
- Changelog/TODO: update
- tests/tcctest.py: removed
- tests/Makefile: weaktest fixed
- tests/tests2: some files renamed and/or converted to unix LF
- configure/Makefile: --enable-static option (no dll on win32)
- win32/build-tcc.bat: msvc support
- win32/tcc-win32.txt: build info update
- win32/vs2015/: VS solution removed
- win32/include/tcc/tcc_libm.h: #include statement fixed
- tcc.c: -include &lt;file&gt; option help info
- .gitignore: cleanup
</pre>
</div>
</content>
</entry>
<entry>
<title>Implement gcc bitfield algorithm; add -mms-bitfields</title>
<updated>2016-11-28T14:01:12+00:00</updated>
<author>
<name>David Mertens</name>
<email>dcmertens.perl@gmail.com</email>
</author>
<published>2016-11-22T21:33:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.datenwolf.net/tinycc/commit/?id=d2e2f423820ca00c1f1d56fadd744a7e1d345955'/>
<id>d2e2f423820ca00c1f1d56fadd744a7e1d345955</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Minor grammar fixes to docs</title>
<updated>2016-11-28T13:59:53+00:00</updated>
<author>
<name>David Mertens</name>
<email>dcmertens.perl@gmail.com</email>
</author>
<published>2016-11-22T20:56:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.datenwolf.net/tinycc/commit/?id=3c68a8c6c04e1a527e2d80f2586cb2df96f862c6'/>
<id>3c68a8c6c04e1a527e2d80f2586cb2df96f862c6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "-fnormalize-inc-dirs"</title>
<updated>2016-10-01T19:57:22+00:00</updated>
<author>
<name>grischka</name>
<email>grischka</email>
</author>
<published>2016-10-01T19:57:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.datenwolf.net/tinycc/commit/?id=c5b9ae4e3f5f4037fc3816bcbcec60982734196b'/>
<id>c5b9ae4e3f5f4037fc3816bcbcec60982734196b</id>
<content type='text'>
Too much code. gcc 3.x doesn't have that either.

This reverts commit 41785a0bf9d505a3647a10ddc330417f52fd4528.
This reverts commit 21665f433890e2038626f0b3123b189a62a67dc9.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Too much code. gcc 3.x doesn't have that either.

This reverts commit 41785a0bf9d505a3647a10ddc330417f52fd4528.
This reverts commit 21665f433890e2038626f0b3123b189a62a67dc9.
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "--whole-archive support"</title>
<updated>2016-10-01T17:56:25+00:00</updated>
<author>
<name>grischka</name>
<email>grischka</email>
</author>
<published>2016-10-01T17:56:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.datenwolf.net/tinycc/commit/?id=cf32bb8812583583f526ee0faf8c8f7d7799210c'/>
<id>cf32bb8812583583f526ee0faf8c8f7d7799210c</id>
<content type='text'>
- would parse linker args in two different places
- would mess up "tcc -v ..." output:
  	tcc -v test.c
  	-&gt; test.c
  	+&gt; test.c
- would use function "tcc_load_alacarte()" to do the contrary of
  what its name suggests.

This reverts commit 19a169ceb896f78205bc23b847938c58f14d1dda.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- would parse linker args in two different places
- would mess up "tcc -v ..." output:
  	tcc -v test.c
  	-&gt; test.c
  	+&gt; test.c
- would use function "tcc_load_alacarte()" to do the contrary of
  what its name suggests.

This reverts commit 19a169ceb896f78205bc23b847938c58f14d1dda.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix typo in -Wl,-rpath documentation</title>
<updated>2016-07-05T13:48:31+00:00</updated>
<author>
<name>Vincent Lefevre</name>
<email>vincent@vinc17.net</email>
</author>
<published>2016-07-05T13:48:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.datenwolf.net/tinycc/commit/?id=03609051249a06b458b183596d28b1b883189fc2'/>
<id>03609051249a06b458b183596d28b1b883189fc2</id>
<content type='text'>
Signed-off-by: Vincent Lefevre &lt;vincent@vinc17.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Vincent Lefevre &lt;vincent@vinc17.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>--whole-archive support</title>
<updated>2016-05-20T12:12:32+00:00</updated>
<author>
<name>seyko</name>
<email>seyko2@gmail.com</email>
</author>
<published>2016-05-20T12:12:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.datenwolf.net/tinycc/commit/?id=19a169ceb896f78205bc23b847938c58f14d1dda'/>
<id>19a169ceb896f78205bc23b847938c58f14d1dda</id>
<content type='text'>
    A patch is implemented as suggested in tinycc-devel mail list.

    From: Reuben Thomas
    Date: Thu, 31 Jul 2014 16:52:53 +0100
    Subject: [PATCH] Add --{no,}-whole-archive support

    I resurrected the patch supplied to the mailing list in 2009
    Since --whole-archive is a useful flag to get tcc working with
    autotools, and of course in its own right, I suggest you have a look
    at the patch and see if it is acceptable. I cannot see any suggestion
    that it was actively rejected last time round, just no evidence that
    it was ever added.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
    A patch is implemented as suggested in tinycc-devel mail list.

    From: Reuben Thomas
    Date: Thu, 31 Jul 2014 16:52:53 +0100
    Subject: [PATCH] Add --{no,}-whole-archive support

    I resurrected the patch supplied to the mailing list in 2009
    Since --whole-archive is a useful flag to get tcc working with
    autotools, and of course in its own right, I suggest you have a look
    at the patch and see if it is acceptable. I cannot see any suggestion
    that it was actively rejected last time round, just no evidence that
    it was ever added.
</pre>
</div>
</content>
</entry>
</feed>
