[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: compiling development sources
From: |
Carlo de Falco |
Subject: |
Re: compiling development sources |
Date: |
Thu, 11 Feb 2010 14:10:00 +0100 |
On 11 Feb 2010, at 13:37, Ben Abbott wrote:
(2) If you try gfortran for gcc 4.2, look over my patch below for
the MacOS X specific additions that are needed.
Binary files qrupdate.orig/.Makeconf.swp and
qrupdate-1.0.1/.Makeconf.swp differ
diff -urN -x .DS_Store qrupdate.orig/Makeconf qrupdate-1.0.1/Makeconf
--- qrupdate.orig/Makeconf 2009-03-11 02:08:32.000000000 -0400
+++ qrupdate-1.0.1/Makeconf 2009-09-17 08:46:54.000000000 -0400
@@ -1,14 +1,14 @@
# set this to your compiler's executable name (e.g. gfortran, g77)
FC=gfortran
# requested flags
-FFLAGS=-fimplicit-none -O3 -funroll-loops
+FFLAGS=-fimplicit-none -O3 -funroll-loops -ff2c
# set if you need shared library
FPICFLAGS=-fPIC
# BLAS library (only required for tests)
-BLAS=-lblas
+BLAS=-framework Accelerate
# LAPACK library (only required for tests)
-LAPACK=-llapack
+LAPACK=-framework Accelerate
# Library version
VERSION=1.0
@@ -16,5 +16,5 @@
# set default prefix to /usr/local
ifeq ($(strip $(PREFIX)),)
- PREFIX=/usr/local
+ address@hidden@
endif
Ben
Ben, Thanks for the hints!
I will try gfortran, but first I see maybe another problem:
you are adding the flag '-ff2c' when building qrupdate,
do you also have that in the Octave configuration?
I have the following for qrupdate:
FC=g95
FFLAGS=-g -O3 -funroll-loops
FPICFLAGS=-fPIC
BLAS=-Wl,-framework,Accelerate
LAPACK=-Wl,-framework,Accelerate
and for Octave I use:
./configure F77=g95 CPPFLAGS="-I/sw/lib/flex/include -I/sw/include"
LDFLAGS="-L/sw/lib/flex/lib -L/sw/lib -L${PWD}/../arpack -L${PWD}/../
qrupdate-1.1.0" --prefix=/opt/octave/3.3
which means FFLAGS is left at its default:
-O -mieee-fp
Maybe I should rebuild all with -ff2c?
c.
P.S. even if I get passed the problem with qrupdate, it seems I should
expect more trouble later,
building with --without-qrupdate I get
scripts/image/imread.m .................................Assertion
failed: (semaphore_info != (SemaphoreInfo *) NULL), function
LockSemaphoreInfo, file magick/semaphore.c, line 525.
panic: Abort trap -- stopping myself...
make[2]: *** [check] Abort trap
make[1]: *** [check-recursive] Error 1
make: *** [check] Error 2
- Re: compiling development sources, (continued)
- Re: compiling development sources, Carlo de Falco, 2010/02/11
- Re: compiling development sources, Jaroslav Hajek, 2010/02/11
- Re: compiling development sources, Carlo de Falco, 2010/02/11
- Re: compiling development sources, Jaroslav Hajek, 2010/02/11
- Re: compiling development sources, Jaroslav Hajek, 2010/02/11
- Re: compiling development sources, Carlo de Falco, 2010/02/11
- Re: compiling development sources, Carlo de Falco, 2010/02/16
- Re: compiling development sources, Carlo de Falco, 2010/02/17
- Re: compiling development sources, Jaroslav Hajek, 2010/02/11
- Re: compiling development sources, Ben Abbott, 2010/02/11
- Re: compiling development sources,
Carlo de Falco <=
- Re: compiling development sources, Carlo de Falco, 2010/02/11
- Re: compiling development sources, Ben Abbott, 2010/02/11
- Re: compiling development sources, Carlo de Falco, 2010/02/11