Hi Christian,
This is not a problem on my system.
As you can see Mac OS version is not as complete as for other platforms, mostly because tinycc does not support mach-o binaries yet. For this reason, a bunch of tests is being skipped. in tests/Makefile you can see:
ifeq ($(TARGETOS),Darwin)
TESTS := $(filter-out hello test3 btest,$(TESTS))
endif
So, hello test should not be running on your system. Can you check config.mak. It should have a line:
TARGETOS=Darwin
Also running 'uname -s' should yield 'Darwin'. Check into this and then we'll see what the next step is.
Miki.
On 6 February 2013 01:41, Christian Jullien <
address@hidden> wrote:
I continue to test mod before 9.26
I only have access on Snow Leopard on which mod produces this error.
Any MacOS enthusiasts to investigate? Maybe because MacOS does not support static compilation.
uname -a
Darwin macos.local 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun 7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386 i386
bash-3.2$
macos:tinycc jullien$ make test
make -C tests test
------------ hello ------------
../tcc -B.. ../examples/ex1.c -o hello && ./hello
/usr/lib/crt1.o:1: error: unrecognized file type
tcc: error: file 'crt1.o' not found
tcc: error: file 'crti.o' not found
In file included from ../examples/ex1.c:2:
In file included from ../include/tcclib.h:11:
/usr/include/stdarg.h:8: error: #error "This header only supports __MWERKS__."
make[1]: *** [hello] Error 1
make: *** [test] Error 2
_______________________________________________
Tinycc-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/tinycc-devel
_______________________________________________
Tinycc-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/tinycc-devel