This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: bootstrap/1987: GCC 2.95.2 fails to build under Interix 2.2


The following reply was made to PR bootstrap/1987; it has been noted by GNATS.

From: Wolfgang Bangerth <bangerth@ticam.utexas.edu>
To: gcc-gnats@gcc.gnu.org
Cc:  
Subject: Re: bootstrap/1987: GCC 2.95.2 fails to build under Interix 2.2
Date: Fri, 29 Nov 2002 12:30:32 -0600 (CST)

 ---------- Forwarded message ----------
 Date: Tue, 26 Nov 2002 14:07:43 -0600
 From: Ben.Laws@benlaws.com
 To: Bo Najdrovsky <bo@tekelec.com>
 Cc: bangerth@dealii.org
 Subject: Re: bootstrap/1987: GCC 2.95.2 fails to build under Interix 2.2
 
 In looking back through my notes from a year ago, I find that I was able
 to get the 2.95.3 compiler working by applying patches obtained from
 the Microsoft web site found in a sub-directory called "egcs.source".
 This xgcc failure
 
 	 xgcc: Internal compiler error in `do_spec_1', at gcc.c:4507
 
 I think was caused because the shell variable "-L$INTERIX_ROOT/usr/lib"
 wasn't expanded.  Strangely, the patch is still necessary for Interix
 3 even though it is no longer required because the 2.95.3 source has it
 defined.
 
 I used this for the build config:
 
 mkdir -p gcc-2.95.3.obj
 cd gcc-2.95.3.obj
 ../gcc-2.95.3/configure -v --prefix=/usr/local  \
 	--srcdir=../gcc-2.95.3 \
 	--enable-languages=c,c++ \
 	--host=i386-pc-interix
 
 I had better success initially building things under Interix 3 (Beta 2)
 and was able to get the compiler bootstrapped more easily. I actually
 got it working first under Interix 3 (Beta 2). I'd highly recommend not
 attempting this under Interix 2.2 today since Interix 3 is released.
 
 You may be able to save lots of trouble for yourself by looking at the 
 "Unix Tools" at
 	
 	http://www.interopsystems.com/tools/index.htm
 
 	Regards,
 
 	Ben Laws
 
 On Wed, Nov 20, 2002 at 11:19:04AM -0600, Bo Najdrovsky wrote:
 > bangerth@dealii.org wrote:
 > 
 > >Synopsis: GCC 2.95.2 fails to build under Interix 2.2
 > >
 > >State-Changed-From-To: open->feedback
 > >State-Changed-By: bangerth
 > >State-Changed-When: Tue Nov 19 07:57:38 2002
 > >State-Changed-Why:
 > >    This is a rather old bootstrap error. Can you say whether this
 > >    still happens with newer versions of gcc?
 > >    
 > >    Thanks, W.
 > >
 > >http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=1987
 > >  
 > >
 > 
 > 
 > Honestly, I haven't tried to build it lately, but I suspect that the 
 > problem still exists unless the people at Microsoft submitted some major 
 > patches to the project.   Interix is now known as Services For Unix, and 
 > I know that we have been able to get a newer version of the compiler 
 > built here inhouse (I believe it was 2.95.3), but I am not familiar with 
 > the level of difficulty that was involved in doing so.  I am CC'ing the 
 > person here that built it.   Ben, do you have any comments on this?
 > 
 > Bo Najdrovsky
 > bo@iex.com
 > 
 
 -- 
 Ben A. Laws, Jr.
 Ben.Laws@BenLaws.com
 (866)808-2920
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]