delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/01/08/00:38:10

From: "Gautam N. Lad" <gautam AT interlog DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: DJGPP compiles wrong .EXE filename
Date: 8 Jan 1997 00:07:50 GMT
Organization: InterLog Internet Services
Lines: 30
Message-ID: <5auogm$7hn@news.interlog.com>
NNTP-Posting-Host: ip220-98.cc.interlog.com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hi,
When I compile my C++ program and link it to the graphics library,
instead of the executable file having the same name as the source
file, it's A.EXE and so is the .OUT file (A.OUT).

The program works fine, except it keeps doing this.  I think it also
happened when I tried to compile a single .C program.

I am compiling like this in C:

gcc prog.c



I am compiling like this in C++ 
(Note window.cpp contains classes I created):

gxx tb.cpp window.cpp /djgpp/contrib/grx20/lib/LIBGRX20.A

Bye!
****************************************************
* Gautam N. Lad                                    *
*--------------------------------------------------*
*                                                  *
* E-Mail	: gautam AT interlog DOT com              *
* Website	: http://www.interlog.com/~gautam  *
*                                                  *
* OS/2, DOS/Windows, Graphics Gallery, Software,   *
* Links, Rayzor Editor/2, POV-Ray,  and more.      *
****************************************************

- Raw text -


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