aboutsummaryrefslogtreecommitdiff
path: root/configure
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Add a --multiarch-triplet switch to configure"Thomas Preud'homme2011-08-031-124/+35
| | | | This reverts commit 76adc5770f4ab5b1aaa2e5dde6104efc06431fe2.
* Add a --multiarch-triplet switch to configureThomas Preud'homme2011-08-021-35/+124
| | | | | | | | | | | | | Add a --multiarch-triplet switch to configure. The switch will allow files to be search for each default path in path/<triplet> and then path. Default paths handled that way: - CONFIG_TCC_SYSINCLUDE_PATHS - CONFIG_TCC_LIBPATH - path to crt*.o - path to libgcc_s.so.1 Path missing: elf interpreter path (will be handled in another commit)
* allow defining sysroot at compile-timeJoe Soroka2011-07-111-0/+2
|
* Remove useless changes from 31ca000d in configureThomas Preud'homme2011-07-071-31/+15
| | | | | After commit 4d6a4a26e08ef8581c70d29f578a42ab7d738c2d, the changes in configure are no longer needed.
* Fix commit 31ca000dThomas Preud'homme2011-07-051-3/+7
| | | | | * CONFIG_TCC_*LDDIR should not be exported if no --*lddir option is used. * Don't write a : at the beginning of extralddir
* Add multiarch dirs to linker search pathThomas Preud'homme2011-07-051-15/+27
| | | | | | | | | | | By default, tcc search libraries in /lib and /usr/local/lib while crt*.o files are searched in /usr/lib and ld.so is searched in /lib. Unfortunetely the path are hardcoded in source code. This patch allow tcc to look in an other directory and also to look in extra directories. It's then possible to make tcc search libraries in /lib/x86_64-linux-gnu and /usr/local/lib/x86_64-linux-gnu while crt*.o files are searched in /usr/lib/x86_64-linux-gnu and ld.so is searched in /lib/x86_64-linux-gnu.
* Default to create progs with symbols (incl. debug)Thomas Preud'homme2011-06-171-1/+7
| | | | | | | * Set CFLAGS entirely in configure if not already set. * Compile bcheck.c with the same flags as the other source files * Don't strip binaries by default (GB are cheap now) but provide a --strip-binaries option in configure script.
* Support scratchbox, Nokia N900 and qemu arm archsThomas Preud'homme2011-05-161-1/+1
| | | | Add arm, armv5tejl and armv7l to the list of supported arm architectures
* configure: --sharedir defaults to /usr/local/shareHenry Kroll III2010-12-231-2/+2
|
* configure: --sharedir documentation rootHenry Kroll III2010-12-221-25/+41
|
* configure: add --disable-rpath option (Fedora)Henry Kroll III2010-12-201-0/+6
|
* configure: improvements to option --tccdirHenry Kroll III2010-12-201-5/+8
|
* make: new lib/Makefile for libtcc1.a on more platformsgrischka2010-12-041-0/+2
| | | | | | win32/64 cross-compilers now build libtcc1.a and install it together with the windows headers in a 'win32' sub-directory of TCCDIR.
* make cross compilers an expert option in configure --helpHenry Kroll III2010-12-021-2/+3
|
* Add --enable-cygwin option to build on windows with cygwin+mingw32Henry Kroll III2010-12-021-1/+11
|
* split cross libtcc1.a to separate directoriesHenry Kroll III2010-12-021-3/+6
|
* configure: allow changing installation directoryHenry Kroll III2010-11-281-0/+3
|
* info doc: fix --infodir to respect DESTDIR for 'make install'Sergei Trofimovich2010-09-211-1/+1
| | | | | | | | | | | | | | | | | | | | | info files are introduced by commit 3f829d11ff231980383c384df2ae38e369cd8079 This patch helps packagers to avoid problems when install to $DESTDIR >>> Starting src_install make -j3 bindir=/tmp/paludis/dev-lang-tcc-9999/image//usr/bin libdir=/tmp/paludis/dev-lang-tcc-9999/image//usr/lib tccdir=/tmp/paludis/dev-lang-tcc-9999/image//usr/lib/tcc includedir=/tmp/paludis/dev-lang-tcc-9999/image//usr/include docdir=/tmp/paludis/dev-lang-tcc-9999/image//usr/share/doc/tcc-9999 mandir=/tmp/paludis/dev-lang-tcc-9999/image//usr/share/man install mkdir -p "/tmp/paludis/dev-lang-tcc-9999/image//usr/bin" install -m755 tcc "/tmp/paludis/dev-lang-tcc-9999/image//usr/bin" mkdir -p "/tmp/paludis/dev-lang-tcc-9999/image//usr/share/man/man1" install tcc.1 "/tmp/paludis/dev-lang-tcc-9999/image//usr/share/man/man1" mkdir -p /usr/share/info install tcc-doc.info "/usr/share/info" ACCESS DENIED open_wr: /usr/share/info/tcc-doc.info install: cannot create regular file `/usr/share/info/tcc-doc.info': Permission denied make: *** [install] Error 1 /usr/libexec/paludis/utils/emake: emake returned error 2 Signed-off-by: Sergei Trofimovich <st@anti-virus.by>
* Add info file creation into tcc build processThomas Preud'homme2010-09-101-0/+9
| | | | Add info file creation in tcc Makefile
* Add support for GNU/HurdThomas Preud'homme2010-09-101-1/+1
| | | | | + Add i686-AT386 to the list of x86 platform + Define SA_SIGINFO is not defined
* Revert "Use mktemp to generate temp files."Thomas Preud'homme2010-06-231-1/+2
| | | | | Doesn't seem to work on windows This reverts commit 27988c5e6648810db2074a2e80edaf74678e9977.
* Use mktemp to generate temp files.Thomas Preud'homme2010-06-221-2/+1
| | | | | Fix the $RANDOM bashism properly by using mktemp. mktemp is part of MSYS so this should work on UNIXes and Windows
* Fix "Fix bashims in configure ..." for MSYSgrischka2010-06-151-17/+9
| | | | Fixes commit dc265feb63c70a1a76fb566a6c05fe62246b65a0
* Fix bashims in configure and gcctestsuite.sh.Thomas Preud'homme2010-05-261-5/+15
| | | | | | | | configure and gcctestsuite.sh shell scripts contains bashisms although being bourne shell script. This patch fixes the following bashisms: * Use of $RANDOM variable (replaced by reading in /dev/urandom) * Use == in tests instead of just = * Use $[] for arithmetic computation istead of $(())
* Makefile fixup:Henry Kroll III2010-04-251-0/+1
| | | | | | | | | | | | * additional make target for lib/tcc1.def on non-win32 builds tcc1.def was formerly lib/libtcc1.a but has bee made into its own Makefile target, tcc1.def * use mv instead of cp on config.h this fixes a mistake I made which caused Makefile to rebuild all targets every time * make links from libtcc.so.1.0 to libtcc.so.1 and libtcc.so
* put tcc in /usr/lib64/tcc on distros that have itHenry Kroll III2010-04-241-1/+1
|
* add --disable-static option to build libtcc.so instead of libtcc.aHenry Kroll III2010-04-241-0/+6
| | | | for distros that want static libs
* fix typo in configureHenry Kroll III2010-04-241-1/+2
|
* Use mmap instead of exec mem for Selinux machines. Fixes crash on Fedora.Henry Kroll III2010-04-201-1/+8
|
* Support more arm EABI compatible architecturesThomas Preud'homme2010-04-181-1/+1
| | | | | | | Add support for: - armv5tel - armv6j - armv7a
* Don't prefix $prefix with $(DESTDIR) in configureThomas Preud'homme2010-04-151-1/+1
| | | | | | | Prefixing $prefix with $(DESTDIR) is an error as it could lead for example to mandir being equal to $(DESTDIR)$prefix/man where $prefix itself is equal to $(DESTDIR)/usr/local which make man be equal to $(DESTDIR)$(DESTDIR)/usr/local/man
* improve handling of --helpBernhard Reutner-Fischer2009-12-011-1/+3
| | | | | | Previously ./configure --prefix=/foo --help didn't show the help-text Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* configure: support DESTDIR for RPM packagers etc.grischka2009-07-181-7/+8
| | | | Suggested by Shlomi Fish
* fix makefiles etc for subdirsgrischka2009-04-181-7/+1
|
* Add support of x86-64.Shinichiro Hamaji2008-12-021-0/+6
| | | | | | | | | | | | | | | | | | | | | | Most change was done in #ifdef TCC_TARGET_X86_64. So, nothing should be broken by this change. Summary of current status of x86-64 support: - produces x86-64 object files and executables. - the x86-64 code generator is based on x86's. -- for long long integers, we use 64bit registers instead of tcc's generic implementation. -- for float or double, we use SSE. SSE registers are not utilized well (we only use xmm0 and xmm1). -- for long double, we use x87 FPU. - passes make test. - passes ./libtcc_test. - can compile tcc.c. The compiled tcc can compile tcc.c, too. (there should be some bugs since the binary size of tcc2 and tcc3 is differ where tcc tcc.c -o tcc2 and tcc2 tcc.c -o tcc3) - can compile links browser. It seems working. - not tested well. I tested this work only on my linux box with few programs. - calling convention of long-double-integer or struct is not exactly the same as GCC's x86-64 ABI. - implementation of tcc -run is naive (tcc -run tcctest.c works, but tcc -run tcc.c doesn't work). Relocating 64bit addresses seems to be not as simple as 32bit environments. - shared object support isn't unimplemented - no bounds checker support - some builtin functions such as __divdi3 aren't supported
* Allow to use libgcc instead of libtcc1Daniel Glöckner2008-09-121-0/+9
| | | | | | | | | | | | | | | 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
* A prefix for default library/include search pathsDaniel Glöckner2008-09-121-0/+6
| | | | | | | | | 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
* Checkin tiny_libmaker (ar replacement) by Timovj Lahdegrischka2008-03-081-1/+14
|
* Import changesets (part 4) 428,457,460,467: defines for openbsd etc.grischka2007-12-161-7/+16
|
* fixed helpbellard2006-10-281-1/+1
|
* build of cross compilers is optional - added tccdir pathbellard2005-04-141-1/+16
|
* copy paste abusebellard2004-10-081-1/+1
|
* win32 configurebellard2004-10-071-11/+48
|
* added config.texibellard2003-04-131-6/+4
|
* added configure supportbellard2003-04-131-0/+295