tinycc/tests
Milutin Jovanovic 8ca8b08890 Patch attempting to build OSX TinyCC.
Applied patch found on stackoverflow (link below). I also found some
related changes that looked like logically needed. The stackoverflow
changes addressed only two registers which were breaking a compile.
However reading the code in the same file shows two other register
accesses that, while not breaking the build, should have the same fix.

http://stackoverflow.com/questions/3712902/problems-compiling-tcc-on-os-x/3713144#3713144

The test driver was changed by changing 'cp -u' into 'cp' as '-u' is not
supported on mac osx.

I found that osx build required the WITHOUT_LIBTCC define. I suspect the
reason for this is tcc unability to handle mach-o files. In order to
properly address this I had to change 'configure' to propagate target os
name to Makefile.

Current state is that simple tests work, but not the whole 'make test'
suite runs.

To the best of my knowledge, these changes should not impact other
platforms.
2012-02-09 12:53:17 -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 Patch attempting to build OSX TinyCC. 2012-02-09 12:53:17 -05:00
tcctest.c tcctest: switch weak_toolate proto with impl 2011-08-06 16:11:57 +02:00