tech nology - 2010-01-10

I installed Pantheios with version pantheios-1.0.1-beta193 correctly on my linux machine (Fedora Core 8, gcc 4.1). When I test my 1st simple example, I encountered an usual linking problem, which already sited in FAQ.txt.

I look for help in FAQ.txt, and see Q13 and its answer. I think this answer needs some minor modifications, or else the linker can't work.
change

The command-line will look like:

   g++ -Dunix -I$PANTHEIOS_ROOT/include -I$STLSOFT/include \
     -L$PANTHEIOS_ROOT/lib \
     -lpantheios.1.core.gcc40 \
     -lpantheios.1.fe.simple.gcc40 \
     -lpantheios.1.be.fprintf.gcc40 \
     -lpantheios.1.bec.fprintf.gcc40 \
     -lpantheios.1.core.gcc40 \
     -lpantheios.1.util.gcc40 \
     my_program.cpp

into

  The command-line will look like:
   g++ -Dunix -I$PANTHEIOS_ROOT/include -I$STLSOFT/include \
     my_program.cpp \
     -L$PANTHEIOS_ROOT/lib \
     -lpantheios.1.core.gcc40 \
     -lpantheios.1.fe.simple.gcc40 \
     -lpantheios.1.be.fprintf.gcc40 \
     -lpantheios.1.bec.fprintf.gcc40 \
     -lpantheios.1.core.gcc40 \
     -lpantheios.1.util.gcc40

The reason is just what listed in the FAQ.txt for GCC compiler: read symbols from left to right when linking.