* how do I execute compile program?
@ 1999-12-27 22:10 Ashat Safiullin
1999-12-27 22:13 ` llewelly
` (3 more replies)
0 siblings, 4 replies; 8+ messages in thread
From: Ashat Safiullin @ 1999-12-27 22:10 UTC (permalink / raw)
To: help-gcc
May be it is stupid but
how I can execute program after doing following:
gcc -o myfile -g -lm myfile.c
and command prompt comes again.
Thanks
Ashat
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: how do I execute compile program?
1999-12-27 22:10 how do I execute compile program? Ashat Safiullin
@ 1999-12-27 22:13 ` llewelly
1999-12-31 22:24 ` llewelly
1999-12-28 1:40 ` haha
` (2 subsequent siblings)
3 siblings, 1 reply; 8+ messages in thread
From: llewelly @ 1999-12-27 22:13 UTC (permalink / raw)
To: Ashat Safiullin; +Cc: help-gcc
On Tue, 28 Dec 1999, Ashat Safiullin wrote:
> May be it is stupid but
> how I can execute program after doing following:
>
> gcc -o myfile -g -lm myfile.c
>
> and command prompt comes again.
$./myfile
by the way, run
$info gcc
to learn about gcc.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: how do I execute compile program?
1999-12-27 22:10 how do I execute compile program? Ashat Safiullin
1999-12-27 22:13 ` llewelly
@ 1999-12-28 1:40 ` haha
1999-12-31 22:24 ` haha
1999-12-31 22:24 ` Ashat Safiullin
2000-01-02 17:42 ` Thomas Lionel SMETS
3 siblings, 1 reply; 8+ messages in thread
From: haha @ 1999-12-28 1:40 UTC (permalink / raw)
To: help-gcc
:>May be it is stupid but
:>how I can execute program after doing following:
:>gcc -o myfile -g -lm myfile.c
:>and command prompt comes again.
./myfile
(the dot "." is an alias for current working directory)
Haha!
^ permalink raw reply [flat|nested] 8+ messages in thread
* how do I execute compile program?
1999-12-27 22:10 how do I execute compile program? Ashat Safiullin
1999-12-27 22:13 ` llewelly
1999-12-28 1:40 ` haha
@ 1999-12-31 22:24 ` Ashat Safiullin
2000-01-02 17:42 ` Thomas Lionel SMETS
3 siblings, 0 replies; 8+ messages in thread
From: Ashat Safiullin @ 1999-12-31 22:24 UTC (permalink / raw)
To: help-gcc
May be it is stupid but
how I can execute program after doing following:
gcc -o myfile -g -lm myfile.c
and command prompt comes again.
Thanks
Ashat
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: how do I execute compile program?
1999-12-27 22:10 how do I execute compile program? Ashat Safiullin
` (2 preceding siblings ...)
1999-12-31 22:24 ` Ashat Safiullin
@ 2000-01-02 17:42 ` Thomas Lionel SMETS
2000-04-01 0:00 ` Thomas Lionel SMETS
3 siblings, 1 reply; 8+ messages in thread
From: Thomas Lionel SMETS @ 2000-01-02 17:42 UTC (permalink / raw)
To: help-gcc
In the same level ...
I've two classes (c1 & c2) with one using the other, i.e. c2 is a child
of c1. Can someone tell me how can I compile this without having the two
classes within the same file .
I tried have something like
g++ -c c1.cpp # Created the Object file of the
mother class
g++ -c2.cpp -oc1 #
Actually I heve no idea what else I could do
A second question would be ...
What's the point of having a header file in a program ?
What do i generated it from ?
How do i generate it ?
Thanks,
Thomas,
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: how do I execute compile program?
2000-01-02 17:42 ` Thomas Lionel SMETS
@ 2000-04-01 0:00 ` Thomas Lionel SMETS
0 siblings, 0 replies; 8+ messages in thread
From: Thomas Lionel SMETS @ 2000-04-01 0:00 UTC (permalink / raw)
To: help-gcc
In the same level ...
I've two classes (c1 & c2) with one using the other, i.e. c2 is a child
of c1. Can someone tell me how can I compile this without having the two
classes within the same file .
I tried have something like
g++ -c c1.cpp # Created the Object file of the
mother class
g++ -c2.cpp -oc1 #
Actually I heve no idea what else I could do
A second question would be ...
What's the point of having a header file in a program ?
What do i generated it from ?
How do i generate it ?
Thanks,
Thomas,
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2000-04-01 0:00 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-12-27 22:10 how do I execute compile program? Ashat Safiullin
1999-12-27 22:13 ` llewelly
1999-12-31 22:24 ` llewelly
1999-12-28 1:40 ` haha
1999-12-31 22:24 ` haha
1999-12-31 22:24 ` Ashat Safiullin
2000-01-02 17:42 ` Thomas Lionel SMETS
2000-04-01 0:00 ` Thomas Lionel SMETS
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).