mirror of
https://github.com/mirror/tinycc.git
synced 2024-12-28 04:00:06 +08:00
de54586d5b
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.
49 lines
437 B
Plaintext
49 lines
437 B
Plaintext
*.o
|
|
*.a
|
|
tcc_g
|
|
tcc
|
|
tc2.c
|
|
doc
|
|
tc3s.c
|
|
p3.c
|
|
tc1.c
|
|
error.c
|
|
i386-gen1.c
|
|
test.out2
|
|
test.out3
|
|
web.sh
|
|
memdebug.c
|
|
bench
|
|
Makefile.uClibc
|
|
boundtest
|
|
prog.ref
|
|
test.ref
|
|
test.out
|
|
tcc-doc.html
|
|
ideas
|
|
tcctest.ref
|
|
linux.tcc
|
|
ldtest
|
|
libtcc_test
|
|
instr.S
|
|
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
|
|
tags
|
|
.DS_Store
|
|
*.swp
|
|
lib/x86_64
|
|
tcc-doc.info
|
|
conftest*
|
|
tiny_libmaker
|
|
*.dSYM
|