delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/07/13/04:00:23

Date: Mon, 13 Jul 1998 11:00:14 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: rqy1319 AT is4 DOT nyu DOT edu
cc: djgpp AT delorie DOT com
Subject: Re: How can I link?
In-Reply-To: <35aa63e1.360008@netnews.nyu.edu>
Message-ID: <Pine.SUN.3.91.980713105814.323C-100000@is>
MIME-Version: 1.0

On Mon, 13 Jul 1998 rqy1319 AT is4 DOT nyu DOT edu wrote:

> Thanks for replying me, but it doesn't work, if I try to compile C++
> code.  I need to execute "g++ foo.cc" instead of using "gcc" command;
> then I need to execute "stubify A.OUT" as Mr. Martin Str|mberg said.
> However, if possible, I would like to get .exe file directly.   Why my
> compiler doesn't generate .exe file?

Did you try to use g++ like this:

	g++ -o foo.exe foo.cc

This should produce foo.exe.  If it doesn't, please add -v to the g++ 
command line and post everything that's printed during compilation.

This is covered in the README.1ST file, btw.

- Raw text -


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