View Single Post
Old 08-15-2012, 09:42 AM   #8
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773670
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
While looking for the post I found before, where Rob Landley discussed creating a native tcc for ARM by compiling it on x86 gcc with ARM code generation, then using that to compile on the ARM target with ARM code generation to create a true native ARM tcc compiler. Although he did not name that process, it is identical to the definition of a "Canadian Cross".

Although I did not find the post I was looking for, I found Rob's new announcement that he plans to create "qcc" which merges QEMU code generation with his fork of "tcc" and Febrice Belard's original "tcc": http://www.landley.net/code/tinycc/

That looks useful if and when it becomes available.

Merging QEMU code generation and the tcc forks is just too cool. And the best part is that Febrice Bellard gave permission to change his code from LGPL to BSD license when included in the new qcc project.

EDIT: The page linked above includes this "and -run doesn't work on a 64 bit host kernel if it's producing 32 bit code", which probably explains why "tcc -run" does not work on my 64-bit linux.

Last edited by geekmaster; 08-15-2012 at 10:43 AM.
geekmaster is offline   Reply With Quote