Skip to content

Instantly share code, notes, and snippets.

--- gcc/lto-wrapper.c 2015-01-30 16:15:00.000000000 +0000
+++ gcc/lto-wrapper.c 2015-07-10 14:06:42.104411726 +0000
@@ -934,7 +934,7 @@
filename[p - argv[i]] = '\0';
file_offset = (off_t) loffset;
}
- fd = open (argv[i], O_RDONLY);
+ fd = open (argv[i], O_RDONLY|O_BINARY);
if (fd == -1)
{
KEYBINDINGS
byobu keybindings can be user defined in /usr/share/byobu/keybindings/ (or within .screenrc if byobu-export was used). The common key bindings
are:
F2 - Create a new window
F3 - Move to previous window
F4 - Move to next window
#!/bin/bash
function printUsage {
echo "GCC_VER=<ver> \
BINUTILS_VER=<ver> \
INSTALL_PREFIX=<prefix> \
TARGET_TRIPLE=<target-triple> \
./build-cross-compiler.sh"
}
@primoze
primoze / tmux-cheatsheet.markdown
Created January 12, 2016 21:14 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@primoze
primoze / install-ghc.md
Last active September 10, 2015 09:51 — forked from yantonov/install-ghc-ubuntu.md
how to install latest GHC 7.10.1 + cabal 1.22.3.0 from source on ubuntu

How to install latest GHC 7.10.1 + cabal 1.22.3.0 from source on ubuntu

for your convinience these instuction is available as:
gist
git repo

ghc

ubuntu prerequisites