![]() |
Blitz Support : |
From: Andrew Hurst (andrewhurst_at_[hidden])
Date: 2005-06-15 10:51:02
Hello,
apologies for not writing back earlier.
Here's the output from .configure:
---------------------------------------------------------------------------------------------
hmlf_at_wurundjeri:~/blitz-0.8$ ./configure --host=i586-mingw32msvc --build=i686-pc-linux-gnu
--target=i586-mingw32msvc --disable-shared --enable-std_iostreams
checking build system type... i686-pc-linux-gnu
checking host system type... i586-pc-mingw32msvc
checking target system type... i586-pc-mingw32msvc
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for i586-mingw32msvc-strip... i586-mingw32msvc-strip
checking whether to enable maintainer-specific portions of Makefiles... no
configure:
Configuring blitz 0.8 for i586-pc-mingw32msvc
checking for i586-mingw32msvc-xlf... no
checking for i586-mingw32msvc-ifort... no
checking for i586-mingw32msvc-ifc... no
checking for i586-mingw32msvc-f77... no
checking for i586-mingw32msvc-g77... no
checking for i586-mingw32msvc-pgf77... no
checking for i586-mingw32msvc-fort77... no
checking for xlf... no
checking for ifort... no
checking for ifc... no
checking for f77... f77
checking for Fortran 77 compiler default output file name... a.out
checking whether the Fortran 77 compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether f77 accepts -g... yes
checking for i586-mingw32msvc-xlf90... no
checking for i586-mingw32msvc-ifort... no
checking for i586-mingw32msvc-ifc... no
checking for i586-mingw32msvc-f90... no
checking for i586-mingw32msvc-pgf90... no
checking for xlf90... no
checking for ifort... no
checking for ifc... no
checking for f90... no
checking for pgf90... no
checking whether we are using the GNU Fortran compiler... no
checking whether accepts -g... no
checking whether using f77 and preset flags... yes
configure:
Blitz++ has not been tuned for this platform. You may have trouble
building fortran benchmarks, and performance may be unexciting.
checking for i586-mingw32msvc-xlc++... no
checking for i586-mingw32msvc-icpc... no
checking for i586-mingw32msvc-icc... no
checking for i586-mingw32msvc-xlC... no
checking for i586-mingw32msvc-cxx... no
checking for i586-mingw32msvc-aCC... no
checking for i586-mingw32msvc-CC... no
checking for i586-mingw32msvc-g++... i586-mingw32msvc-g++
checking whether we are using the GNU C++ compiler... yes
checking whether i586-mingw32msvc-g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of i586-mingw32msvc-g++... gcc3
checking whether using i586-mingw32msvc-g++ preset flags... yes
configure: No flags preset found for i586-mingw32msvc-g++
checking compiler specific header...
checking for doxygen... doxygen
checking for dot... dot
checking whether to enable C++/Fortran 64-bit compilation flags... no
checking for i586-mingw32msvc-gcc... i586-mingw32msvc-gcc
checking whether we are using the GNU C compiler... yes
checking whether i586-mingw32msvc-gcc accepts -g... yes
checking for i586-mingw32msvc-gcc option to accept ANSI C... none needed
checking dependency style of i586-mingw32msvc-gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by i586-mingw32msvc-gcc... /usr/i586-mingw32msvc/bin/ld
checking if the linker (/usr/i586-mingw32msvc/bin/ld) is GNU ld... yes
checking for /usr/i586-mingw32msvc/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/i586-mingw32msvc-nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... file_magic file format pei*-i386(.*architecture:
i386)?
checking how to run the C preprocessor... i586-mingw32msvc-gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... no
checking dlfcn.h presence... no
checking for dlfcn.h... no
checking how to run the C++ preprocessor... i586-mingw32msvc-g++ -E
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/i586-mingw32msvc-nm -B output from i586-mingw32msvc-gcc
object... ok
checking for objdir... .libs
checking for i586-mingw32msvc-ar... i586-mingw32msvc-ar
checking for i586-mingw32msvc-ranlib... i586-mingw32msvc-ranlib
checking for i586-mingw32msvc-strip... (cached) i586-mingw32msvc-strip
checking if i586-mingw32msvc-gcc static flag works... yes
checking if i586-mingw32msvc-gcc supports -fno-rtti -fno-exceptions... no
checking for i586-mingw32msvc-gcc option to produce PIC... -DDLL_EXPORT
checking if i586-mingw32msvc-gcc PIC flag -DDLL_EXPORT works... yes
checking if i586-mingw32msvc-gcc supports -c -o file.o... yes
checking whether the i586-mingw32msvc-gcc linker (/usr/i586-mingw32msvc/bin/ld) supports shared
libraries... yes
checking dynamic linker characteristics... Win32 ld.exe
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by i586-mingw32msvc-g++... /usr/i586-mingw32msvc/bin/ld
checking if the linker (/usr/i586-mingw32msvc/bin/ld) is GNU ld... yes
checking whether the i586-mingw32msvc-g++ linker (/usr/i586-mingw32msvc/bin/ld) supports shared
libraries... yes
checking for i586-mingw32msvc-g++ option to produce PIC... -DDLL_EXPORT
checking if i586-mingw32msvc-g++ PIC flag -DDLL_EXPORT works... yes
checking if i586-mingw32msvc-g++ supports -c -o file.o... yes
checking whether the i586-mingw32msvc-g++ linker (/usr/i586-mingw32msvc/bin/ld) supports shared
libraries... yes
checking dynamic linker characteristics... Win32 ld.exe
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for f77 option to produce PIC... -DDLL_EXPORT
checking if f77 PIC flag -DDLL_EXPORT works... yes
checking if f77 supports -c -o file.o... yes
checking whether the f77 linker (/usr/i586-mingw32msvc/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... Win32 ld.exe
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for sin in -lm... yes
configure:
Checking to see if there is a usable BLAS library kicking around...
(If so, Blitz++ will use BLAS library to run benchmarks against
if you build the benchmarks. Blitz++ itself does NOT use BLAS).
checking for daxpy_ in -lblas... no
checking for daxpy in -lblas... no
checking for DAXPY in -lblas... no
checking for daxpy__ in -lblas... no
checking whether to enable i586-mingw32msvc-g++ optimization flags... no
checking whether to enable i586-mingw32msvc-g++ debug flags... no
configure:
C++ compiler (i586-mingw32msvc-g++ -g -O2 ) characteristics
configure:
Checking major C++ language features
checking whether the compiler implements namespaces... yes
checking whether the compiler supports exceptions... yes
checking whether the compiler supports Run-Time Type Identification... yes
checking whether the compiler supports member constants... yes
checking whether the compiler accepts the old for scoping rules... no
configure:
Now for some of the new keywords
checking whether the compiler supports the explicit keyword... yes
checking whether the compiler supports the mutable keyword... yes
checking whether the compiler recognizes typename... yes
checking whether the compiler supports the Numerical C Extensions Group restrict keyword... no
checking whether the compiler recognizes the '__restrict__' keyword... yes
checking whether the compiler recognizes bool as a built-in type... yes
configure:
Does your compiler understand the newfangled casting syntax?
checking whether the compiler supports const_cast<>... yes
checking whether the compiler supports static_cast<>... yes
checking whether the compiler supports reinterpret_cast<>... yes
checking whether the compiler supports dynamic_cast<>... yes
configure:
Okay, now the important stuff -- templates
checking whether the compiler supports basic templates... yes
checking whether the compiler supports partial specialization... yes
checking whether the compiler supports partial ordering... yes
checking whether the compiler supports default template parameters... yes
checking whether the compiler supports member templates... yes
checking whether the compiler supports member templates outside the class declaration... yes
checking whether the compiler recognizes the full specialization syntax... yes
checking whether the compiler supports function templates with non-type parameters... yes
checking whether the compiler supports template-qualified base class specifiers... no
checking whether the compiler supports template-qualified return types... yes
checking whether the compiler supports explicit template function qualification... yes
checking whether the compiler supports templates as template arguments... yes
checking whether the compiler supports use of the template keyword as a qualifier... yes
checking whether the compiler supports function matching with argument types which are template
scope-qualified... yes
checking whether the compiler will support the vector type promotion mechanism... yes
checking whether the compiler supports numeric traits promotions... yes
checking whether the compiler handle computations inside an enum... yes
checking whether the compiler handles (int) casts in enum computations... yes
configure:
Which library features does your compiler provide?
checking whether the compiler has complex<T>... yes
checking whether the compiler has standard complex<T> functions... yes
checking whether the compiler has numeric_limits<T>... yes
checking whether the compiler has <climits> header... yes
checking whether the compiler has valarray<T>... yes
checking whether the compiler has complex math functions... yes
checking whether the compiler has more complex math functions... no
checking whether the compiler supports IEEE math library... no
checking whether the compiler supports System V math library... no
checking whether the compiler has C math functions in namespace std... yes
checking whether complex math functions are in namespace std... yes
checking whether the compiler supports ISO C++ standard library... yes
checking whether the compiler supports Standard Template Library... yes
checking whether the compiler has getrusage() function... no
configure:
CXX = i586-mingw32msvc-g++
CXXFLAGS = -g -O2
CXX_OPTIMIZE_FLAGS =
CXX_DEBUG_FLAGS =
CXXFFLAGS =
F77 = f77
FFLAGS = -g -O2
F77_OPTIMIZE_FLAGS =
FC =
FCFLAGS =
FC_OPTIMIZE_FLAGS =
FORTLIBS =
BLASLIB =
checking our pkgconfig libname... blitz
checking our pkgconfig version... 0.8
checking our pkgconfig_libdir... ${libdir}/pkgconfig
expanded our pkgconfig_libdir... /usr/local/lib/pkgconfig
checking our pkgconfig_libfile... blitz.pc
checking our pkgconfig description... blitz Library
checking our pkgconfig requires...
checking our pkgconfig ext libs... -lblitz -lm
checking our pkgconfig cppflags...
noninstalled pkgconfig -L /home/hmlf/blitz-0.8/src/.libs
noninstalled pkgconfig -I /home/hmlf/blitz-0.8/.
configure: creating ./config.status
config.status: creating Makefile
config.status: creating bin/Makefile
config.status: creating blitz/Makefile
config.status: creating blitz/array/Makefile
config.status: creating blitz/generate/Makefile
config.status: creating blitz/meta/Makefile
config.status: creating random/Makefile
config.status: creating lib/Makefile
config.status: creating testsuite/Makefile
config.status: creating examples/Makefile
config.status: creating benchmarks/Makefile
config.status: creating benchmarks/plot_benchmarks.m
config.status: creating doc/Makefile
config.status: creating doc/examples/Makefile
config.status: creating doc/stencils/Makefile
config.status: creating doc/doxygen/Makefile
config.status: creating doc/doxygen/Doxyfile
config.status: creating blitz/config.h
config.status: executing depfiles commands
config.status: executing blitz.pc commands
config.status: creating blitz.pc.in
config.status: creating blitz.pc
config.status: creating blitz-uninstalled.pc
configure:
The configure script has generated makefiles for your platform.
You have several options now:
make lib Check the compiler and create libblitz.a
make check-testsuite Build and check the testsuite
make check-examples Build and check the examples
make check-benchmarks Build and check the benchmarks (takes a long time)
make install Install Blitz++
--------------------------------------------------------------------------------------
Cheers,
Andy
----- Original Message -----
From: "Julian Cummings"
> Hello Andy,
>
> I believe something went wrong during the configuration, but I need more
> info to sort this out. What compiler version are you using? Could you
> please send your config.log file so I can see the results of the
> configuration tests?
>
> Also, make sure you are using the latest version of the blitz source code
> from the cvs repository. Just within the past week, I corrected a problem
> with the isnan function, which is declared as a macro by some compilers.
> But since you have the same problem also with the expm1 function, I think
> there is something else going wrong here.
>
expm1 function was only recently (2005-02-11) added to mingw runtime. It
may not be in released versions.
isnan is defined as a macro (as per C99) in mingw's math.h
C99 math bits are guarded by:
#if (defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
|| !defined __STRICT_ANSI__ || defined __cplusplus
Danny
> Regards, Julian C.
>
> Dr. Julian C. Cummings
> Staff Scientist, CACR/Caltech
> (626) 395-2543
> cummings_at_[hidden]
>
>
> > -----Original Message-----
> > From: blitz-support-bounces_at_[hidden]
> > [mailto:blitz-support-bounces_at_[hidden]] On Behalf Of
> > Andrew Hurst
> > Sent: Friday, May 27, 2005 7:58 AM
> > To: blitz-support_at_[hidden]
> > Subject: [Blitz-support] blitz under mingw32
> >
> > Hello,
> > I've just 'inherited' a program using the blitz library.
> > Thus I came across compiling blitz++ for windows using mingw32.
> > Has it been done?
> >
> > I can't get it to compile using i586-mingw32msvc.
> > Used configure thus:
> > ./configure --host=i586-mingw32msvc --build=i686-pc-linux-gnu
> > --target=i586-mingw32msvc --disable-shared --enable-std_iostreams
> >
> > The first error is attached below.
> > Any idea what's going on?
> > Thanks,
> > Andy
> >
> >
> > make[1]: Entering directory `/home/hmlf/Desktop/blitz-0.8/lib'
> > if /bin/sh ../libtool --mode=compile i586-mingw32msvc-g++
> > -DHAVE_CONFIG_H
> > -I. -I.. -I.. -g -O2 -MT globals.lo -MD -MP -MF
> > ".deps/globals.Tpo" -c -o
> > globals.lo `test -f '../src/globals.cpp' || echo
> > './'`../src/globals.cpp; \ then mv -f ".deps/globals.Tpo"
> > ".deps/globals.Plo"; else rm -f ".deps/globals.Tpo"; exit 1;
> > fi i586-mingw32msvc-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -g -O2
> > -MT globals.lo -MD -MP -MF .deps/globals.Tpo -c
> > ../src/globals.cpp -o globals.o In file included from
> > ../blitz/applics.h:400,
> > from ../blitz/vecexpr.h:35,
> > from ../blitz/vecpick.cc:26,
> > from ../blitz/vecpick.h:295,
> > from ../blitz/vector.h:452,
> > from ../blitz/tinyvec.h:437,
> > from ../blitz/indexexpr.h:30,
> > from ../src/globals.cpp:11:
> > ../blitz/mathfunc.h: In static member function `static double
> > blitz::_bz_expm1<P_numtype1>::apply(P_numtype1)':
> > ../blitz/mathfunc.h:1347: error: `::expm1' has not been declared
> > ../blitz/mathfunc.h: In static member function `static int
> > blitz::_bz_blitz_isnan<P_numtype1>::apply(P_numtype1)':
> > ../blitz/mathfunc.h:1549: error: `::isnan' has not been
> > declared
___________________________________________________________
Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com