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 17:51:47 -0400

Hey Thomas!
Thanks for the quick response!

> Can you copy the result of uname -m please?

$ uname -m
i386

I tried config/make again with your suggestion, it still gave the same error. Here is the terminal session, perhaps I am doing something silly:

$ ./configure i386
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
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

Sorry I can't be more helpful, compiled languages have never been my strong suit :-p

Thanks for your help!
- Aaron

---
Aaron Gough
Web Developer

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

reply via email to

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