www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/08/14/16:12:26

From: Bram de Greve <bram DOT degreve AT rug DOT ac DOT be>
Newsgroups: comp.os.msdos.djgpp
Subject: Newbie needs help: gxx
Date: Sat, 14 Aug 1999 20:52:13 -0700
Organization: University of Ghent, Belgium
Lines: 86
Message-ID: <37B6396D.FCE2F521@rug.ac.be>
NNTP-Posting-Host: sdln1p45.rug.ac.be
Mime-Version: 1.0
X-Mailer: Mozilla 4.04 [en] (Win16; I)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

--------------C6CA4F474839C2EF1EE4DC2A
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi there,

I have a strange problem:
I wrote my first program C++ program now:

#include <iostream.h>

int main()
{
   cout << "Hello World!\n";
   return 0;
}

I tried to compile it with gcc like this:
gcc -c -Wall hello.cpp
and it works

But I always get an error when I run gxx like this:

gxx -o hello.exe hello.o
or like this
gxx -s -o hello.exe hello.o  (I believe that -s reduces the size of
hello.exe, is it?)

However gxx makes hello.exe and it works alright, I always get the next
message:
Error: gxx.exe: installation problem, cannot exec 'stubify' - No such
file or directory (ENOENT)

I've already checked the djgppfaq.htm and found the exact "question",
but the sollution doesn't help me out.

Does anybody know what I should do?

Thanks in advance,
Bram de Greve

--------------C6CA4F474839C2EF1EE4DC2A
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<HTML>
Hi there,

<P>I have a strange problem:
<BR>I wrote my first program C++ program now:<TT></TT>

<P><TT>#include &lt;iostream.h></TT><TT></TT>

<P><TT>int main()</TT>
<BR><TT>{</TT>
<BR><TT>&nbsp;&nbsp; cout &lt;&lt; "Hello World!\n";</TT>
<BR><TT>&nbsp;&nbsp; return 0;</TT>
<BR><TT>}</TT>

<P>I tried to compile it with gcc like this:
<BR><TT>gcc -c -Wall hello.cpp</TT>
<BR>and it works

<P>But I always get an error when I run gxx like this:

<P><TT>gxx -o hello.exe hello.o</TT>
<BR>or like this
<BR><TT>gxx -s -o hello.exe hello.o&nbsp;</TT> (I believe that -s reduces
the size of hello.exe, is it?)

<P>However gxx makes hello.exe and it works alright, I always get the next
message:
<BR><TT>Error: gxx.exe: installation problem, cannot exec 'stubify' - No
such file or directory (ENOENT)</TT>

<P>I've already checked the djgppfaq.htm and found the exact "question",
but the sollution doesn't help me out.

<P>Does anybody know what I should do?

<P>Thanks in advance,
<BR>Bram de Greve</HTML>

--------------C6CA4F474839C2EF1EE4DC2A--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019