anyone interested in helping fixing the 'tcc' compiler ?

Luigi Rizzo rizzo at iet.unipi.it
Sun Nov 22 11:27:49 UTC 2009


Hi,
I have recently started playing with the Tiny C Compuler (lang/tcc)
which is amazingly useful for prototyping, but has problem generating
non-static binaries in FreeBSD -- basically it produces a bogus
elf file which our loader does not like.
Static binaries work fine, as well as 'tcc -run ' (compile
and run on the fly -- you should really try it if you haven't yet).

There is an open PR on this

http://www.freebsd.org/cgi/query-pr.cgi?pr=138481

and the problem is known upstream but no fix

http://lists.gnu.org/archive/html/tinycc-devel/2005-07/msg00070.html

However, from the description it does not seem a horribly
hard problem. Perhaps someone with a bit of knowledge on
how our ld-elf.so works should not have a hard time pinpointing
the problem so that other people can fix it ?

Any takers ?

cheers
luigi


More information about the freebsd-arch mailing list