Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

lloyd11b

macrumors newbie
Original poster
Jun 13, 2007
1
0
Hello,
I am interested in making a sharable libraries using a PPC architecture with GCC/GFOTRAN in an x-term environment. What would be the procedure that I would use to make one? Is there a good website that provides a guide for using the x-term console for this? Thanks for any help.

I tried the following:

gfortran -dynamic -fPIC -c -o name.o name.f90
ld -dynamic -o name.dylib name.o

How wrong is this? Also, if I want to include a .c file into the .dylib, how would I go about that?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.