aboutsummaryrefslogtreecommitdiff
path: root/tcc.h
diff options
context:
space:
mode:
authorJames Lyon <jamesly0n@hotmail.com>2013-04-17 21:51:51 +0100
committerJames Lyon <jamesly0n@hotmail.com>2013-04-17 21:52:44 +0100
commitce5e12c2f950052d8109b6b7a56d900547705c08 (patch)
tree4fa4a67c8e67aae049c72e7ef60a17509eccabbe /tcc.h
parente31579b0769e1f9c0947d12e83316d1149307b1a (diff)
downloadtinycc-ce5e12c2f950052d8109b6b7a56d900547705c08.tar.gz
tinycc-ce5e12c2f950052d8109b6b7a56d900547705c08.tar.bz2
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.
Diffstat (limited to 'tcc.h')
-rw-r--r--tcc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcc.h b/tcc.h
index e94f91f..ef645b1 100644
--- a/tcc.h
+++ b/tcc.h
@@ -191,7 +191,7 @@
/* library search paths */
#ifndef CONFIG_TCC_LIBPATHS
# ifdef TCC_TARGET_PE
-# define CONFIG_TCC_LIBPATHS "{B}/lib"
+# define CONFIG_TCC_LIBPATHS "{B}/lib;{B}"
# else
# define CONFIG_TCC_LIBPATHS \
CONFIG_SYSROOT "/usr/" CONFIG_LDDIR \