Mail Archives: djgpp/2008/10/06/16:00:13
X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f
|
From: | Robert Riebisch <Robert DOT Riebisch AT arcor DOT de>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Re: GCC 4.3.2 doesn't find cc1.exe
|
Date: | Mon, 06 Oct 2008 21:54:56 +0200
|
Organization: | none
|
Lines: | 57
|
Message-ID: | <6kv8ogF9t53aU1@mid.individual.net>
|
References: | <6kscdnF9ffloU1 AT mid DOT individual DOT net> <gcblbd$uas$1 AT aioe DOT org>
|
Mime-Version: | 1.0
|
X-Trace: | individual.net gbu0FNPgCsF6/mxGS0+8yQIx8hrs5/L0mqvk4J3D9jTaRRMjo8
|
Cancel-Lock: | sha1:ikQMecgYKB8VI48sFpv/llZfRNU=
|
X-Mailer: | Mozilla 4.8 [en] (Windows NT 5.0; U)
|
X-Accept-Language: | en
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Reply-To: | djgpp AT delorie DOT com
|
Rod Pemberton wrote:
> > To allow multiple GCC versions in one DJGPP installation, I usually
> > tweak GCC's installation a little. So far this worked fine for GCC
> > 2.95.3, 3.3.2, 3.4.4, 4.1.2, and 4.2.3. Unfortunately this is no longer
> > true for GCC 4.3.2.
>
> Did you find the issue?
Sure. Did you read the whole message?
> > :: GNU GCC 4.2.3
> > unzip.exe -j -d %1\bin\gcc-4.2-3 %2\beta\v2gnu\gcc423b.zip bin/*
> > unzip.exe -d %1 %2\beta\v2gnu\gcc423b.zip lib/* libexec/*
> > :: GNU GCC 4.3.2
> > unzip.exe -j -d %1\bin\gcc-4.3-2 %2\beta\v2gnu\gcc432b.zip bin/*
> > unzip.exe -d %1 %2\beta\v2gnu\gcc432b.zip -x bin/*
> > ...
>
> Why the different unzip directory for gcc432b.zip? I.e., libexec v.s bin?
It's not really that different! Firstly I expand only bin/ to
bin/gcc-N.N-N. Then, for 4.2.3, I only expand lib/ and libexec/, because
I don't need gnu/, info/, ... for every single version. For 4.3.2, e.g.,
the latest version, I also want gnu/, info/, ... for reference. So I
expand everything except bin/ with the second call.
> > Then I use a batch file to set PATH to
> > "c:\djgpp\bin\gcc-N.N-N;c:\djgpp\bin;%PATH%". Running "gcc example.c"
> > for GCC 4.3.2 gives me "gcc.exe: Internal error: (null) (program cc1)".
>
> I haven't used 4.3.2, but could that be due to the different install
> directory you used above?
I think, you just didn't understand, what I did.
> I don't have a fix for your multiple GCC versions problem. But, I do use
> multiple DJGPP versions.
I also do already for years.
> What I usually do is install DJGGP into separate version dirs, e.g.:
> DJGPP203
> DJGPP204
Not very new.
> You might be able to do the same for GCC, but at the expense of more disk
> space.
"more"? "*MUCH* more"! Around 100M for a typical installation. 2 DJGPPs
x 6 GCCs x 100M = 1.2G just for DJGPP?! No, thanks!
--
Robert Riebisch
Bitte NUR in der Newsgroup antworten!
Please reply to the Newsgroup ONLY!
- Raw text -