delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/11/01/18:37:58

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-Id: <199911012337.RAA16409@mercury.xraylith.wisc.edu>
To: Mike MacDonald <mmacdona AT tsi DOT gte DOT com>
cc: "'cygwin AT sourceware DOT cygnus DOT com'" <cygwin AT sourceware DOT cygnus DOT com>
Subject: Re: Man
In-Reply-To: Your message of "Mon, 01 Nov 1999 18:12:50 EST."
<D7FDE5F0B39AD21181AA00805FA7183E040AB9F1 AT tpaexc02 DOT tsi DOT gte DOT com>
Date: Mon, 01 Nov 1999 17:37:23 -0600
From: Mumit Khan <khan AT thor DOT xraylith DOT wisc DOT edu>

Mike MacDonald <mmacdona AT tsi DOT gte DOT com> writes:
> Ok, I got man working..  I'm not going to worry about 2.95 until I have
> time..  2.91 is compiling fine for me..

There is no version 2.91 -- I assume you mean 2.91.xx, xx <= 66 (eg.,
2.91.66 corresponds to egcs-1.1.2 if I remember correctly; gcc -v
will provide the correct info).

The problem with -remap is always due to the following -- compiler driver 
from a newer GCC distribution executing CPP from an older GCC distribution
by mistake. The cause can be one of the following:
  
- you have GCC_EXEC_PREFIX defined incorrectly (if so, undefine it
  and see what happens).
- you have GNAT installed. See my web page for workaround.
- inconsistent mount. This is the tricky one, since you have
  to know how GCC looks up subprograms given it's installation directory.

  Let's say you've mounted the /Cygnus/cygwin-b20/H-i586-cygwin32/bin
  as /bin; now you run the following:
    
    $ gcc -v
  
  gcc will now look in the PATH, and find itself in /bin/gcc.exe; it'll
  now try to find it's subprograms in /bin/../lib/gcc-lib/, and will
  fail if you haven't mounted /lib as well.

  The workaround is to put /Cygnus/cygwin-b20/H-i586-cygwin32/bin in your
  PATH *before* /bin.

  export PATH=/Cygnus/cygwin-b20/H-i586-cygwin/bin:/bin:$PATH

I seem to remember that you had trouble when you hardcoded CC=/bin/gcc
in your Makefile; I'd bet the last one biting you. My opinion of this
behaviour is that it's not a bug, rather an annoying side-effect of the
rather bizarre directory hierarchy chosen by Cygnus. I haven't looked
at the CD yet to see what's used there.

Regards,
Mumit



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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