五SDK
Go-SDK cross-SDK
This is the new 五OS SDK, meant to be easier to use. It is made of the following components:
- binutils 2.19
- gcc 4.4.0
- newlib 1.17.0
The latest compiled version of the Go-SDK for 五OS can be downloaded here.
The 五OS Developer License does not apply anymore to 五SDK but still applies to the old 五SDK, which will become 五SDK for kernel modules.
OpenSource SDK
The tools provided in 五SDK are released under various licenses (GPL-2 LGPL-2.1 NEWLIB LIBGLOSS), some of which requires us to provide the sources alongside the binary version.
The sources can be downloaded and patch files are provided to make them match Go-OS.
Note: Even through the SDK is GPL'd, there is no requirements to release things you compile under the same license (gcc's libraries are including the required exceptions, as far as I know. Lots of people are compiling non-free software with gcc, without ever having any problem).
Auto-update of binary version
It is possible to automatically update the installed version of the binary SDK. The following schellscript should be used:
#!/bin/sh
LATEST=`curl -s http://dist.5os.net/gosdk/cross-latest.txt`
CURRENT=""
if [ -f "cross/stamp" ]; then
CURRENT=`cat "cross/stamp"`
fi
if [ x"$CURRENT" == x"$LATEST" ]; then
echo "You already have the latest version"
exit 0
fi
echo "Downloading $LATEST ..."
curl -# "http://dist.5os.net/gosdk/${LATEST}" >"${LATEST}"
echo "Extracting $LATEST ..."
tar xf "${LATEST}"