Blitz logo

Blitz Devel :

From: Julian Cummings (cummings_at_[hidden])
Date: 2005-06-17 19:34:34


Hello Peter,

OK, now I understand the source of your confusion. Yes, the script
compiler/bzconfig is out-of-date with respect to the form of the
config.h file that is now used with blitz. At some point during our
migration to the use of autoconf, we decided to use the m4 macros for
testing C++ compiler features (many of which came from blitz!) and scrap
the use of the bzconfig script altogether. So the items in the compiler
area are really only there for historical reasons. One should use the
autoconf-generated configure script to produce the bzconfig.h file.

In what environment were you trying to use the beta ms compiler? If it
is within the VS.NET IDE, there is a special zip file within the blitz
directory containing support files for this purpose. See the file
README-VS.NET.txt for more information. The zip file Blitz-VS.NET.zip
also contains a file blitz/ms/bzconfig.h. So you can extract this file
by itself if you want to somehow try to use the ms compiler outside of
the VS.NET IDE. Is this what you are after?

Regards, Julian C.

On Fri, 2005-06-17 at 12:13 +0200, Peter Kümmel wrote:
> Julian Cummings wrote:
> > Hello Peter,
> >
> > Actually, the _HAVE_ is intentionally not there. In cases of C++ keywords
> > that not all C++ compilers originally supported, blitz was written to use a
> > macro to substitute for the keyword. If the compiler does not support that
> > particular keyword, the macro is defined to nothing. Thus, BZ_EXPLICIT is
> > either defined to "explicit" or "" (without the quotes), and then we use
> > BZ_EXPLICIT in place of the keyword "explicit" eveywhere in the code. For
> > the most part, such precautions are no longer necessary, as the C++ compiler
> > writers have embraced almost all of the ANSI standard now.
> >
> > Regards, Julian C.
>
> Hello Julian,
>
> here a description how I was lead to the "out of date" conclusion.
> Maybe I'm wrong, maybe it helps to improve the support of new compilers.
>
> As stated at the and of the /compile/bzconfig script one should copy config.h
> to /blitz/config.h. But this files is never used!
> This don't cares if the compiler is already supported, or the environment
> supports configure.
>
> My problem was that I want to try the beta compiler of ms. Because
> there is no configure under windows I run /compiler/bzconfig and
> cp ../config.h, but I got still the error "/ms/bzconfig.h not found".
>
> Because of the error I thought the intent of /compiler/bzconfig is to
> generate this file, and I copied config.h to /ms/bzconfig.h, which doesn't
> help.
> I have to add the HAVE to the macro names.
>
> To sum up:
> - seems to me that /compiler/bzconfig is of no use
> - if bzconfig should be used to generate bzconfig.h manually it must be changed
>
>
> Regards,
> Peter
> _______________________________________________
> Blitz-dev mailing list
> Blitz-dev_at_[hidden]
> http://www.oonumerics.org/mailman/listinfo.cgi/blitz-dev
>

-- 
Dr. Julian C. Cummings                       E-mail: cummings_at_[hidden]
California Institute of Technology           Phone:  626-395-2543
1200 E. California Blvd., Mail Code 158-79   Fax:    626-584-5917
Pasadena, CA 91125                           Office: 125 Powell-Booth