delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/08/16/12:42:54

From: pavenis AT lanet DOT lv
Message-ID: <B0000098241@stargate.astr.lu.lv>
To: Robert Hoehne <robert DOT hoehne AT gmx DOT net>, djgpp-workers AT delorie DOT com
Date: Mon, 16 Aug 1999 19:28:35 +0300
MIME-Version: 1.0
Subject: Re: Upcomming gcc-2.95 and RHIDE
In-reply-to: <199908161204.OAA04744@robby.dittmannsdorf.de>
References: <B0000098143 AT stargate DOT astr DOT lu DOT lv>
X-mailer: Pegasus Mail for Win32 (v3.12)
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

The source problem is clear and is NOT present in DJGPP port of GCC-
2.95 which is available from Simtelnet. 

I can reproduce the problem also with my binaries of gcc-2.95.1 
prerelease and binutils-2.9.1. Port of gcc-2.95 in simtelnet is Ok.

At configure time some features of GAS is checked and if they are 
present they are used also in compiler later. I built "official" port of 
GCC-2.95 using binutils-2.9.1 which does not have this feature.

For 19990808 GCC snapshot I used 10 July binutils snapshot which 
have new features and as result object files generated by freshly built 
compiler may be incompatible with old 
binutils.

Andris

On 16 Aug 99, at 14:06, Robert Hoehne wrote:

> When Testing gcc 2.951 with RHIDE I found the following (stripped down
> to the problem):
> 
> file test.c:
> 
> void test()
> {
>   double  yylval;
>   char y = ' ';
>   yylval=y|0x20;
> }
> 
> 
> compiling with
> 
> gcc -v -o test.o test.c
> 
> produces:
> 
> Reading specs from d:/djgpp/lib/gcc-lib/djgpp/2.951/specs
> gcc version 2.95.1 19990809 (prerelease)
>  d:/djgpp/lib/gcc-lib/djgpp/2.951/cpp.exe -lang-c -v -isystem d:/djgpp/bin/include -D__GNUC__=2 -D__GNUC_MINOR__=95 -Dunix -Di386 -DGO32 -DDJGPP=2 -DMSDOS -D__unix__ -D__i386__ -D__GO32__ -D__DJGPP__=2 -D__MSDOS__ -D__unix -D__i386 -D__GO32 -
> D__DJGPP=2 -D__MSDOS -Asystem(unix) -Asystem(msdos) -Acpu(i386) -Amachine(i386) -Acpu(i386) -Amachine(i386) -Di386 -D__i386 -D__i386__ -Di586 -Dpentium -D__i586 -D__i586__ -D__pentium -D__pentium__ -imacros d:/djgpp/lib/../include/sys/version.h -
> remap test.c e:/tmp\ccfWZpjd.i
> GNU CPP version 2.95.1 19990809 (prerelease) (80386, BSD syntax)
> #include "..." search starts here:
> #include <...> search starts here:
>  d:/djgpp/include
>  d:/djgpp/lib/gcc-lib/djgpp/2.951/include
>  d:/djgpp/include
> End of search list.
> The following default directories have been omitted from the search path:
>  $DJDIR/lang/cxx
>  $DJDIR/lib/gcc-lib/djgpp/2.951/../../../../djgpp/include
> End of omitted list.
>  d:/djgpp/lib/gcc-lib/djgpp/2.951/cc1.exe e:/tmp\ccfWZpjd.i -quiet -dumpbase test.c -version -o e:/tmp\ccI4Q9el.s
> GNU C version 2.95.1 19990809 (prerelease) (djgpp) compiled by GNU C version 2.95.1 19990809 (prerelease).
>  d:/djgpp/bin/as.exe -o e:/tmp\ccDdZRVw.o e:/tmp\ccI4Q9el.s
> e:/tmp\ccI4Q9el.s: Assembler messages:
> e:/tmp\ccI4Q9el.s:16: Error: no such 386 instruction: `filds'
> 
> here the output from as --version
> 
> GNU assembler 2.8.1
> Copyright 1997 Free Software Foundation, Inc.
> This program is free software; you may redistribute it under the terms of
> the GNU General Public License.  This program has absolutely no warranty.
> This assembler was configured for a target of `i386-pc-msdosdjgpp'.
> 
> 
> It seems, that gcc 2.951 is not at all compatible with binutils 2.81
> 
> Robert
> 
> ******************************************************
> * email:   Robert Hoehne <robert DOT hoehne AT gmx DOT net>     *
> * Post:    Am Berg 3, D-09573 Dittmannsdorf, Germany *
> * WWW:     http://www.tu-chemnitz.de/~sho/rho        *
> ******************************************************
> 


- Raw text -


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