Skip to content

Instantly share code, notes, and snippets.

View buzzy's full-sized avatar

buzzy

View GitHub Profile
@buzzy
buzzy / buildcrossgcc.sh
Last active June 14, 2019 09:16 — forked from tautologico/buildcrossgcc.sh
Build gcc cross-compiler for armv7-a (Cortex-A)
#!/bin/sh
# Download binutils, gcc, the linux kernel, glibc
# define the prefix
export PREFIX=/opt/armhf
# change PATH to include the target directory
export PATH=$PREFIX/bin:$PATH
user scalr-app;
worker_processes 1;
daemon off;
error_log /opt/scalr-server/var/log/nginx/web.error.log;
events {
worker_connections 1024;
}