Re: Sun's make "almost" works

About this list Date view Thread view Subject view Author view Other groups

Subject: Re: Sun's make "almost" works
From: Kurt Hornik (Kurt.Hornik@ci.tuwien.ac.at)
Date: Thu 21 Oct 1999 - 16:48:28 EST


Message-ID: <14350.46908.819883.590823@fangorn.ci.tuwien.ac.at>

>>>>> Martin Maechler writes:

> I don't know if we still strive for non-GNU make capability..

Yes. However, my experience is that for non-GNU make we typically need
builddir == srcdir.

> Anyway, here a report:

> I was using the builddir != srcdir approach on Sun Solaris 2.6, and
> normal Sun make (/usr/ccs/bin/make) worked up to producing a correct
> R.X11 binary.

> It failed when trying to make the first
> src/library/<pkg>/src/<pkg>.so, namely in eda/src with

> make: Fatal error: Don't know how to make target `line.o'

> where GNU make then did

> gcc -I../../../../include -DHAVE_CONFIG_H -fPIC -g -O2 -c ../../../../../SRC/src/library/eda/src/line.c -o line.o
> .......

Hmm, what is different between the rules in src and the library ones?
Can you try replacing $(SHLIB) by its value in eda's src/Makefile and
then see what happens?

-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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b25 : Tue 04 Jan 2000 - 14:16:09 EST