Re: g++ fortran shared object error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Philip Cheng wrote:

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)


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux