With a change of libs, and specifying NATIVE_WINDOWS as TARGET_OS it should compile libleveldb.a and libmemenv.a just fine, it did for me and Diapolo when testing.
Add NATIVE_WINDOWS #1940
pull grimd34th wants to merge 1 commits into bitcoin:master from grimd34th:patch-1 changing 1 files +10 −0-
grimd34th commented at 2:38 PM on October 21, 2012: contributor
-
46936f343c
Add NATIVE_WINDOWS
With a change of libs, and specifying NATIVE_WINDOWS as TARGET_OS it should compile libleveldb.a and libmemenv.a just fine, it did for me and Diapolo when testing.
-
BitcoinPullTester commented at 5:16 PM on October 21, 2012: none
Automatic sanity-testing: FAILED BUILD/TEST, see http://jenkins.bluematt.me/pull-tester/46936f343c5f9740e1ad8e0defeced7861c1a35a for binaries and test log.
This could happen for one of several reasons:
- It chanages paths in makefile.linux-mingw or otherwise changes build scripts in a way that made them incompatible with the automated testing scripts
- It does not build on either Linux i386 or Win32 (via MinGW cross compile)
- The test suite fails on either Linux i386 or Win32
- The block test-cases failed (lookup the first bNN identifier which failed in https://github.com/TheBlueMatt/test-scripts/blob/master/FullBlockTestGenerator.java)
-
Diapolo commented at 9:08 PM on October 30, 2012: none
It would be nice if the one, who did the Windows port could comment. Problem is I dunno, who it was...
-
Diapolo commented at 12:42 PM on November 11, 2012: none
It would be even nicer, if that Boost stuff could be auto-detected, but I dunno how that could be achieved here. At least the uses version stuff here should match that from bitcoin-qt.pro, so I propose
-mgw44-mt-s-1_50!https://github.com/bitcoin/bitcoin/blob/master/bitcoin-qt.pro#L320
That patch is clearly for users building LevelDB directly on Windows, which currently doesn't work with Qt Creator as (for MinGW) you need to build LevelDB separately via the MinGW shell.
-
sipa commented at 2:02 PM on November 11, 2012: member
Or even nicer if the Windows port didn't depend on boost...
-
grimd34th commented at 3:59 PM on November 11, 2012: contributor
Diapolo, i tried to make it like the https://github.com/bitcoin/bitcoin/blob/master/src/makefile.mingw#L18
-
gavinandresen commented at 5:20 PM on December 12, 2012: contributor
Merging on the assumption "better behavior than we had before"
- gavinandresen referenced this in commit 5bd5d6c45c on Dec 12, 2012
- gavinandresen merged this on Dec 12, 2012
- gavinandresen closed this on Dec 12, 2012
- laudney referenced this in commit 1286b2c39a on Mar 19, 2014
- KolbyML referenced this in commit 2a192ea87e on Dec 5, 2020
- DrahtBot locked this on Sep 8, 2021