Skip to content

Instantly share code, notes, and snippets.

@onyb
Last active January 1, 2016 04:58
Show Gist options
  • Save onyb/8094898 to your computer and use it in GitHub Desktop.
Save onyb/8094898 to your computer and use it in GitHub Desktop.
gcc -O3 -DSYSV -fomit-frame-pointer -Wall -fno-strength-reduce -DSYSLOG_INET -DSYSLOG_UNIXAF -DNO_SCCS -DFSSTND -DSYSLOGD_PIDNAME=\"syslogd.pid\" -c syslogd.c
gcc -c -o pidfile.o pidfile.c
gcc -s -o syslogd syslogd.o pidfile.o
gcc -O3 -DSYSV -fomit-frame-pointer -Wall -fno-strength-reduce -DFSSTND -c klogd.c
gcc -O3 -DSYSV -fomit-frame-pointer -Wall -fno-strength-reduce -DALLOW_KERNEL_LOGGING -c syslog.c
gcc -O3 -DSYSV -fomit-frame-pointer -Wall -fno-strength-reduce -DFSSTND -c ksym.c
gcc -O3 -DSYSV -fomit-frame-pointer -Wall -fno-strength-reduce -DFSSTND -c ksym_mod.c
gcc -s -o klogd klogd.o syslog.o pidfile.o ksym.o \
ksym_mod.o
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment