delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/04/09/13:36:12

Date: Thu, 9 Apr 1998 20:35:27 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Ryuji Yokoyama <rqy1319 AT is4 DOT nyu DOT edu>
cc: djgpp AT delorie DOT com
Subject: Re: What did I miss ?
In-Reply-To: <352cd371.749338@netnews.nyu.edu>
Message-ID: <Pine.SUN.3.91.980409203350.27301A-100000@is>
MIME-Version: 1.0

On Thu, 9 Apr 1998, Ryuji Yokoyama wrote:

> >Try the following:  "redir -o err.log -eo g++ -v prog.cpp -o prog.exe"
> 
> I got folllowing "err.log" file but not a.exe.

That's because "-o prog.exe" tells the linker to produce prog.exe, like 
you'd expect.  Observe:

>  ld -o prog.exe c:/djgpp/lib/crt0.o -Lc:/djgpp/lib/gcc-lib/djgpp/2.80
      ^^^^^^^^^^^

See that "-o prog.exe"?  This tells `ld' (the linker) to put the program 
on prog.exe.  You should see prog.exe in there.

- Raw text -


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