www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/07/12/23:01:54

From: rqy1319 AT is4 DOT nyu DOT edu (rqy1319 AT is4 DOT nyu DOT edu)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: How can I link?
Date: Mon, 13 Jul 1998 01:46:24 GMT
Organization: New York University
Lines: 16
Message-ID: <35aa63e1.360008@netnews.nyu.edu>
References: <35a8dd76 DOT 1840614 AT netnews DOT nyu DOT edu> <35A95EF8 DOT A2326CD5 AT teccart DOT qc DOT ca>
NNTP-Posting-Host: dialn-async522.dial.net.nyu.edu
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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?

On Mon, 13 Jul 1998 01:12:21 GMT, "Jean-Réginald Louis"
<louis DOT jean-reginald AT teccart DOT qc DOT ca> wrote:

>To produce a .exe file use the '-o' option wilh the filename.
>
>ex.:
>
>    gcc foo.cc -o foo.exe -lmath
>

- Raw text -


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