tinycc-devel
[Top][All Lists]
Advanced

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

[Tinycc-devel] using pcc to build tcc


From: Sergey Korshunoff
Subject: [Tinycc-devel] using pcc to build tcc
Date: Fri, 15 Apr 2016 07:49:10 +0300

Hi
./configure --cc=pcc
make
pcc -o i386-tcc tcc.c -DONE_SOURCE -DTCC_TARGET_I386 -I.  -Wall -g -O0 -lm -ldl
/tmp/ctm.Uao6qA: In function `set_pages_executable':
tccrun.c:238: undefined reference to `__clear_cache'
error: ld terminated with status 1

But it is OK if we add lib/libtcc1.c
A fast patch attached. Please test/improve

Attachment: 02-pcc.patch
Description: Binary data


reply via email to

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