delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2005/08/04/02:45:13

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: Rotes Sapiens <rs AT redplanet DOT mars DOT org DOT cy>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: cc1 vs cc1plus
Date: Thu, 04 Aug 2005 16:02:52 +0930
Message-ID: <rs03f1pbvki5f1f2grfblrs1347vc7pnnq@4ax.com>
References: <p2vqe1dt260nfohslqdcqi2n5nrid01si2 AT 4ax DOT com>
X-Newsreader: Forte Free Agent 1.93/32.576 English (American)
MIME-Version: 1.0
Organization: Chariot netconnect - http://www.chariot.net.au
X-Original-NNTP-Posting-Host: 127.0.0.1
Lines: 42
NNTP-Posting-Host: 203.87.95.150
X-Trace: 1123137184 lon-reader.news.telstra.net 7431 203.87.95.150
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

On Sun, 31 Jul 2005 21:39:15 -0400, Radical NetSurfer
<RadSurfer AT yahoo DOT com> wrote:

>A friend of mine tried upgrading to DJGPP v2 gcc 4.0.1,
>and when he now compiles some programs, he insists that
>cc1plus.exe is being called, even when the source is  .c.

>Sometimes we compile from batch files we make ourselves,
>sometimes, typing gcc directly from the command line!

>What would suddenly cause gcc 4.0.1 to want to use cc1plus
>for .c files?

>gcc -s -c -m486 -O2 s1.c s2.c s3.c

>Any ideas?

>He's running an Athlon-K6 233mhz, Win98SE.

>On my computer running the very latest packages from
>DJGPP Delories ftp site, I do not experience this problem.
>cc1 for .c and cc1plus for .cpp.

>Some factor we are not aware of is interfearing with his
>compiling gcc.

Type in

set | more

at a dos prompt and check that there isn't a line like:

CC=g++

when it should be:

CC=gcc


Sig:
I do not fear computers.  I fear the lack of them.
  -- Isaac Asimov

- Raw text -


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