diff options
author | Andreas Fankhauser hiddenalpha.ch | 2024-09-13 15:08:40 +0200 |
---|---|---|
committer | Andreas Fankhauser hiddenalpha.ch | 2024-09-13 15:08:40 +0200 |
commit | c738ad2c3db2373dd9a064826b827c83826131d0 (patch) | |
tree | 6d27aec84dc876f8fc1c0caeec25bf54825f34f0 | |
parent | 9f43ba521e51f88bc613bfa1ca92af1d9c630e66 (diff) | |
download | UnspecifiedGarbage-c738ad2c3db2373dd9a064826b827c83826131d0.zip UnspecifiedGarbage-c738ad2c3db2373dd9a064826b827c83826131d0.tar.gz |
Add c build notes.
-rw-r--r-- | doc/note/qemu/qemu.txt | 5 | ||||
-rw-r--r-- | src/main/c/common/make-quickndirty.c | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/doc/note/qemu/qemu.txt b/doc/note/qemu/qemu.txt index d36e5e2..bf39e48 100644 --- a/doc/note/qemu/qemu.txt +++ b/doc/note/qemu/qemu.txt @@ -286,6 +286,11 @@ In GUEST to access it do: && printf 'user:12345\n' | chpasswd \ && /etc/init.d/sshd restart \ + && `# host auto-mount helper script ` \ + && mkdir ~/.local ~/.local/bin \ + && echo H4sIAAUQ5GYAA0WOsQ7CMAxE93yFCUgFiTbQEaliYWArA8wRFJNkaFI1CR2Af8cpSJ1sv/P5PJ+Jm7HCa+YxQI7s2R6dDxePfXWuD7XsYpCaiIyEpMYemY+nYRJVRFJ754Lsht9CNPeKL5bmDnlccaamUdGIjXbAF690Zv/h8AYfIfkhbyBrXbTUBWjMw0PuIOXaa4tVRp7pO3Jm6xSUMNXdCNQfqD8ALsR2U2yKsijF+LLX1x7TPU5aa8OPjqmdMzbwjH0BleXnHxQBAAA= |base64 -d|gzip -d > ~/.local/bin/setup \ + && printf '\n TODO: Resolve the todos in %s\n\n' ~/.local/bin/setup \ + ## Debian PostInstall diff --git a/src/main/c/common/make-quickndirty.c b/src/main/c/common/make-quickndirty.c index 816d99e..c21eea6 100644 --- a/src/main/c/common/make-quickndirty.c +++ b/src/main/c/common/make-quickndirty.c @@ -15,4 +15,8 @@ && bullshit=$(${OBJDUMP?} -p "${OUTFILE:?}"|grep DLL\ Name|egrep -v ' (KERNEL32.dll|SHELL32.dll|WS2_32.dll|ADVAPI32.dll|msvcrt.dll)$'||true) \ && if test -n "$bullshit"; then printf '\n ERROR: Bullshit has sneaked in:\n\n%s\n\n' "$bullshit"; rm "${OUTFILE:?}"; false; fi \ + Shitty systems maybe need adaptions like: + + && LDFLAGS="-Wl,-lws2_32,-l:libwinpthread.a" \ + #endif |