[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gm2] Numerical Library - GM2 32 bit Ubuntu 14.04 LTS
From: |
Gaius Mulley |
Subject: |
Re: [Gm2] Numerical Library - GM2 32 bit Ubuntu 14.04 LTS |
Date: |
Mon, 16 Jul 2018 12:23:55 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Hi Michael,
I've uploaded a copy of your libraries to:
http://floppsie.comp.glam.ac.uk/download/m2/TARGZ/open-source-library.tar.gz
(3MB of code)
which contain the start of the autotools. With gm2-svn-trunc the string
library and tools directory build. The stringlibrary will install and
live alongside the gm2 libraries. This is worth looking at as gcc
provides a way of obtaining the library directory post install.
Thereafter you can:
gm2 -flibs=pim,stringhandler foo.mod
There are a number of points worth noting:
1. it does require gm2 svn trunc to build. Autoconfing this library
was very useful to gm2 - as it highlighted a number of linking
bugs which are now fixed! Thank you for this spotlight!
2. I used a number of gnu tools to produce the autoconf/automake
initial templates - so a number of files are present and blank
(and maybe wrong) for example: NEWS, AUTHORS, COPYING and
probably others. These will need manual fixing.
3. The bootstrap mechanism I used was to copy some of the shared
source files into the tools directory m2pp. I almost regret this
now, and would with hindsight have created a tree structure
and made the build process copy the sources necessary
(foo.m2cc -> foo.mod) if possible. If this were not possible then
I would have resorted to placing the specific version into a
bootstrap directory and directed the path appropriately.
4. Although m2pp builds it also crashes immediately. But one hurdle
at a time :-)
however I thought it best to push the interim code back to you as it has
been a long time and there is probably mileage in examining the
Makefile.am and friends and how they can live alongside gm2,
hope this is of some use,
regards,
Gaius