Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Req. a short compiler education
@ 1997-11-25 17:04 tfreeman
  0 siblings, 0 replies; 4+ messages in thread
From: tfreeman @ 1997-11-25 17:04 UTC (permalink / raw)


This is perhaps off topic, for which I apologize in advance. However, I'm
a nonprogrammer who is trying to help somebody who doesn't have an
alpha available port a game to the alpha Linux environment.

I've been asked to compile a program, call it "program.cpp" with the g++
compiler, and I have little idea of the command line switches - and no
idea where to look at the moment.

Off the list, could somebody give me a fast introduction in words of one
sylable to what I need to know to be of any use to this individual?

Thanks in advance.

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Req. a short compiler education
       [not found] <Pine.SUN.3.95.971125115358.17149A-100000@katie.vnet.net>
@ 1997-11-25 17:21 ` Hugo van der Kooij
  0 siblings, 0 replies; 4+ messages in thread
From: Hugo van der Kooij @ 1997-11-25 17:21 UTC (permalink / raw)


On Tue, 25 Nov 1997, tfreeman wrote:

> This is perhaps off topic, for which I apologize in advance. However, I'm
> a nonprogrammer who is trying to help somebody who doesn't have an
> alpha available port a game to the alpha Linux environment.
> 
> I've been asked to compile a program, call it "program.cpp" with the g++
> compiler, and I have little idea of the command line switches - and no
> idea where to look at the moment.
> 
> Off the list, could somebody give me a fast introduction in words of one
> sylable to what I need to know to be of any use to this individual?

Do as I would hack this. Take some other source packages and study the
makefile. You should be able to get somewhere.

Hugo.

	+------------------------+------------------------------+
	| Hugo van der Kooij     | Hugo.van.der.Kooij@caiw.nl   |
	| Oranje Nassaustraat 16 | http://www.caiw.nl/~hvdkooij |
	| 3155 VJ  Maasland      | (De man met de rode hoed)    |
	+------------------------+------------------------------+
			Werkt u al met Linux?
	(U rijdt toch ook niet meer met stepwieltjes aan uw fiets?)

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Req. a short compiler education
@ 1997-11-25 17:40 Stefan Schroepfer
  1997-11-25 18:26 ` tfreeman
  0 siblings, 1 reply; 4+ messages in thread
From: Stefan Schroepfer @ 1997-11-25 17:40 UTC (permalink / raw)


tfreeman wrote:
> 
> I've been asked to compile a program, call it "program.cpp" with the
> g++ compiler, and I have little idea of the command line switches -
> and no idea where to look at the moment.

$ gcc program.cpp -o program
tries to produce a binary 'program' from source file 'program.cpp'.
You can give more than one source file to gcc at a time.

For further compiler options look through info files, e.g. in
emacs type C-h i (Control-h followed by i) to get in info mode
and look for gcc.

scr@iis.fhg.de

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Req. a short compiler education
  1997-11-25 17:40 Stefan Schroepfer
@ 1997-11-25 18:26 ` tfreeman
  0 siblings, 0 replies; 4+ messages in thread
From: tfreeman @ 1997-11-25 18:26 UTC (permalink / raw)


On Tue, 25 Nov 1997, Stefan Schroepfer wrote:

> tfreeman wrote:
> > 
> > I've been asked to compile a program, call it "program.cpp" with the
> > g++ compiler, and I have little idea of the command line switches -
> > and no idea where to look at the moment.
> 
> $ gcc program.cpp -o program
> tries to produce a binary 'program' from source file 'program.cpp'.
> You can give more than one source file to gcc at a time.
> 
> For further compiler options look through info files, e.g. in
> emacs type C-h i (Control-h followed by i) to get in info mode
> and look for gcc.

Oh DAMN! I completely and totally forgot about the existance of the info
files (obviously I don't use them often). Thank you all for the help, and
I'm off to learn myself to be a _little_ more complete in my literature
work before having to ask simple minded questions.

<<hanging head due to embarrassment>>

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1997-11-25 18:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-11-25 17:04 Req. a short compiler education tfreeman
     [not found] <Pine.SUN.3.95.971125115358.17149A-100000@katie.vnet.net>
1997-11-25 17:21 ` Hugo van der Kooij
  -- strict thread matches above, loose matches on Subject: below --
1997-11-25 17:40 Stefan Schroepfer
1997-11-25 18:26 ` tfreeman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox