delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2006/01/25/16:15:59

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: "Rod Pemberton" <dont_have AT bitbucket DOT cmm>
Newsgroups: comp.os.msdos.djgpp
References: <20060125145515 DOT 60527 DOT qmail AT web51001 DOT mail DOT yahoo DOT com> <43ppcuF1on7sfU2 AT news DOT dfncis DOT de>
Subject: Re: gcc: installation problem, cannot exec `cc1plus': Invalid argument
Lines: 49
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
X-IWN-Posted-By: [68.60.59.250] Wed Jan 25 13:59:04 2006
Message-ID: <od5la3-p981.ln1@news.infowest.com>
X-Complaints-To: abuse AT eli DOT net
X-Trace: 52616e646f6d49564b835516cab6b1f728cd0aaad111e06a2859ca5fe614c2a3fdb4d17c804a296421caf04f2ab9f821cb014d3e2759552570bc615b52963658d267720d907226c9b2c99e6f509911ad4dd0dea69e5ab18a9ccc0906bdd0e7a37ceace0407c82e786117f5c41b056dc6f1ebe0d7d07efde1961c2b26088a0a6908c99bc992f661297caaf4aebc9415c8
X-Abuse-Info: Please be sure to forward ALL headers so that we may process your complaint properly.
NNTP-Posting-Date: Wed, 25 Jan 2006 21:08:58 UTC
Date: Wed, 25 Jan 2006 21:08:58 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

"Hans-Bernhard Broeker" <broeker AT physik DOT rwth-aachen DOT de> wrote in message
news:43ppcuF1on7sfU2 AT news DOT dfncis DOT de...
> Rafael Morales Castro <nabucodonosor78 AT yahoo DOT com> wrote:
>
> > I install djgpp on winXP and want to compile a program using
>
> > gcc -g -Ic:\djgpp\include -c myzip.cpp -o myzip.exe
>
> That command line is blatantly wrong on one count, and questionable on
> another:
>
> *) options "-c" and "-o myzip.exe" contradict each other.  If you
>    want an executable, you must not use -c.
> *) -Ic:\djgpp\include is, or at least it *should* be, completely
>    superfluous.  Get rid of it.
>
> > gcc: installation problem, cannot exec `cc1plus': Invalid argument
>
> You don't supply enough details for anybody to be sure what went wrong
> here.  The most likely reasons would be
>
> 1) you forgot to actually install the C++ compiler
> 2) you didn't read the README, causing you to unzip stuff
>    in the wrong way
> 3) you didn't read the README, causing you to install in a
>    badly chosen place.
>
> -- 
> Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
> Even if all the snow were burnt, ashes would remain.


I'm not running XP, but cc1plus should still be in the same directories.
This is where mine are:
C:\djgpp\lib\gcc-lib\djgpp\3.22
C:\djgpp\libexec\gcc\djgpp\3.41

'C:\djggp' is specific to your setup.  '3.22' or '3.41', etc., are version
dependent (over time, I've installed multiple versions...)  Since he
installed under XP which has long filename support, I doubt that his
'unziper' creating short filenames is the problem.  The cc1plus directories
all seem to be 8.3 filenames.


Rod Pemberton



- Raw text -


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