aboutsummaryrefslogtreecommitdiff
path: root/examples
Commit message (Collapse)AuthorAgeFilesLines
* makefile: unify cross with native buildsgrischka2017-02-251-2/+1
| | | | | | | | | | | | | supports building cross compilers on the fly without need for configure --enable-cross $ make cross # all compilers $ make cross-TARGET # only TARGET-compiler & its libtcc1.a with TARGET one from i386 x86_64 i386-win32 x86_64-win32 arm arm64 arm-wince c67 Type 'make help' for more information
* Revert "Make ex1.c and ex4.c be executable on any systems"grischka2012-06-122-2/+2
| | | | | | | | Using /usr/bin/env tcc doesn't work as it was reported. Revert to using the full path which fails if the user installs tcc in non-default location. Then again this is just an example. This reverts commit 27a428cd0fae475d7377e1dbe218c064ee217d85.
* Make ex1.c and ex4.c be executable on any systemsThomas Preud'homme2011-07-072-2/+2
| | | | | Use /usr/bin/env to make ex1.c and ex4.c on any systems, wherever is installed tcc.
* Revert "Make examples' shebang use target tcc bindir path"Thomas Preud'homme2011-07-072-2/+2
| | | | This reverts commit cb2138f8b098feb1b51a407343a4b99e25d5b506.
* Make examples' shebang use target tcc bindir pathThomas Preud'homme2011-06-182-2/+2
| | | | | | Use @BINDIR@ in shebang of examples to put the right path on the target system. That is, use #!/usr/local/bin/tcc if tcc is installed in /usr/local/bin and #!/usr/bin/tcc if tcc is installed in /usr/bin/tcc.
* Avoid crash with "Avoid a crash with weak symbols for "make test""grischka2010-06-302-17/+0
| | | | | | | This fixes commit 197a6acb30940068d1dc3d0fa53c9f0863309885 which fixed commit 95b9a477b6743004e0e9bf728b25bf63d2908777 Also remove useless example files
* weak function symbolsManuel Simoni2010-02-272-0/+17
|
* fix makefiles etc for subdirsgrischka2009-04-185-13/+16
|
* moved examplesbellard2005-04-145-0/+161