[Top][All Lists]

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

[Tinycc-devel] TinyCC on older (x68) Mac does not compile

From: Pedro A ARANDA
Subject: [Tinycc-devel] TinyCC on older (x68) Mac does not compile
Date: Sun, 10 Jun 2012 04:51:10 +0000


I'm trying to compile tinycc on an older Intel Mac. It is detected as x86 by configure. During the build,
when tcc is used to create libtcc.a, it crashes with a segmentation fault:

gcc -o tcc tcc.o libtcc.a -lm -ldl -Wall -g -O2 -fno-strict-aliasing -Wno-pointer-sign -Wno-sign-compare -D_FORTIFY_SOURCE=0 -mpreferred-stack-boundary=2 -march=i386 -falign-functions=0 -m32 
gcc -o tiny_libmaker win32/tools/tiny_libmaker.c -Wall -g -O2 -fno-strict-aliasing -Wno-pointer-sign -Wno-sign-compare -D_FORTIFY_SOURCE=0 -mpreferred-stack-boundary=2 -march=i386 -falign-functions=0 -m32
mkdir -p i386
../tcc -B.. -m32 -D_ANSI_SOURCE -c libtcc1.c -o i386/libtcc1.o -DTCC_TARGET_I386
make[1]: *** [i386/libtcc1.o] Segmentation fault
make: *** [libtcc1.a] Error 2

The uname -a command yields

Darwin Pedro-A-Arandas-mac.local 10.5.0 Darwin Kernel Version 10.5.0: Fri Nov  5 23:20:39 PDT 2010; root:xnu-1504.9.17~1/RELEASE_I386 i386


reply via email to

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