Advertisement
sebbu

gcc compilation 4 steps

Nov 10th, 2017
274
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.32 KB | None | 0 0
  1. #/bin/bash
  2. /usr/lib/gcc/x86_64-pc-cygwin/6.4.0/cc1.exe -quiet -E test.c -o test.i
  3. /usr/lib/gcc/x86_64-pc-cygwin/6.4.0/cc1.exe -quiet -fpreprocessed test.i -o test.S
  4. /usr/x86_64-pc-cygwin/bin/as.exe --gdwarf2 -o test.o test.S
  5. /usr/lib/gcc/x86_64-pc-cygwin/6.4.0/collect2.exe -o test.exe test.o /usr/lib/crt0.o -lcygwin -lkernel32
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement