v1.6.1 - GCC returns
This is an experimental release specifically focused on ToaruOS Extra.
GCC 6.4.0
The Extra CD image in this release includes GCC 6.4.0 and should be capable of compiling C applications.
Consider the following demo:
- Download the source for Bim:
fetch -O http://toaruos.org/bim.c
- Compile it with GCC:
gcc -o bim bim.c
- Edit the downloaded source with the compiled editor:
./bim bim.c
Please note that the size of the ramdisk in this image results in long boot times on QEMU. Additionally, some issues may be experienced in VirtualBox - it is recommend that you use the BIOS loader and supply VirtualBox with 2GB of RAM when using the Extra distribution until these issues are investigated and resolved.
What's New
- Several new C library functions have been added to support the porting of Binutils and GCC, and some noncompliant functions have been corrected.
- The behavior of the terminal cursor when on the last column of a row has been fixed. Previously, printing a newline when the cursor was in this position erroneously advanced the line, which was breaking
nyancat
. - Scrollback can now be selected in the terminal, and general behavior of scrollback and text selection has been improved.
- Improvements have been made to the argument processing of
kill
andkillall
. /dev/tty
and/dev/pts/{n}
have been added, and terminals now have names, as specified in POSIX.- The behavior of the VFS when a symlink is the root of a mount has been corrected. Previously, the VFS did not follow these symlinks correctly.
ls
now correctlylstat
s arguments, as it does for the contents of directories, so symlinks are shown correctly when given as the direct argument tols -l
.- New utilities have been added:
basename
,logname
,tty
,strings
- The behavior of tiled windows in the compositor and default decorator has been adjusted.
- Improvements and bug fixes have been made to
rline_exp
, including a notable fix for a crash with Unicode characters in history. - The permissions of user home directories on live CDs should now be correct.
- The default startup app for the compositor is now
glogin
(this does not affect the normal setup of live CDs).