On Monday 10 March 2008 13:11:32 grischka wrote:
Well, then maybe OS X uses a different object format and TCC
needs a new linker backend in order to work with it.
Yes, it's called mach-o, it's got four interesting flavors (x86, x86-64 for
Leopard, PPC-32, and arm for the iPhone), and it's been
From: Alexander Gladysh:
That helped, thank you. Next error:
$ make test
. . .
./tcctest.ref test.ref
./tcc -B. -I. -run tcctest.c test.out
./libtcc1.a: invalid object file
tcc: undefined symbol '__tcc_int_fpu_control'
tcc: undefined symbol '__tcc_fpu_control'
tcc: undefined symbol
On Sat, Mar 8, 2008 at 11:52 PM, grischka [EMAIL PROTECTED] wrote:
Here are the file that I propose for release:
Source code:
http://www.2shared.com/file/2958180/5f373866/tcc-0924tar.html
FWIW (x86_64 is not supported, but) you can actually compile and
use this in 64 bit FC easily enough:
Hi!
Source code:
http://www.2shared.com/file/2958180/5f373866/tcc-0924tar.html
I'm trying to build it under OS X (10.5.2 Leopard). Is it supported at all BTW?
Got output as follows:
$ ./configure
Binary directory /usr/local/bin
TinyCC directory/usr/local/lib/tcc
Library directory
From: Alexander Gladysh:
I'm trying to build it under OS X (10.5.2 Leopard). Is it supported at all
BTW?
Appearently not, but if you can make it work ...
...
Got output as follows:
$ make
gcc -O2 -g -Wall -mpreferred-stack-boundary=2 -march=i386
-falign-functions=0 -fno-strict-aliasing
I made it compile with help of Google (so, that's pretty much a
Cargo-cult programming).
However make test segfaults. See logs below. Would try do disable the
feature as you've suggested.
I disabled feature, but tests segfault as well. Stacktrace is identical.
Alexander.
Patch:
diff
On Sa, 2008-03-08 at 22:52 +0100, grischka wrote:
Here are the file that I propose for release:
I did not test the files yet, but I think that a regular release is much
better.
IMHO, the new tools should be usable in both environments
(win32 and unix) to allow tcc as drop-in for gcc and mingw.
On So, 2008-03-09 at 21:26 +0300, Alexander Gladysh wrote:
-#if !defined(__FreeBSD__) !defined(__DragonFly__) !
defined(__OpenBSD__)
+#if !defined(__FreeBSD__) !defined(__DragonFly__) \
+ !defined(__OpenBSD__) !defined(__APPLE__)
#include malloc.h
#endif
We really should test such
Here are the file that I propose for release:
Source code:
http://www.2shared.com/file/2958180/5f373866/tcc-0924tar.html
Windows binaries:
http://www.2shared.com/file/2958159/9345fe8f/tcc-0924-win32-bin.html
If it's all well I'll mail Fabrice to put them on his website in a
week or so.
---