octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[patch] intel C++/f90 support


From: John W. Eaton
Subject: [patch] intel C++/f90 support
Date: Sat, 17 Aug 2002 20:32:26 -0500

On  5-Jun-2002, Mumit Khan <address@hidden> wrote:

| The subject line is incorrect -- the only specific change needed for Intel
| C++ is in src/c-file-ptr-stream.h in using the non-standard std::filebuf
| interface. The rest are generic changes.

OK.

| The configury for Intel C++ nor F9x is there, so it has to be done
| manually. C++ is easy, it's the F9x configury that's hard to get right.
| Here's how I do it:
| 
|   #! /bin/sh
|   CXX=icc
|   F77=ifc
|   FLIBS='-L/opt/intel/compiler60/ia32/lib -lintrins -lIEPCF90 -lF90 -limf 
-lirc -lcxa -lcprts -lunwind'
|   export CXX F77 FLIBS
|   ../../octave-cvs/configure --enable-shared --disable-static --enable-rpath 
-v

Does the Intel F9x compiler not have a -v option, or not print good
information if it is used?

| And then edit Makeconf to change the following:
| 
|   Remove -Wall and -mieee-fp from CXXFLAGS and XTRA_CXXFLAGS. Also change
|   -fPIC to -kPIC in CXXFLAGS and FFLAGS.

Shouldn't -Wall and -mieee-fp only be added if we are using gcc?

| Sure I'm forgetting some important detail here, but you get the picture.
| 
| The FLIBS environment variable is *very* important -- the configure will
| abort otherwise when checking the output of the Intel F9x libraries.
| 
| liboctave/ChangeLog:
| 2002-06-05  Mumit Khan  <address@hidden>
| 
|       * CmplxCHOL.h, CollocWt.h, cmd-edit.h, oct-shlib.h: Don't use
|       qualified names.
| 
| src/ChangeLog:
| 
|       * c-file-ptr-stream.h (c_file_ptr_buf::c_file_ptr_buf): Add Intel
|       C++ runtime support.
|       * Cell.h, gripes.cc, ov-base-scalar.cc, ov-colon.cc, ov-fcn.cc,
|       ov-file.cc, ov-mapper.h, ov-va-args.cc, token.cc, xpow.cc,
|       OPERATORS/op-b-b.cc, OPERATORS/op-bm-b.cc, OPERATORS/op-bm-bm.cc,
|       OPERATORS/op-cell.cc, OPERATORS/op-chm.cc, OPERATORS/op-cm-cm.cc,
|       OPERATORS/op-cm-cs.cc, OPERATORS/op-cm-m.cc, OPERATORS/op-cm-s.cc,
|       OPERATORS/op-cs-cm.cc, OPERATORS/op-cs-cs.cc, OPERATORS/op-cs-m.cc,
|       OPERATORS/op-cs-s.cc, OPERATORS/op-fil-b.cc, OPERATORS/op-fil-bm.cc,
|       OPERATORS/op-fil-cm.cc, OPERATORS/op-fil-cs.cc,
|       OPERATORS/op-fil-lis.cc, OPERATORS/op-fil-m.cc,
|       OPERATORS/op-fil-rec.cc, OPERATORS/op-fil-s.cc,
|       OPERATORS/op-fil-str.cc, OPERATORS/op-list.cc, OPERATORS/op-m-cm.cc,
|       OPERATORS/op-m-cs.cc, OPERATORS/op-m-m.cc, OPERATORS/op-m-s.cc,
|       OPERATORS/op-range.cc, OPERATORS/op-s-cm.cc, OPERATORS/op-s-cs.cc,
|       OPERATORS/op-s-m.cc, OPERATORS/op-s-s.cc, OPERATORS/op-str-str.cc,
|       TEMPLATE-INST/Array-sym.cc, TEMPLATE-INST/Array-tc.cc,
|       TEMPLATE-INST/Map-tc.cc, TEMPLATE-INST/SLList-expr.cc,
|       TEMPLATE-INST/SLList-tc.cc, TEMPLATE-INST/SLList-tm.cc,
|       TEMPLATE-INST/SLStack-sym.cc: Make the implementation of
|       octave_value_list visibile for template instantiation.

Sorry for the delay.  I applied these changes.

Thanks,

jwe



reply via email to

[Prev in Thread] Current Thread [Next in Thread]