It took two weeks, but I finally managed to get a Gentoo ebuild* for amd64 working. A simple "HelloWorld" program works as it should when defining:
class HelloWorld
parameter Real a = 1;
Real x( start = 1 );
equation
der(x) = -a*x;
end HelloWorld;
and then simulating/plotting.
I daresay programming has been portable enough that there were no problems
with the code itself. The build system, though, needs some care.
Anyone interested in the ebuild or the patch I applied to get OM to build, can
look at the Bugzilla page:
http://bugs.gentoo.org/show_bug.cgi?id=230685
Cheers,
-Federico
* For those who do not know: an ebuild is a series of instructions to automate
the build process of a package, and are the Gentoo equivalent of .deb on
Debian or .rpm on Red Hat. Only they do not contain the package, they only
explain where to get it.
signature.asc
Description: This is a digitally signed message part.
