Skip to content

Commit c62d09a

Browse files
committed
Rebuilt windows libmarkdown.a files; Updated cross-compilation
references.
1 parent c1abc9e commit c62d09a

8 files changed

+25
-16
lines changed

doc/HastyScribe_UserGuide.htm

+2-1
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,7 @@ <h3 id="Downloading.Pre-built.Binaries">Downloading Pre-built Binaries<a href="#
240240
<ul>
241241
<li><a href="https://github.com/h3rald/hastyscribe/releases/download/v1.1.0/hastyscribe_v1.1.0_macosx_x64.zip">HastyScribe for Mac OS X (x64)</a> &ndash; Compiled on OS X Yosemite (LLVM CLANG 6.0)</li>
242242
<li><a href="https://github.com/h3rald/hastyscribe/releases/download/v1.1.0/hastyscribe_v1.1.0_windows_x64.zip">HastyScribe for Windows (x64)</a> &ndash; Cross-compiled on OS X Yosemite (MinGW-w64 GCC 4.8.2)</li>
243+
<li><a href="https://github.com/h3rald/hastyscribe/releases/download/v1.1.0/hastyscribe_v1.1.0_windows_x86.zip">HastyScribe for Windows (x86)</a> &ndash; Cross-compiled on OS X Yosemite (MinGW-w64 GCC 4.8.2)</li>
243244
<li><a href="https://github.com/h3rald/hastyscribe/releases/download/v1.1.0/hastyscribe_v1.1.0_linux_x86.zip">HastyScribe for Linux (x86)</a> &ndash; Cross-compiled on OS X Yosemite (GNU GCC 4.8.1)</li>
244245
<li><a href="https://github.com/h3rald/hastyscribe/releases/download/v1.1.0/hastyscribe_v1.1.0_linux_arm.zip">HastyScribe for Linux (ARM)</a> &ndash; Cross-compiled on OS X Yosemite (GNU GCC 4.8.2)</li>
245246
</ul>
@@ -1125,7 +1126,7 @@ <h2 id="Credits">Credits<a href="#document-top" title="Go to top"></a></h2>
11251126
<p>Special thanks to:</p>
11261127

11271128
<ul>
1128-
<li>Philip Wernersbach, for contributing to HastyScribe.</li>
1129+
<li>Philip Wernersbach and Joshua Ellis, for contributing to HastyScribe.</li>
11291130
<li>Andreas Rumpf, creator of the amazing <a href="http://nim-lang.org/">Nim</a> programming language, used to implement HastyScribe.</li>
11301131
<li>Ethan Lai, developer of the handy <a href="http://koala-app.com/">Koala</a> app, used to compile all the LESS code into CSS.</li>
11311132
</ul>

doc/HastyScribe_UserGuide.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ The easiest way to get {{hs}} is by downloading one of the prebuilt binaries fro
7979

8080
* [HastyScribe for Mac OS X (x64)]({{release}}/hastyscribe_v1.1.0_macosx_x64.zip) -- Compiled on OS X Yosemite (LLVM CLANG 6.0)
8181
* [HastyScribe for Windows (x64)]({{release}}/hastyscribe_v1.1.0_windows_x64.zip) -- Cross-compiled on OS X Yosemite (MinGW-w64 GCC 4.8.2)
82+
* [HastyScribe for Windows (x86)]({{release}}/hastyscribe_v1.1.0_windows_x86.zip) -- Cross-compiled on OS X Yosemite (MinGW-w64 GCC 4.8.2)
8283
* [HastyScribe for Linux (x86)]({{release}}/hastyscribe_v1.1.0_linux_x86.zip) -- Cross-compiled on OS X Yosemite (GNU GCC 4.8.1)
8384
* [HastyScribe for Linux (ARM)]({{release}}/hastyscribe_v1.1.0_linux_arm.zip) -- Cross-compiled on OS X Yosemite (GNU GCC 4.8.2)
8485

