LOG710-lab3
- Compile lib:
gcc -o memory.o -c memory.c
- Compile program test:
gcc program-test.c memory.o
- Running program:
./a.out
In one command (build and run)
gcc -g -o memory.o -c memory.c && gcc program-test.c memory.o && ./a.out
gcc -o memory.o -c memory.c
gcc program-test.c memory.o
./a.out
gcc -g -o memory.o -c memory.c && gcc program-test.c memory.o && ./a.out