tinycc/tests
Milutin Jovanovic de54586d5b Further changes improving the OSX build. Everything builds. libtest passes.
Other tests still have issues, currently with weak linking.

One of the primary stumbling blocks on OSX is the lack of support for
mach-o binaries. Therefore all tcc usage on OSX has to be limited to elf
binaries, presumably produced by tcc itself.

Therefore I had to enable building of tiny_libmaker for OSX. Then changed
the make to use tcc and tiny_libmaker to compile the tcclib1.

In order to compile the tests, specifically the parts that use weak linking,
I have had to define MACOSX_DEPLOYMENT_TARGET to 10.2, which seems like a
hack, but extensive searching seems to indicate that this is the only way
to make apple gcc allow weak linking. Using any other value, bigger or smaller
breaks weak linking.

Also added _ANSI_SOURCE define required by some OSX headers, and some cosmetic
gitignore changes. I believe these changes should not impact other platforms.
2012-03-06 13:26:36 -05:00
..
asmtest.S i386-asm: support "pause" opcode 2011-02-24 09:38:13 -08:00
boundtest.c x86-64: chkstk, alloca 2009-07-18 22:06:54 +02:00
gcctestsuite.sh Fix bashims in configure and gcctestsuite.sh. 2010-05-26 14:08:29 +02:00
libtcc_test.c tcc_relocate: revert to 0.9.24 behavior 2009-12-19 22:16:23 +01:00
Makefile Further changes improving the OSX build. Everything builds. libtest passes. 2012-03-06 13:26:36 -05:00
tcctest.c tcctest: switch weak_toolate proto with impl 2011-08-06 16:11:57 +02:00