flamyoad / chip8

0 stars 0 forks source link

c++ linking in compiling #1

Open flamyoad opened 2 years ago

flamyoad commented 2 years ago

image image image

Lesson: Compile all cpp into object files and link them together into an .exe executable.

flamyoad commented 2 years ago

image

flamyoad commented 2 years ago
g++ -c chip8.cpp 
g++ -c main.cpp
g++ main.o chip8.o -o main.exe