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

Mike MacDonald <mmacdona@tsi.gte.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@sourceware.cygnus.com

