Skip to content
Prev 2303 / 63424 Next

Almost succesfull build on AIX

Actually, replacing it by an explicit `Makefile' is much better.  Sorry
for that.  I keep forgetting that $< does strange things with some make
programs ... fixed now.
Kurt> Please, NOT with 0.64.2.  All my configure/make changes are in 0.65!
:-)  (Actually, I think devel is more stable than release.  The major
difference is that configure/make changes are all in devel as they
typically are NOT bug fixes at all, so they must be in devel ...

Kurt> gcc (cannot find libgcc.a???)
How does this work exactly?

Kurt> The specs file is fine.  My question is, is that a known gcc problem on
Kurt> AIX or is that due to the rather outdated version of gcc we have?  If it
Kurt> is a general problem, I can easily add to DLLFLAGS.
Here's what happens:

e8725245@fbma:/tmp/fl/build/src/main$ gmake LDCMD=gcc
gmake[1]: Entering directory `/tmp/fl/build/src/main'
gmake[1]: `Makedeps' is up to date.
gmake[1]: Leaving directory `/tmp/fl/build/src/main'
gmake[1]: Entering directory `/tmp/fl/build/src/main'
gcc -bdynamic -bE:../../etc/R.exp -bM:SRE -lc -lm -o ../../bin/R.X11 arithmetic.o array.o attrib.o bind.o builtin.o character.o coerce.o colors.o complex.o context.o cov.o cum.o debug.o deparse.o deriv.o devices.o dotcode.o dstruct.o duplicate.o envir.o errors.o eval.o format.o fourier.o gram.o gram-ex.o graphics.o iosupport.o list.o logic.o main.o match.o memory.o model.o names.o objects.o optimize.o options.o par.o paste.o platform.o plot.o plot3d.o plotmath.o print.o printarray.o printvector.o printutils.o random.o relop.o saveload.o scan.o seq.o sort.o source.o split.o subassign.o subscript.o subset.o summary.o unique.o util.o version.o ../unix/libunix.a ../appl/libappl.a ../nmath/libmath.a  -lX11  -lblas  -L/usr/local/lib -lxlf90 -lxlf -lm  -ldl -ltermcap -lm 
ld: 0706-005 Cannot find or open file: libgcc.a
        ld:open(): No such file or directory
ld: 0706-005 Cannot find or open file: libgcc.a
        ld:open(): No such file or directory
gmake[1]: *** [../../bin/R.X11] Error 1
gmake[1]: Leaving directory `/tmp/fl/build/src/main'
gmake: *** [R] Error 2

???  and interestingly, adding
-L/usr/local/lib/gcc-lib/rs6000-ibm-aix3.2.5/2.7.2/ does not help.
-k
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._