Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Nov 2009 12:17:32 +0100
From:      Luigi Rizzo <rizzo@iet.unipi.it>
To:        arch@freebsd.org
Subject:   anyone interested in helping fixing the 'tcc' compiler ?
Message-ID:  <20091122111732.GA45909@onelab2.iet.unipi.it>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091122111732.GA45909>