Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-ID: <003c01bf9003$e4c858a0$a14e1c3f@toolbox> From: "Sean Champ" To: "Cygwin-general" Subject: cygwin b20 : gcc-2.95.2 : "Install" file Date: Fri, 17 Mar 2000 03:28:17 -0800 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_003A_01BF8FC0.D5FD3FE0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 ------=_NextPart_000_003A_01BF8FC0.D5FD3FE0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable attatched to this email is a changed copy of the "INSTALL" file for the = gnu compiler collection, version 2.95.2, from the xraylith.wisc.edu FTP = site. edited: =20 % cd /Cygnus/cygwin-b20 % cat /tmp/gcc-2.95.2-cygb20.tar.gz.* | tar zxvf - =20 was changed to what it is in the attached file, which returned no error = messages. (apologies if this should've been diff-ed. i'm still working on getting = through how to get going with a functional install of cygwin.) -- sean ------=_NextPart_000_003A_01BF8FC0.D5FD3FE0 Content-Type: application/octet-stream; name="INSTALL.edited" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="INSTALL.edited" GCC-2.95.2 for Cygwin B20.x -- Installation instructions=0A= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=0A= =0A= 1. Choose what packages to download:=0A= =0A= a. gcc-2.95.2-cygb20.tar.gz ....... [MANDATORY] C/C++/F77/ObjC/Java =0A= b. gcc-2.95.2-docs-info.tar.gz .... [OPTIONAL] Docs in GNU info format =0A= c. gcc-2.95.2-docs-html.tar.gz .... [OPTIONAL] Docs in HTML format =0A= d. gcc-2.95.2-mingw-extra.tar.gz .. [OPTIONAL] Mingw extra package.=0A= e. gcc-2.95.2-dev-ss.tar.gz ....... [OPTIONAL] For Cygwin dev snapshots=0A= =0A= 1. Get the mandatory package first.=0A= =0A= (1) If you're on a fast link, just get the following files:=0A= =0A= - gcc-2.95.2-cygb20.tar.gz=0A= =0A= (2) For slower links, get the split files from "split" directory.=0A= =0A= - gcc-2.95.2-cygb20.tar.gz.*=0A= =0A= Now get the optional packages that you may want. I recommend you get=0A= at least one of the documentation packages (info or HTML format).=0A= =0A= 2. Pre-installation:=0A= =0A= You MUST have Cygwin b20.1 (the "full" distribution) already installed.=0A= See http://sourceware.cygnus.com/cygwin/ for more info.=0A= =0A= You can either choose to replace your system compiler or install this=0A= elsewhere so you can have both. =0A= =0A= If you choose to replace system compiler, just skip to the next = section.=0A= =0A= If you choose NOT to replace your system compiler, and want to = maintain =0A= both, then you should note the following:=0A= =0A= GCC-2.95.2 will look for headers/libraries first in it's installation=0A= area, and *then* in /Cygnus/cygwin-b20/... If you've installed Cygwin=0A= b20 in C:/Cygnus, or you have mounted the installation tree under=0A= /Cygnus, then you can install this package anywhere you want=0A= and have both compilers available. No need to set any GCC-related=0A= variable such as GCC_EXEC_PREFIX, C_INCLUDE_PATH and so on.=0A= =0A= However, if you have installed Cygwin somewhere else, eg., in D:=0A= drive, then you need to mount the Cygwin install directory as /Cygnus=0A= and that will take care of it.=0A= =0A= $ mount -b d:/Cygnus /Cygnus=0A= =0A= 3. INSTALL GCC-2.95.2 (replace system compiler):=0A= =0A= a. If you have the whole file gcc-2.95.2-cygb20.tar.gz=0A= =0A= % cd /Cygnus/cygwin-b20=0A= % tar zxvf /tmp/gcc-2.95.2-cygb20.tar.gz=0A= =0A= !! WARNING: DO NOT USE WINZIP OR SOME SUCH WINDOWS TOOL TO UNPACK.=0A= That will certainly screw up hard links and you'll end up with=0A= a non-working system. And, please do resist the impulse to send =0A= me email telling me that I am wrong about this. !!=0A= =0A= b. If you have the "split" files:=0A= =0A= % cd /cygnus/cygwin-b20/tmp=0A= % gzip -cd *.gz | tar xvf - -C /cygnus/cygwin-b20=0A= =0A= You may want to make sure you have binary mounts or set the=0A= binmode option in CYGWIN *before* starting bash. You'll get=0A= garbage in text mode.=0A= =0A= 4. Setting up environment variables and such:=0A= =0A= It's already done for you when you start bash using cygnus.bat (or=0A= using the Start Menu).=0A= =0A= 5. INSTALL GCC-2.95.2 OPTIONAL packages following exactly the same steps.=0A= =0A= Good luck.=0A= =0A= Links:=0A= =0A= Cygnus Gnu-Win32 : http://www.cygnus.com/misc/gnu-win32/=0A= GNU Compilers : http://gcc.gnu.org/=0A= My stuff : http://www.xraylith.wisc.edu/~khan/software/gnu-win32/=0A= =0A= Mumit Khan -- khan AT xraylith DOT wisc DOT edu=0A= http://www.xraylith.wisc.edu/~khan/=0A= =0A= ------=_NextPart_000_003A_01BF8FC0.D5FD3FE0 Content-Type: text/plain; charset=us-ascii -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com ------=_NextPart_000_003A_01BF8FC0.D5FD3FE0--