delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/04/20/09:38:03

From: jackelope <fenney AT interlog DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: djgpp (gcc.exe) PROBLEM SOLVED!
Date: 20 Apr 1997 00:13:40 GMT
Organization: KritiKal MatH
Lines: 24
Message-ID: <5jbn3k$n27@news.interlog.com>
References: <1 DOT 5 DOT 4 DOT 16 DOT 19970418131708 DOT 0adf6e44 AT mail DOT interlog DOT com> <01bc4ca0$31fa5920$81a02499 AT electra>
NNTP-Posting-Host: ip213-28.cc.interlog.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

THE PROBLEM WAS...

i was trying to compile the file

    myfirst.cc

with

    gcc.exe

TO FIX IT (COMPILE THE FILE) i had to ren the file to

    myfirst.cpp

*then* run

    gxx myfirst.cpp -o myfirst.exe

thanx to Maan M. Hamze for the GXX.EXE tip

o  \
    |
o  /

- Raw text -


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