[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Tinycc-devel] tinycc on Mac
From: |
Francesco Turci |
Subject: |
[Tinycc-devel] tinycc on Mac |
Date: |
Sat, 16 May 2009 09:41:17 +0200 |
Hello,
i'm a mac user and 'i'm really looking forward to use the library
cinpy on my mac, in order to mix python and c code. To do so, i have
to install the tiny c compiler. I downloaded the sources and made the
following steps:
./configure
and i obtained the good output:
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
Source path /Users/Franci/Downloads/tcc-0.9.24
C compiler gcc
make make
CPU x86
Big Endian no
gprof enabled no
cross compilers no
Creating config.mak and config.h
config.h is unchanged
then i made
make
but i got this errors:
gcc -O2 -g -Wall -mpreferred-stack-boundary=2 -march=i386 -falign-
functions=0 -fno-strict-aliasing -Wno-pointer-sign -Wno-sign-compare -
o tcc tcc.c -lm -ldl
tcc.c: In function ‘rt_get_caller_pc’:
tcc.c:9865: error: request for member ‘gregs’ in something not a
structure or union
tcc.c:9865: error: ‘EIP’ undeclared (first use in this function)
tcc.c:9865: error: (Each undeclared identifier is reported only once
tcc.c:9865: error: for each function it appears in.)
tcc.c:9874: error: request for member ‘gregs’ in something not a
structure or union
tcc.c:9874: error: ‘EBP’ undeclared (first use in this function)
make: *** [tcc] Error 1
What is wrong on my Mac?
Best regards
Francesco Turci
- [Tinycc-devel] tinycc on Mac,
Francesco Turci <=