Latest stable ruby, as well as 1.8.1 preview 4, does not build on AIX
5L using gcc (xlc not an option for me right now).
Anyone have manual steps required to compile with gcc on 5.2? Willing
to use older release of ruby, so long as it builds.
dfelicia --> oslevel -r
5200-02
dfelicia --> gcc --version
gcc (GCC) 3.3.2
Copyright © 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There
is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
Thanks!
FYI, here is the build error:
gcc -g -O2 -I. -I. -c dmyext.c
ar rcu libruby-static.a array.o bignum.o class.o compar.o
dir.o dln.o enum.o error.o eval.o file.o gc.o hash.o inits.o
io.o marshal.o math.o numeric.o object.o pack.o parse.o
process.o prec.o random.o range.o re.o regex.o ruby.o signal.o
sprintf.o st.o string.o struct.o time.o util.o variable.o
version.o flock.o dmyext.o
gcc -g -O2 -I. -I. -c main.c
gcc -g -O2 -brtl main.o dmyext.o libruby-static.a -ldl
-lcrypt -lm -o miniruby
gcc: `-b’ must come at the start of the command line
make: 1254-004 The error code from the last command is 1.