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: Thomas Preud'homme
Subject: Re: [Tinycc-devel] TCC on OS X
Date: Tue, 14 Sep 2010 23:39:06 +0200
User-agent: KMail/1.13.5 (Linux/2.6.32-5-686; KDE/4.4.5; i686; ; )

Le mardi 14 septembre 2010 23:29:07, Aaron Gough a écrit :
> 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
Can you copy the result of uname -m please?
> 
> 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.
Yes, add the result of the command above in the right place of configure.
> 
> 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
By the way, thanks for reporting the issue.

Best regards,

Thomas Preud'homme
> 
> ---
> Aaron Gough
> Web Developer
> 
> +1-647-746-7083
> www.thingsaaronmade.com

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

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