Add --libs option to ecell3-dmc and also append library references after the source file for the platform where the occurrence order of the object files matters.

Now you can use ecell3-dmc to compile ordinary programs instead of creating shared libraries.

$ ecell3-dmc --dmcompile=g++ something.cpp