@@ -740,7 +741,7 @@ HastyScribe is powered by the following open source software (see [LICENSE.md]({
740741

741742
Special thanks to:
742743

743-
* Philip Wernersbach, for contributing to HastyScribe.
744+
* Philip Wernersbach and Joshua Ellis, for contributing to {{hs}}.
744745
* Andreas Rumpf, creator of the amazing [Nim][nim] programming language, used to implement {{hs}}.
745746
* Ethan Lai, developer of the handy [Koala](http://koala-app.com/) app, used to compile all the LESS code into CSS.
746747

hastyscribe.nim

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ from version import v
1313

1414
let usage* = " HastyScribe v" & v & " - Self-contained Markdown Compiler" & """
1515
16-
(c) 2013-2014 Fabio Cevasco
16+
(c) 2013-2015 Fabio Cevasco
1717
1818
Usage:
1919
hastyscribe markdown_file_or_glob.md [options]

hastyscribe.nim.cfg

+7-7
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@ define:release
22
define:ssl
33

44
# https://gist.github.com/Drakulix/9881160
5-
amd64.windows.gcc.path = "/usr/local/gcc-4.8.0-qt-4.8.4-for-mingw32/win32-gcc/bin"
6-
amd64.windows.gcc.exe = "i586-mingw32-gcc"
7-
amd64.windows.gcc.linkerexe = "i586-mingw32-gcc"
5+
amd64.windows.gcc.path = "/usr/local/mingw/bin"
6+
amd64.windows.gcc.exe = "x86_64-w64-mingw32-gcc"
7+
amd64.windows.gcc.linkerexe = "x86_64-w64-mingw32-gcc"
88

9-
# http://crossgcc.rts-software.org/doku.php?id=compiling_for_win32
10-
i386.windows.gcc.path = "/usr/local/gcc-4.8.0-qt-4.8.4-for-mingw32/win32-gcc/bin"
11-
i386.windows.gcc.exe = "i586-mingw32-gcc"
12-
i386.windows.gcc.linkerexe = "i586-mingw32-gcc"
9+
# https://gist.github.com/Drakulix/9881160
10+
i386.windows.gcc.path = "/usr/local/mingw/bin"
11+
i386.windows.gcc.exe = "i686-w64-mingw32-gcc"
12+
i386.windows.gcc.linkerexe = "i686-w64-mingw32-gcc"
1313

1414
# http://crossgcc.rts-software.org/doku.php?id=compiling_for_linux
1515
i386.linux.gcc.path = "/usr/local/gcc-4.8.1-for-linux32/bin"

markdown.nim

+5-2
Original file line numberDiff line numberDiff line change
@@ -175,9 +175,12 @@ proc md*(s: string, f = 0, data: var TMDMetadata): string =
175175
return
176176

177177
when defined(macosx):
178-
{.link: "vendor/libmarkdown_macosx_x86.a".}
178+
{.link: "vendor/libmarkdown_macosx_x64.a".}
179179
when defined(windows):
180-
{.link: "vendor/libmarkdown_windows_x86.a".}
180+
when defined(i386):
181+
{.link: "vendor/libmarkdown_windows_x86.a".}
182+
when defined(amd64):
183+
{.link: "vendor/libmarkdown_windows_x64.a".}
181184
when defined(linux):
182185
when defined(arm):
183186
{.link: "vendor/libmarkdown_linux_arm.a".}

nakefile.nim

+8-4
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const
77
linux_arm = "--cpu:arm --os:linux"
88
windows_x86 = "--cpu:i386 --os:windows"
99
windows_x64 = "--cpu:amd64 --os:windows"
10-
parallel = "--parallelBuild:1"
10+
parallel = "--parallelBuild:1 --verbosity:3"
1111
hs = "hastyscribe"
1212
hs_file = "hastyscribe.nim"
1313
zip = "zip -X"
@@ -16,21 +16,25 @@ proc filename_for(os: string, arch: string): string =
1616
return "hastyscribe" & "_v" & v & "_" & os & "_" & arch & ".zip"
1717

1818
task "windows-x86-build", "Build HastyScribe for Windows (x86)":
19-
direshell compile, windows_x86, hs_file
19+
direshell compile, windows_x86, hs_file
2020

2121
task "windows-x64-build", "Build HastyScribe for Windows (x64)":
22-
direshell compile, windows_x64, hs_file
22+
direshell compile, windows_x64, hs_file
2323

2424
task "linux-x86-build", "Build HastyScribe for Linux (x86)":
2525
direshell compile, linux_x86, hs_file
2626

2727
task "linux-arm-build", "Build HastyScribe for Linux (ARM)":
28-
direshell compile, linux_arm, parallel, hs_file
28+
direshell compile, linux_arm, hs_file
2929

3030
task "macosx-x64-build", "Build HastyScribe for Mac OS X (x64)":
3131
direshell compile, hs_file
3232

3333
task "release", "Release HastyScribe":
34+
echo "\n\n\n WINDOWS - x86:\n\n"
35+
runTask "windows-x86-build"
36+
direshell zip, filename_for("windows", "x86"), hs & ".exe"
37+
direshell "rm", hs & ".exe"
3438
echo "\n\n\n WINDOWS - x64:\n\n"
3539
runTask "windows-x64-build"
3640
direshell zip, filename_for("windows", "x64"), hs & ".exe"

vendor/libmarkdown_windows_x64.a

-98 Bytes
Binary file not shown.

vendor/libmarkdown_windows_x86.a

171 KB
Binary file not shown.

0 commit comments

Comments
 (0)