* Beginning programmer
@ 2001-01-25 9:50 matthew.garn
2001-01-25 12:59 ` Alexandre Oliva
0 siblings, 1 reply; 3+ messages in thread
From: matthew.garn @ 2001-01-25 9:50 UTC (permalink / raw)
To: gcc-help
I am just getting started as a C++ programmer and am completely unfamiliar
with g++. Could you give me a link or a copy of some documentation that
explains, in detail, compiling and linking a source code file. I am
confused about the parameters that I should use when compiling and linking.
If you have any documentation explaining make file configurations that
would be great too. I would appreciate any help you can offer.
Thank you
Matthew Garn
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Beginning programmer
2001-01-25 9:50 Beginning programmer matthew.garn
@ 2001-01-25 12:59 ` Alexandre Oliva
0 siblings, 0 replies; 3+ messages in thread
From: Alexandre Oliva @ 2001-01-25 12:59 UTC (permalink / raw)
To: matthew.garn; +Cc: gcc-help
On Jan 25, 2001, matthew.garn@tonservices.com wrote:
> Could you give me a link or a copy of some documentation that
> explains, in detail, compiling and linking a source code file.
Try to create a file named foo.cc or foo.C, then use `make foo.o' to
compile it, and `make foo' to link. Look at the commands `make'
prints and learn from them.
g++ --help will list all the available command-line options, and the
GCC manual will give you all the gory details.
You may also want to have a look at some book on Unix programming.
GCC's interface is not very different from any Unix-based compiler, at
least on the surface :-)
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: Beginning programmer
@ 2001-01-25 12:42 Kazu Hirata
0 siblings, 0 replies; 3+ messages in thread
From: Kazu Hirata @ 2001-01-25 12:42 UTC (permalink / raw)
To: 'matthew.garn@tonservices.com', gcc-help
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 708 bytes --]
Title: RE: Beginning programmer
Hi,
> I am just getting started as a C++ programmer and am
> completely unfamiliar
> with g++. Could you give me a link or a copy of some
> documentation that
> explains, in detail, compiling and linking a source code file.
How about this?
http://users.actcom.co.il/~choo/lupg/tutorials/c-on-unix/c-on-unix.html
I got the above by going to a search engine at http://www.google.com and typed in g++ tutorial. I am sure there is other good stuff available.
gcc's manual does not contain any tutorial, but if you'd like to look up some parameters, then the following should be helpful.
http://gcc.gnu.org/onlinedocs/
Hope this helps.
Kazu Hirata
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-01-25 12:59 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-01-25 9:50 Beginning programmer matthew.garn
2001-01-25 12:59 ` Alexandre Oliva
2001-01-25 12:42 Kazu Hirata
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).