[ruby-talk:02533] Re: Ruby 1.4.4

From: "Dat Nguyen" <thucdat@...>
Date: 2000-04-20 15:01:15 UTC
List: ruby-talk #2533

>From: Katsuyuki Komatsu <komatsu@sarion.co.jp>
>Reply-To: ruby-talk@netlab.co.jp
>To: ruby-talk@netlab.co.jp (ruby-talk ML)
>Subject: [ruby-talk:02532] Re: Ruby 1.4.4
>Date: Thu, 20 Apr 2000 23:40:49 +0900
>
>In the message of [ruby-talk:02531] Re: Ruby 1.4.4
>     on 2000/4/20 09:28:46 "Dat Nguyen" <thucdat@hotmail.com> wrote:
>
> >outback:dnguyen$ gcc -v
> >Reading specs from
> >/usr/contrib/r/06/lib/gcc-lib/rs6000-ibm-aix/2.4.5/specs
> >gcc version 2.4.5
>
>According to the gcc's ChangeLog, 2.4.5 released 7 years ago...
>
>==
>Sun Jun 20 13:37:00 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
>
>	* Version 2.4.5 released.
>==
>
> >I tried the native C compiler of IBM xlc on this machine, but it did not
> >improve the build:
> >
> >outback:dnguyen$ make
> >	xlc -g -O2 -I. -I. -I/usr/local/include -c array.c
> >	"ruby.h", line 424.19: 1506-172 (S) Parameter type list for
> >	function rb_raise contains parameters without identifiers.
> >	"ruby.h", line 424.26: 1506-172 (S) Parameter type list for
> >	function rb_raise contains parameters without identifiers.
> >	"ruby.h", line 424.45: 1506-276 (S) Syntax error: possible
> >	missing '{'?
>
>This means your config.h has the following line inherited
>from old configure using gcc.
>
>     #define HAVE_ATTR_NORETURN 1
>
>So, please do `make distclean' first and restart from `configure'.
>
>ex.)
>     make distclean
>     env CC=xlc ./configure
>     make
>     make test
>     make install
>
>--
>Katsuyuki Komatsu <komatsu@sarion.co.jp>

I erase everything, tar -xvf the whole thing again, and do:

$ env CC=xlc ./configure
$ make
xlc -g -I. -I. -I/usr/local/include -c array.c
xlc -g -I. -I. -I/usr/local/include -c bignum.c
xlc -g -I. -I. -I/usr/local/include -c class.c
"node.h", line 112.17: 1506-046 (S) Syntax
error.
make: 1254-004 The error code from the last
command is 1.


Stop.

$

This xlc version seems not to be able to handle the build either. I've 
downloaded and am trying to build the latest gcc. Hopefully it'll do it.

Dat
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

In This Thread

Prev Next