Ok, it seems that the problem is in the link flags. I first realized that
Sun's compiler did not have the problem
-bash-4.0$ cc -dy -G -z text -o foo.so ../opensolaris/build/libeclgmp.a
-Bdynamic -lc
and then tried adding -shared to the GCC flags
-bash-4.0$ gcc -shared -dy -G -Wl,-ztext -o foo.so
../opensolaris/build/libeclgmp.a -Bdynamic -lc
So it does not suffice the standard shared-library linking flags for Solaris
(-dy -G), one also has to add GCC's own flag (-shared) to let it link in a
different C runtime.
Juanjo
--
Instituto de FĂsica Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://juanjose.garciaripoll.googlepages.com
------------------------------------------------------------------------------
Forrester recently released a report on the Return on Investment (ROI) of
Google Apps. They found a 300% ROI, 38%-56% cost savings, and break-even
within 7 months. Over 3 million businesses have gone Google with Google Apps:
an online email calendar, and document program that's accessible from your
browser. Read the Forrester report: http://p.sf.net/sfu/googleapps-sfnew
_______________________________________________
Ecls-list mailing list
Ecls-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecls-list