Mail Archives: djgpp/2008/10/05/20:30:17
X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f
|
From: | "Rod Pemberton" <do_not_have AT nohavenot DOT cmm>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Re: GCC 4.3.2 doesn't find cc1.exe
|
Date: | Sun, 5 Oct 2008 20:14:45 -0400
|
Organization: | Aioe.org NNTP Server
|
Lines: | 56
|
Message-ID: | <gcblbd$uas$1@aioe.org>
|
References: | <6kscdnF9ffloU1 AT mid DOT individual DOT net>
|
NNTP-Posting-Host: | mQokHQeKeRC37oD/Mq9UYg.user.aioe.org
|
Mime-Version: | 1.0
|
X-Complaints-To: | abuse AT aioe DOT org
|
X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2800.1933
|
X-Newsreader: | Microsoft Outlook Express 6.00.2800.1933
|
X-Priority: | 3
|
X-MSMail-Priority: | Normal
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Reply-To: | djgpp AT delorie DOT com
|
"Robert Riebisch" <Robert DOT Riebisch AT arcor DOT de> wrote in message
news:6kscdnF9ffloU1 AT mid DOT individual DOT net...
> 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?
> Here's an excerpt from my "installation script":
> ...
> :: GNU GCC 3.4.4
> unzip.exe -j -d %1\bin\gcc-3.4-4 %2\beta\v2gnu\gcc344b.zip bin/*
> unzip.exe -d %1 %2\beta\v2gnu\gcc344b.zip lib/* libexec/*
> :: GNU GCC 4.1.2
> unzip.exe -j -d %1\bin\gcc-4.1-2 %2\beta\v2gnu\gcc412b.zip bin/*
> unzip.exe -d %1 %2\beta\v2gnu\gcc412b.zip lib/* libexec/*
> :: 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?
> 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?
> Notice the missing "c:/djgpp/libexec/" lines. Moving GCC binaries from
> "bin/gcc-4.3-2/" to "bin/" solves the problem, of course, but that's
> not, what I really want. ;-) I understand, that my setup might be weird,
> but it's very convenient for multiple GCCs.
I don't have a fix for your multiple GCC versions problem. But, I do use
multiple DJGPP versions.
What I usually do is install DJGGP into separate version dirs, e.g.:
DJGPP203
DJGPP204
I then have .bat for each which appropriately, using the correct directory
names, sets PATH to the BIN directory, DJGPP to the DJGPP.ENV, and CC to
GCC.
You might be able to do the same for GCC, but at the expense of more disk
space.
Rod Pemberton
- Raw text -