delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/12/13/13:39:05

Message-ID: <349293FA.6EE9B263@gmx.net>
Date: Sat, 13 Dec 1997 14:56:10 +0100
From: Robert Hoehne <robert DOT hoehne AT gmx DOT net>
MIME-Version: 1.0
To: Tron <l42794 AT alfa DOT ist DOT utl DOT pt>
CC: DJGPP Mailing list <djgpp AT delorie DOT com>
Subject: Re: [Q] newbie question...
References: <Pine DOT OSF DOT 3 DOT 96 DOT 971211142402 DOT 17866C-100000 AT alfa DOT ist DOT utl DOT pt>

Tron schrieb:
> 
>   djgpp is a c++ compiler isnt??? how can i compile c file name.cpp with
> gcc...
> 
>   like we do with c files
> example: gcc -Wall -c name.c bla...bla...bla...
> 

gcc -Wall -c name.cpp bla...bla...bla...

gcc selects automatically the correct compiler to compile
your source file by examining the suffix of your file.
(gcc itself is _not_ a compiler, it is "simply" a driver
program, which calls all the nedded compilers, assembler,
linker ...)

Additionally, or better FIRST, read the file README.1ST from
the DJGPP distrib, where your question is answered.

Robert
-- 
******************************************************
* email:   Robert Hoehne <robert DOT hoehne AT gmx DOT net>     *
* Post:    Am Berg 3, D-09573 Dittmannsdorf, Germany *
* WWW:     http://www.tu-chemnitz.de/~sho/rho        *
******************************************************


- Raw text -


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