This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
need to link 3 files...how?
- To: help-gcc at gnu dot org
- Subject: need to link 3 files...how?
- From: "Bruce Fisher" <bfisher at tatca dot tc dot faa dot gov>
- Date: Wed, 10 Nov 1999 13:24:18 -0500
- Newsgroups: gnu.gcc.help
- Organization: FAA Technical Center, Pomona, NJ
- Xref: wodc7nx0 gnu.gcc.help:1766
i have 3 files named:
main.cpp
person.cpp
person.h
i've #included person.h in my main.cpp.
how do i compile this to run. i know i have to link them together but i dont
know how to do that. someone told me i would have to use "make". i read the
mn pages on this but it really didnt help me out with understanding make.
can anyone help?
thanks in advance