Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | added Makefile.mingw32cross for Linux cross-compile to Windows |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
c67c61b6944bf5ad2fa364e9a30e6a6f |
| User & Date: | ron 2011-01-02 07:37:21.000 |
References
|
2011-01-03
| ||
| 00:35 | • New ticket [986b31211c] fossil reports changes when there are none. artifact: 3bb05b4ef2 user: rwilson | |
Context
|
2011-01-03
| ||
| 12:15 | Avoid a NULL pointer deref in vfile_build() when a delta manifest contains a deleted file. check-in: a35e8c0db1 user: drh tags: trunk | |
|
2011-01-02
| ||
| 07:37 | added Makefile.mingw32cross for Linux cross-compile to Windows check-in: c67c61b694 user: ron tags: trunk | |
|
2011-01-01
| ||
| 03:06 | Updates to header-comment documentation for the mkindex utility program. Fix a compiler warning on windows builds. check-in: 79b7902cdd user: drh tags: trunk, release | |
Changes
Added win/Makefile.mingw32cross.
> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 | #!/usr/bin/make # This makefile is for use with the Mingw32 *cross compiler* on Linux # #### The toplevel directory of the source tree. Fossil can be built # in a directory that is separate from the source tree. Just change # the following to point from the build directory to the src/ folder. # SRCDIR = ./src OBJDIR = ./wobj #### C Compiler and options for use in building executables that # will run on the platform that is doing the build. This is used # to compile code-generator programs as part of the build process. # See TCC below for the C compiler for building the finished binary. # BCC = gcc -s -O2 #### The suffix to add to executable files. ".exe" for windows. # Nothing for unix. # E = .exe #### Enable HTTPS support via OpenSSL (links to libssl and libcrypto) # FOSSIL_ENABLE_SSL=1 #### C Compile and options for use in building executables that # will run on the target platform. This is usually the same # as BCC, unless you are cross-compiling. This C compiler builds # the finished binary for fossil. The BCC compiler above is used # for building intermediate code-generator tools. # #TCC = gcc -O6 #TCC = gcc -g -O0 -Wall -fprofile-arcs -ftest-coverage #TCC = gcc -g -Os -Wall #TCC = gcc -g -Os -Wall -DFOSSIL_I18N=0 -L/usr/local/lib -I/usr/local/include TCC=i686-pc-mingw32-gcc -O3 -s -Wall -DFOSSIL_I18N=0 -L/mingw/lib -I/mingw/include # With HTTPS support ifdef FOSSIL_ENABLE_SSL TCC += -DFOSSIL_ENABLE_SSL=1 endif #### Extra arguments for linking the finished binary. Fossil needs # to link against the Z-Lib compression library. There are no # other dependencies. We sometimes add the -static option here # so that we can build a static executable that will run in a # chroot jail. # LIB=-lz -lssl -lcrypto -lwsock32 -lgdi32 CFLAGS=-O3 -s LDFLAGS=-s #### Tcl shell for use in running the fossil testsuite. # TCLSH = tclsh #### Include a configuration file that can override any one of these settings. # -include config.w32 # You should not need to change anything below this line ############################################################################### include $(SRCDIR)/main.mk |