delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/08/05/04:25:49

From: pavenis AT lanet DOT lv
Message-ID: <B0000097225@stargate.astr.lu.lv>
To: djgpp-workers AT delorie DOT com
Date: Thu, 5 Aug 1999 10:39:09 +0300
MIME-Version: 1.0
Subject: Re: config.guess patch for new uname()
In-reply-to: <37A86F27.79ACAB47@softhome.net>
X-mailer: Pegasus Mail for Win32 (v3.11)
Reply-To: djgpp-workers AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

If we are going change uname I should patch config.guess in 
gcc-2.95. There no need to rebuild binary archives. Only 
gcc295s.zip and gcc295patch.zip should be modified.

Andris

On 4 Aug 99, at 18:49, Laurynas Biveinis wrote:

> Hello,
> 
> I still don't know if my patch for uname() is accepted
> but anyway I'm sending patch for config.guess to make
> it behave correctly. It works OK for me. I think it 
> should be sent for maintainers of Autoconf, right?
> 
> Laurynas Biveinis
> -----------------
> --- config.guess.old	Tue Jan  5 08:28:46 1999
> +++ config.guess	Wed Aug  4 18:40:54 1999
> @@ -711,7 +711,12 @@
>  	fi
>  	echo ${UNAME_MACHINE}-unixware-${UNAME_RELEASE}-${UNAME_VERSION}
>  	exit 0 ;;
> +    i?86:*DOS:*:*)
> +        # Now DJGPP uname -m prints correct CPU type instead of "pc" u
> +        echo ${UNAME_MACHINE}-pc-msdosdjgpp
> +        exit 0 ;;
>      pc:*:*:*)
> +        # Left for compatibility (for old uname version):
>          # uname -m prints for DJGPP always 'pc', but it prints nothing about
>          # the processor, so we play safe by assuming i386.
>  	echo i386-pc-msdosdjgpp
> 
> 


- Raw text -


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