ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2008/10/11/03:54:42

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Recipient: djgpp AT delorie DOT com
Message-ID: <48F05B63.2040701@iki.fi>
Date: Sat, 11 Oct 2008 10:53:07 +0300
From: Andris Pavenis <andris DOT pavenis AT iki DOT fi>
User-Agent: Thunderbird 2.0.0.16 (X11/20080723)
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Re: GCC 4.3.2 doesn't find cc1.exe
References: <6kscdnF9ffloU1 AT mid DOT individual DOT net> <gcblbd$uas$1 AT aioe DOT org> <6kv8ogF9t53aU1 AT mid DOT individual DOT net> <gcea47$cf4$1 AT aioe DOT org> <6l16r5F9r656U1 AT mid DOT individual DOT net> <gcggg0$42l$1 AT aioe DOT org> <6l9c87Fb8aqnU1 AT mid DOT individual DOT net>
In-Reply-To: <6l9c87Fb8aqnU1@mid.individual.net>
Reply-To: djgpp AT delorie DOT com

Robert Riebisch wrote:
> Rod Pemberton wrote:
> 
>> 0) those whom I'd expect to see a response from, haven't responded
> 
> Correct. I wish Andris would care about.

There are several ways how to have several GCC versions installed:

1) rename executables in $DJDIR/bin. For example:
	gcc.exe -> cc432.exe,
	gfortran.exe -> gfort432.exe
    	etc.
    Of course replace version accordingly.

2) unpack GCC binary archives somewhere else with directory structure preserved
    and put corresponding bin directory (one which contains gcc.exe etc)
    in PATH before DJGPP bin directory. This way is going to work with all
    recent enough GCC versions (it means except really ancient ones).
    Example:
	DJGPP directory:  C:/DJGPP
	GCC-4.3.2 unpacked in C:/GCC-4.32

	set DJGPP=C:/DJGPP/DJGPP.ENV
	set PATH=C:\GCC-4.32\BIN;C:\DJGPP\BIN;%PATH%

It is also recommended to use GCC command line options -v and
-print-search-dirs (see docs if needed) to see whether GCC is looking
for files in correct directories.

Andris

- Raw text -


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