aboutsummaryrefslogtreecommitdiff
path: root/win32
Commit message (Collapse)AuthorAgeFilesLines
...
* Re-enable "Use CString to concat linker options"Gabriel Corneanu2012-04-181-1/+1
| | | | | | | This reverts commit 16202e054f0385499ec16463b87e23c97dc02328. Changed win32 build to use ONE_SOURCE just like libtcc.dll Therefore CString can be used again...
* libtcc: minor adjustmentsgrischka2011-08-111-3/+7
| | | | | | | | | | | | | | | | | - use {B} to substitute tcc_lih_path (instead of \b) - expand CONFIG_TCC_CRTPREFIX in CONFIG_TCC_LIBPATHS which fixes duplicate CONFIG_SYSROOT. - put default CONFIG_SYSROOT ("") into tcc.h - remove hack from commit db6fcce78f4d8ea25036dd6643e9fa83d8e52e5a because $(tccdir)/include is already in sysincludes - configure: error out for unrecognized options. - win32/build-tcc.bat: put libtcc into base dir where it will find lib/include automatically, and build libtcc_test example.
* dll build + small adjustmentsGabriel Corneanu2011-08-101-4/+5
|
* tccpe: cleanup ELFW() macros etc.grischka2011-07-141-1/+11
|
* tccrun: win64: add unwind function table for dynamic codegrischka2011-07-142-8/+2
| | | | | This works only when tcc.exe is compiled using MSC. MinGW does something in the startup code that defeats it.
* make: create native tcc from separate objectsgrischka2011-07-141-2/+2
| | | | | | | | | | | | | | | | | | | | | | | This was already possible using make NOTALLINONE=1 and is now the default. To build as previously from one big source, use make ONE_SOURCE=1 Cross compilers are still build from one source because using separate objects requires separate build directories one per platform which currently is not (yet) supported by the makefile. We could probably use gnu-makeish target variables like $(I386_CROSS): OUTDIR=build/i386 $(X64_CROSS): OUTDIR=build/x86-64 and so on ... Also NEED_FLOAT_TYPES for arm-gen is removed. It was about variables that are referenced from outside (libtcc, tccgen). We could declare them in tcc.h (as with reg_classes) or have them twice in arm-gen.c. I chose option 2.
* win32/include: enable _timezone etc variables.grischka2011-07-113-15/+13
| | | | | | | | | which live in msvcrt.dll and need __declspec(import) which works by now. Also: - _mingw.h: conditionally define WIN32_LEAN_AND_MEAN - malloc.h: don't undef alloca
* tccpe: support leading underscore for symbolsgrischka2011-02-131-0/+2
| | | | | | | | | To make this the default, enable this line in libtcc.c:tcc_new: #if defined(TCC_TARGET_PE) && 0 s->leading_underscore = 1; and then recompile tcc and also libtcc1.a
* tiny_libmaker: strip leading directory to avoid buffer overrungrischka2010-12-041-3/+13
| | | | | | The arhdr.ar_name has 16 bytes. Long object names esp. with leading directory were causing a buffer overrun which was detected by glibc.
* make: new lib/Makefile for libtcc1.a on more platformsgrischka2010-12-041-20/+23
| | | | | | win32/64 cross-compilers now build libtcc1.a and install it together with the windows headers in a 'win32' sub-directory of TCCDIR.
* build: remove #include "config.h" from target dependent filesgrischka2010-11-264-21/+20
| | | | This is to make cross build of libtcc1.a easier.
* win32: register SEH in startup code (i386 only)grischka2010-10-194-2/+126
| | | | Needed to handle signal() etc. with msvcrt
* Explicit license in tiny_libmaker.cThomas Preud'homme2010-10-071-2/+14
| | | | | | Explicit the license in tiny_libmaker.c to LGPLv2. Confirmation of the license of this file can be found at http://lists.nongnu.org/archive/html/tinycc-devel/2010-07/msg00004.html
* win32: sys/timeb.h use _ftime instead of _ftime32grischka2010-04-121-1/+2
|
* tinylibmaker: On error situation tempfile was not removedunknown2010-04-031-0/+3
|
* win32: adjust for mingw32 winapi packagesgrischka2010-01-261-0/+11
| | | | | | Note: the files in tcc/win32/include/winapi are now from the mingw-w64 project, however with this fix using mingw32 winapi should still work.
* win64: defined size_t and ptrdiff_t to unsigned long longgrischka2010-01-141-18/+17
|
* win32: cleanup includegrischka2010-01-148-485/+57
|
* tccpe: improve dllimport/export and use for tcc_add_symbolgrischka2010-01-141-19/+21
|
* win32: readme: add libtcc_test examplegrischka2010-01-141-6/+4
|
* win32: add size_t to _mingw.hgrischka2009-12-201-0/+9
|
* win64: add tiny unwind data for setjmp/longjmpgrischka2009-12-202-4/+12
| | | | | | | | | This enables native unwind semantics with longjmp on win64 by putting an entry into the .pdata section for each compiled fuction. Also, the function now use a fixed stack and store arguments into X(%rsp) rather than using push.
* win32: enable bounds checker & exception handlergrischka2009-12-191-2/+14
| | | | exception handler borrowed from k1w1. Thanks.
* integrate x86_64-asm.c into i386-asm.cgrischka2009-12-191-15/+1
| | | | | Also, disable 16bit support for now as it causes bugs in 32bit mode. #define I386_ASM_16 if you want it.
* win64: adjust for two args with setjmp(buf,ctx)grischka2009-12-192-0/+10
|
* win32: remove #define alloca from mingw headersgrischka2009-12-011-1/+1
|
* win32: explain usage of mingw w32api packagegrischka2009-11-301-1/+2
|
* win64: Use tcc's own assemblergrischka2009-11-211-5/+5
| | | | Now that we have it thanks to Mr. Féret
* win64: fix batgrischka2009-08-241-11/+13
|
* tccpe: load dll on the flygrischka2009-07-181-88/+95
|
* win32: reformat examples, crt etcgrischka2009-07-184-134/+148
|
* x86-64: chkstk, allocagrischka2009-07-181-21/+53
|
* win64: add x64 target to build-tcc.batgrischka2009-07-181-19/+47
|
* win64: use new headers from mingwgrischka2009-07-1888-16959/+31762
|
* win64: update tiny_impdef, tiny_libmaker (Elf64)grischka2009-07-182-383/+144
|
* win32: guard va_list typedefgrischka2009-06-171-0/+3
|
* drop alloca #definegrischka2009-05-161-4/+1
| | | | | | | (Because GNU's alloca.h unconditionally #undef's alloca) Also, remove gcc specific sections in headers. and instead change tests such that gcc does not use them.
* update Changelog, bump version: 0.9.25grischka2009-05-111-1/+1
|
* fix build with msvcgrischka2009-05-111-15/+6
|
* make tcc from tcc.c and libtcc from libtcc.cgrischka2009-05-051-1/+1
|
* fix makefiles etc for subdirsgrischka2009-04-181-3/+3
|
* new subdirs: include, lib, testsgrischka2009-04-181-6/+0
|
* win32: readme.txt->tcc-win32.txt, update tcc-docgrischka2009-04-182-114/+158
|
* tiny_libmaker: fix function array overflowgrischka2009-04-181-6/+6
|
* win32/build-tcc.bat: define CONFIG_SYSROOTgrischka2008-11-301-0/+1
|
* get rid of a warning and fix .batgrischka2008-03-251-1/+1
|
* Checkin tiny_libmaker (ar replacement) by Timovj Lahdegrischka2008-03-085-69/+766
|
* Switch to newer tccpe.c (includes support for resources)grischka2007-12-191-67/+78
|
* Some in-between fixes (See Changelog for details).grischka2007-11-251-0/+30
|
* Import more changesets from Rob Landley's fork (part 2)grischka2007-11-213-3/+11
|