g++ -shared -o test.so test.o
s_wsle 0x10 test.o do_lio 0x30 test.o e_wsle 0x38 test.o
These are routines from the Fortran run time library. Use the following command line to link your program:
g++ -shared -o test.so test.o -lg2c
Hope this helps,
-- Toon Moene - mailto:toon@xxxxxxxxxxxxxxxxxxxx - phoneto: +31 346 214290 Saturnushof 14, 3738 XG Maartensdijk, The Netherlands Maintainer, GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html GNU Fortran 95: http://gcc-g95.sourceforge.net/ (under construction)