I found the problem, yay! As I had no idea how Makefiles work I just used the one you posted on the second page of this thread. In there are two lines containing STRIP: At the top: Code: STRIP ?= $(CC:%gcc=%strip) And then later: Code: $(EXE) : $(OBJS) $(CXX) $(OBJS) -o $(EXE) $(LDFLAGS) $(STRIP) $(EXE) Now when I just delete the call to $(STRIP) it works fine. I have no idea what that's supposed to do anyways... Thanks sebt3, without your remark about that the middle line shouldn't be there I wouldn't have figured it out!