aboutsummaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorMilutin Jovanovic <jovanovic.milutin@gmail.com>2012-03-06 13:26:36 -0500
committerMilutin Jovanovic <jovanovic.milutin@gmail.com>2012-03-06 13:26:36 -0500
commitde54586d5b45800e26952ec77b4f51ad4c1e0079 (patch)
treed8025bae00c9248d1d5c76f20df5cce8a3dcfd28 /.gitignore
parentae191c3a619db25e3c9d4b6c89d1a9970563d825 (diff)
downloadtinycc-de54586d5b45800e26952ec77b4f51ad4c1e0079.tar.gz
tinycc-de54586d5b45800e26952ec77b4f51ad4c1e0079.tar.bz2
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.
Diffstat (limited to '.gitignore')
-rw-r--r--.gitignore5
1 files changed, 4 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index 4985f6a..8d0588f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -30,16 +30,19 @@ p.c
p2.c
tcctest[1234]
test[1234].out
+tests/tcclib.h
+tests/tcctest.gcc
.gdb_history
tcc.1
tcc.pod
config.h
config.mak
config.texi
-tests
tags
.DS_Store
*.swp
lib/x86_64
tcc-doc.info
conftest*
+tiny_libmaker
+*.dSYM