tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tinycc-devel] TCC on OS X


From: Aaron Gough
Subject: Re: [Tinycc-devel] TCC on OS X
Date: Tue, 14 Sep 2010 21:19:19 -0400

Hey Thomas,
So I just tried building TCC on OS X 10.5 which is 32 bit only. I got the same error as the one I got when forcing the 32 bit build on OS X 10.6:

$ ./configure
Binary  directory   /usr/local/bin
TinyCC directory    /usr/local/lib/tcc
Library directory   /usr/local/lib
Include directory   /usr/local/include
Manual directory    /usr/local/man
Doc directory       /usr/local/share/doc/tcc
Target root prefix  
Source path      /Users/aaron/Downloads/tcc-0.9.25
C compiler       gcc
CPU              x86
Big Endian       no
gprof enabled    no
cross compilers  no
use libgcc       no
Creating config.mak and config.h

$ make
gcc -o tcc tcc.c -DTCC_TARGET_I386 -O2 -g -Wall -fno-strict-aliasing -mpreferred-stack-boundary=2 -march=i386 -falign-functions=0 -Wno-pointer-sign -Wno-sign-compare -D_FORTIFY_SOURCE=0 -lm -ldl
In file included from tcc.c:21:
libtcc.c: In function ‘rt_get_caller_pc’:
libtcc.c:1481: error: request for member ‘gregs’ in something not a structure or union
libtcc.c:1481: error: ‘EIP’ undeclared (first use in this function)
libtcc.c:1481: error: (Each undeclared identifier is reported only once
libtcc.c:1481: error: for each function it appears in.)
libtcc.c:1490: error: request for member ‘gregs’ in something not a structure or union
libtcc.c:1490: error: ‘EBP’ undeclared (first use in this function)
make: *** [tcc] Error 1

It looks like there is actually an issue with the system itself when running on OS X.

Do you know if anyone has ever successfully built TCC on OS X?

Thanks!
- Aaron

---
Aaron Gough
Web Developer

+1-647-746-7083
www.thingsaaronmade.com

reply via email to

[Prev in Thread] Current Thread [Next in Thread]