Commit Graph

60 Commits

Author SHA1 Message Date
15e0dc08a6 Allow to use libgcc instead of libtcc1
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
2008-09-12 22:22:58 +02:00
256f6e6200 A prefix for default library/include search paths
This patch is useful for cross compilers. Without this patch tcc
tries to use the host's libraries, crt*.o and include files.
The patch prepends a string to all default paths. The string can
be passed to configure with --sysroot=string.

  Daniel
2008-09-12 22:22:58 +02:00
2eaa1104f7 Checkin tiny_libmaker (ar replacement) by Timovj Lahde 2008-03-08 19:55:47 +00:00
6c96c41ee4 Import changesets (part 4) 428,457,460,467: defines for openbsd etc. 2007-12-16 18:24:44 +00:00
7097268ac5 fixed help 2006-10-28 19:46:55 +00:00
acc4f88e6d build of cross compilers is optional - added tccdir path 2005-04-14 23:51:24 +00:00
aa7ef7919e copy paste abuse 2004-10-08 22:02:01 +00:00
13affef3f1 win32 configure 2004-10-07 21:11:43 +00:00
fe7bcdef6b added config.texi 2003-04-13 21:55:37 +00:00
dd56ab8c77 added configure support 2003-04-13 19:50:35 +00:00