tinycc-devel
[Top][All Lists]
Advanced

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

[Tinycc-devel] TCC on OS X


From: Aaron Gough
Subject: [Tinycc-devel] TCC on OS X
Date: Tue, 14 Sep 2010 17:29:07 -0400

Hey All,
I'm having some issues building TCC on OS X 10.6.4
./configure runs fine, but make returns the following error:

$ 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
tcc.c:1: error: CPU you selected does not support x86-64 instruction set
tcc.c:1: error: CPU you selected does not support x86-64 instruction set
tcc.c:1: error: -mpreferred-stack-boundary=2 is not between 4 and 12
make: *** [tcc] Error 1

Does anyone have any suggestions for fixing this? I am going to try compiling TCC on OS X 10.5 later tonight to see if that makes a difference. 

In case this is pertinent: the main reason I am installing TCC is to get libtcc so I can experiment with dynamic code generation via Ruby...

Thanks in advance.
- Aaron

---
Aaron Gough
Web Developer

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

reply via email to

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