[GiNaC-list] Results of GiNaC (& CLN) builds
varg at theor.jinr.ru
Sat Jul 15 19:24:48 CEST 2006
On Fri, Jul 14, 2006 at 04:39:11PM -0700, Richard Haney wrote:
> relevant part of "exams.out" (from line 29 to end):
> <begin quote>
> ----------archiving system:
> erroneously returned 42*y^sin(Catalan*y)*ONE*eps.(1/2*y).0.(FAIL)*x
> ----------structure template:
> (no output)
> ----------hash maps:
> (no output)
> ----------miscellaneous other things:
> (no output)
> <end quote>
> Could it be that the failure here is due to GiNaC's use of CLN's io
> functions and specifically is a result of a bug indicated in CLN's
> "test_I_io" failure as described in my previous post "[GiNaC-list]
No. The real reason is that the test program open files in so called
"text" mode (as opposed to "binary" one). On normal OSes there is no
difference, but on Windows...
The patch I've posted fixes that (the test program, not Windows).
> 2. The Makefile for building libginac.a does not seem to have the
> correct dependency information for the dependency of libginac.a on
The Makefile *does* has correct dependency info:
am_libginac_la_OBJECTS = add.lo archive.lo basic.lo clifford.lo \
color.lo constant.lo ex.lo expair.lo expairseq.lo exprseq.lo \
fail.lo fderivative.lo function.lo idx.lo indexed.lo \
inifcns.lo inifcns_trans.lo inifcns_gamma.lo \
inifcns_nstdsums.lo integral.lo lst.lo matrix.lo mul.lo \
ncmul.lo normal.lo numeric.lo operators.lo power.lo \
registrar.lo relational.lo remember.lo pseries.lo print.lo \
structure.lo symbol.lo symmetry.lo tensor.lo utils.lo \
wildcard.lo input_parser.lo input_lexer.lo
libginac_la_OBJECTS = $(am_libginac_la_OBJECTS)
libginac.la: $(libginac_la_OBJECTS) $(libginac_la_DEPENDENCIES)
$(CXXLINK) -rpath $(libdir) $(libginac_la_LDFLAGS) $(libginac_la_OBJECTS) $(libginac_la_LIBADD) $(LIBS)
# etc, etc.
> 4. Now that a satisfactory build of libginac.a seems to be within
> view, I'd like to get a "shared" (.dll) version of both "libcln.a" and
> "libginac.a", but even though I think I am following directions for
> getting shared libraries, I don't seem to be getting them. A typical
> make output (for both CLN and GiNaC) that may have something to do with
> this is "libtool: link: warning: undefined symbols not allowed in
> i686-pc-cygwin shared libraries".
DLLs are not supported at the moment. And I don't think they will be
supported in near future.
Basically, each each global variable
extern foo_t bar;
declared in CLN headers needs to be polluted with __declspec junk.
for more info.
All science is either physics or stamp collecting.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 827 bytes
Desc: Digital signature
Url : http://www.cebix.net/pipermail/ginac-list/attachments/20060715/0afd9395/attachment.pgp
More information about the GiNaC-list