1
0
mirror of https://github.com/skeeto/w64devkit.git synced 2026-10-24 17:39:18 +03:00
Commit Graph

389 Commits

Author SHA1 Message Date
Semphris
6ea4c17336 Add GitHub workflow
Co-authored-by: Peter0x44 <peter0x44@disroot.org>
2025-12-05 11:34:30 -05:00
weijh
a8a86d0baa llama.mak: Update last tested version to b7216 2025-12-01 14:23:18 -05:00
Christopher Wellons
b5b123da5b Bump to 2.5.0 v2.5.0 2025-11-29 18:30:52 -05:00
weijh
cca00e1b55 llama.mak: support qwen3 next
Updated last tested version from b7150 to b7193.
2025-11-29 13:15:33 +08:00
Christopher Wellons
93727df455 llama.mak: Add/fix server-http.cpp dependency
Fixes #312.
2025-11-24 21:21:26 -05:00
weijh
bc039e8c34 llama.mak: rnd1.cpp, server-{common,queue,task}.cpp
Updated last tested version to b7150.
2025-11-24 19:06:58 -05:00
weijh
d10e24952d llama.mak: Add chat-parser-xml-toolcall.cpp
Generalized XML-style tool-call parsing with streaming support
2025-11-19 10:11:41 -05:00
weijh
07dac0d4b0 llama.mak: Add server-http.cpp 2025-11-17 22:24:26 -05:00
Christopher Wellons
cecfa69de3 Upgrade to Debian 13 "trixie"
Due to bootstrapping this should have no impact on the result, except
for using a newer 7-zip to compress the 7z archive.
2025-11-15 09:14:01 -05:00
weijh
516dc05ca3 llama.mak: Update for httplib integration
Using Grok, I got it to work. I don't know what I'm doing.
2025-11-15 09:13:42 -05:00
Peter0x44
8f01b46b60 cppcheck.mak: Update for latest 2025-11-08 11:09:15 -05:00
weijh
542bfcf1a8 llama.mak: Add download.cpp for b6980 2025-11-08 08:32:27 -05:00
Christopher Wellons
338b94e1f4 llama.mak: Add -march=x86-64-v3 for 10x boost
From discussion on #299.
2025-11-06 09:40:56 -05:00
Peter0x44
6800da2b97 llama.mak: Update for latest (model files, renames, new sources) 2025-11-06 08:40:15 -05:00
Christopher Wellons
9c1e379250 rexxd: Fix up toy DLL demonstration 2025-10-17 22:40:59 -04:00
Christopher Wellons
f07ad376e2 Upgrade to busybox-w32 FRP-5857
https://frippery.org/busybox/release-notes/FRP-5857.html
2025-10-11 19:09:57 -04:00
Christopher Wellons
53cab45eb1 Filter Expat version to match the tag
Thanks to @Peter0x44 for the idea!
2025-09-24 18:52:45 -04:00
Christopher Wellons
bd88ba2208 Drop note about Go from README.md (#290)
Go (gc toolchain) does not yet support bigobj, and so cgo is currently
incompatible with w64dk. Bootstrapping Go 1.4 from C still works, but
even that's increasingly impractical anyway.
2025-09-24 18:26:03 -04:00
Christopher Wellons
0019476f03 Upgrade to expat 2.7.2 (#164)
Also switch to GitHub releases because it apparently not subject to
naive Expat security policies, making it more reliable. Expat only
parses trusted inputs in w64dk, and so is unaffected by security issues.
Updates are generally unnecessary. Unfortunately Expat's repository has
an unconventiontional tagging convention, and tags do not exactly match
the version, so the ARG will no longer work on its own, which is why I
had avoided its GitHub releases for so long.
2025-09-23 09:36:17 -04:00
Christopher Wellons
90c2621c4e Add uuidgen utility, a clone of Microsoft uuidgen
The original uuidgen utility complements midl, and this rewrite
complements the recently-added widl.
2025-09-14 21:20:09 -04:00
Peter0x44
44b3f9ea6f Don't specify gmp, mpfr, mpc include and lib directories separately 2025-09-10 14:51:27 +01:00
Christopher Wellons
be1515a9ee Build and include widl tool from Mingw-w64
The widl configure script is broken and does not support out-of-source
builds, so unlike gendef just above, it's built in the source tree. The
--prefix and --with-widl-includedir options must be congruent despite
their artificiality. These two paths are combined to construct the real
sysroot path at run time via tools.h:build_relative_path.

This patch also creates arch-prefixed aliases for both gendef and widl.
2025-09-07 10:37:58 -04:00
Peter0x44
e97a594ca0 Use ftpmirror.gnu.org for downloads
llvm-mingw switched to using it in this commit:
https://github.com/mstorsjo/llvm-mingw/commit/a96bbc0c

And I figured we should do the same. Especially since we download more
than just GNU make.

GNU themselves write (https://www.gnu.org/server/mirror.en.html):

> We recommend using this generic ftpmirror.gnu.org address wherever
> possible in links, documentation, etc., to reduce load on the main GNU
> server.
2025-09-03 10:29:28 -04:00
Christopher Wellons
bfd6577d07 Move w64devkit.ini to the root to mirror "installs"
One of my goals is that the distribution can be re-built in place using
only Docker or Podman, and so the unpacked distribution mirrors the
repository layout. That hasn't been true for w64devkit.ini, which is the
only file interfering with this trick, so fix it.
2025-09-03 09:09:07 -04:00
Wes
b72edc3815 peports: UNKNOWN only for the 0x0000 machine type
Closes #272.
2025-08-19 09:18:49 -04:00
Peter0x44
b88e8b3f80 peports: Add -m flag to print PE machine type
Adds support for displaying the target machine type of PE files with
a new -m command line option.
2025-08-17 17:25:45 -04:00
Christopher Wellons
6f59447a99 Bump to 2.4.0 v2.4.0 2025-08-10 08:40:17 -04:00
Christopher Wellons
d3f34afe07 peports: Support "--" arg and fix "-" handling 2025-08-09 08:51:39 -04:00
Christopher Wellons
47cd41b1b7 peports: Properly track the exit status on errors
Fixes #263.
2025-08-09 08:37:45 -04:00
Christopher Wellons
576676338c Update to GCC 15.2.0
https://gcc.gnu.org/gcc-15/changes.html
2025-08-08 09:10:52 -04:00
Peter0x44
e27db5e4a5 Upgrade to binutils 2.45
https://lists.gnu.org/archive/html/info-gnu/2025-07/msg00009.html
2025-07-27 14:50:31 -04:00
Christopher Wellons
54739722d3 rexxd: Treat "-s N" pipe seek EOF as an error
The change matches behavior to the original xxd, plus an infinite loop
is of course undesirable. Noticed this in a casual re-review.
2025-07-17 09:48:45 -04:00
Christopher Wellons
b49df4c686 make: Fix support for shell paths with spaces
GNU Make incorrectly processes shell paths that contain a space on all
supported platforms. This is a common case on Windows after resolving
the shell's absolute path (e.g. "Documents and Settings" or "Program
Files"). The space is not escaped when constructing the shell command,
and then the shell path is truncated when splitting on the space.

Adding a space to sh_chars causes construct_command_argv_internal to
recurse indefinitely, so instead add a special case when copying the
shell path into the command.
2025-07-09 08:18:49 -04:00
Christopher Wellons
9a97c6d992 w64devkit.ini: MSYS2-like "path style"
Allows $PATH in w64dk environments to be controlled similarly to MSYS2.
Fixes #235.

https://www.msys2.org/wiki/MSYS2-introduction/#path
https://github.com/msys2/MSYS2-packages/blob/ae252e94/filesystem/profile#L28-L45
2025-07-06 11:29:22 -04:00
Christopher Wellons
055fbb6bf1 w64devkit.c: Style update before new changes
My personal style has evolved slightly more, and so continue moving in
that direction:

* Just accept u8 as an aliasing type (it's tolerable)
* Capitalize struct and enum typedefs, but leave s8 and s16 unchanged
* -Wconversion compliance, both 32- and 64-bit
* iz/uz for sizes and pointer-integers
* i32 for flags
* -lmemory now that it's available, with memory built-ins
* Rely on w64devkit's unique stdcall patch
* Drop dangerously-broken GCC attributes (malloc, alloc_size)
* Use C23 [[...]] instead of __attribute (new and experimental!)
2025-07-06 11:26:56 -04:00
Christopher Wellons
76ffbe9ec9 Reword library installation procedure (fixes #231)
I forgot to update this with 3a38668 (or ff4bb19). The situation has
simplified now that the architecture triple is gone from the sysroot.
2025-06-28 21:45:26 -04:00
Christopher Wellons
ff695fc9c1 vim: Improve HiDPI experience with a better font
GUI Vim defaults to Fixedsys, a raster font which does not scale. On
HiDPI displays, Vim is unusable in its default configuration despite
supporting HiDPI generally. This issue was never solved upstream, and
the official Vim builds still have this poor experience. For w64dk, I
want a better out-of-the-box experience. It tries Consolas, present on
any HiDPI system, and then falls back to Fixedsys if necessary (XP). As
a side effect, the unicode experience improves as well because Fixedsys
has little support beyond ASCII.

There's an argument to be made for Lucida Console, but Consolas edges
out by not having a space in the name. This also "breaks the seal" on
making other changes to Vim's generally poor defaults, perhaps to adopt
some of neovim's more thoughtful defaults:

https://neovim.io/doc/user/vim_diff.html#defaults
2025-06-26 13:01:34 -04:00
Christopher Wellons
1d0ed3417e Fix Mingw-w64 stddef.h for C23
Mingw-w64 stddef.h embeds a full, outdated copy of GCC stddef.h, which
overrides GCC's definitions, preventing GCC from defining C23 features
such as nullptr_t and unreachable(). This is a wrong. Ideally, Mingw-w64
ought not provide stddef.h because it has nothing to add. Despite this,
its header includes non-standard headers via crtdefs.h and defines quite
a bit more than it should. Other Mingw-w64 headers incorrectly rely on
these transitive includes. Rather than fix all these header bugs, allow
it to continue defining too much, and focus only on fixing C23.
2025-06-19 19:25:15 -04:00
Christopher Wellons
b74bca9998 llama.mak: Update for latest (new/removed files) 2025-06-19 16:56:03 -04:00
Christopher Wellons
d0d0af1c06 Bump to 2.3.0 v2.3.0 2025-06-17 17:58:40 -04:00
Christopher Wellons
ff4bb190f1 Adopt Hannes Domani's relocatable mingw patch (#212)
3a38668f is incomplete, and requires the toolchain is located under a
path ending w64devkit/, which unfortunately made it into the 2.2.0
release. This patch is more complete, but must only be applied to the
native toolchain, not the cross toolchain, so it applies the patch late
in the build.
2025-06-08 10:03:47 -04:00
Christopher Wellons
f2b69d2df5 Upgrade to Mingw-w64 13.0.0
Despite the patch notes, the only new debug import libraries are
msvcr80d, msvcr100d, and msvcr110d.

https://www.mingw-w64.org/changelog/#v1300-2025-06-08
2025-06-08 09:57:33 -04:00
Christopher Wellons
db95ea4855 peports: Remove an unnecessary void return
GCC and Clang accept this but other compilers do not. Regardless, this
was probably left over from refactoring. (#227)
2025-06-05 06:17:40 -04:00
Christopher Wellons
27c9633ff8 llama.mak: Update for latest (new files) 2025-06-05 06:17:39 -04:00
Yoshi662
515693903f Update path in README.md
Updated the path in the Usage section in the README.md due to a possible
confusion
2025-05-27 15:46:23 -04:00
Christopher Wellons
86fba52c10 llama.mak: New audio support, plus other changes 2025-05-27 10:10:22 -04:00
Christopher Wellons
4dfdd51d01 llama.mak: Update for latest (new files) 2025-05-19 08:59:04 -04:00
Christopher Wellons
29521abaf7 llama.mak: Update for new llama-server vision 2025-05-10 08:06:28 -04:00
Peter0x44
37355b4ca9 Delete unneeded patch for #86
The issue in GCC (PR110572) has been fixed upstream so this patch is no
longer needed.
2025-05-08 19:28:27 +01:00
Christopher Wellons
5e1f396919 llama.mak: Update for latest (file renames) 2025-05-03 16:56:38 -04:00