Added ABI compatibility tests with native compiler using libtcc.
commitce5e12c2f950052d8109b6b7a56d900547705c08
authorJames Lyon <jamesly0n@hotmail.com>
Wed, 17 Apr 2013 20:51:51 +0000 (17 21:51 +0100)
committerJames Lyon <jamesly0n@hotmail.com>
Wed, 17 Apr 2013 20:52:44 +0000 (17 21:52 +0100)
tree4fa4a67c8e67aae049c72e7ef60a17509eccabbe
parente31579b0769e1f9c0947d12e83316d1149307b1a
Added ABI compatibility tests with native compiler using libtcc.

Only one test so far, which fails on Windows (with MinGW as the native
compiler - I've tested the MinGW output against MSVC and it appears the
two are compatible).

I've also had to modify tcc.h so that tcc_set_lib_path can point to the
directory containing libtcc1.a on Windows to make the libtcc dependent
tests work. I'm not sure this is the right way to fix this problem.
tcc.h
tests/Makefile
tests/abitest.c [new file with mode: 0644]