On 13 March 2006 at 07:50, Stephen R Marenka wrote:
| On Sat, Mar 11, 2006 at 10:16:22PM -0600, Dirk Eddelbuettel wrote:
| > 
| > Try this, please:
| 
| Ends up with the following command line, which fails.
| 
| | g77  -w -O0 -fPIC  -g -O2 -c 034B-GarchModelling.f -o 034B-GarchModelling.o

I was afraid of that. I noticed in my tests that PKG_FFLAGS gets added to the
existing hard-coded flags from /etc/R/Makeconf. There must be a way to
override them, but I haven't found it.  Will talk to to upstream. Actually,
before CCing upstream I just googled and found eg this from the R-devel list

http://tolstoy.newcastle.edu.au/R/devel/05/02/2173.html

so you could try the 'if m68k' line in debian/rules to start as 
        MAKEFLAGS="CFLAGS=-O1" R CMD INSTALL ....
where .... is everything we currently have behind INSTALL.

| BTW: I'm uploading the package I built with 034B-GarchModelling.f
| compiled with -O1 by hand. I'll leave my test stuff in place if you want
| me to try some other patches.

Super, thanks. I really appreciate the manual help!

Cheers, Dirk

-- 
Hell, there are no rules here - we're trying to accomplish something. 
                                                  -- Thomas A. Edison


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to