tinycc-devel
[Top][All Lists]
Advanced

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

[Tinycc-devel] [PATCH 4/5] Allow to use libgcc instead of libtcc1


From: Daniel Glöckner
Subject: [Tinycc-devel] [PATCH 4/5] Allow to use libgcc instead of libtcc1
Date: Fri, 5 Sep 2008 21:08:37 +0200
User-agent: Mutt/1.4.2.1i

This patch adds a switch --with-libgcc to configure.
When passed it prevents libtcc1.a from being built and links to
/lib/libgcc_s.so.1 instead of PREFIX/lib/tcc/libtcc1.a.

It will work on ARM when using libgcc from GCC >= 4.2.0.
Prior versions don't have the __floatun[sd]i[sdx]f functions.

It won't work on i386 because of two missing symbols emitted when
floats are cast to integers, but users can provide those symbols
(global short constants) in their code if needed.

  Daniel

Attachment: libgcc.patch
Description: Text document

Attachment: pgpqmmZcuTTFU.pgp
Description: PGP signature


reply via email to

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