Really sorry/embarrassed to ask this, but has anyone tried building 
distributable f77 programs that use plplot for plotting with the latest Mac OS?
I have installed gfortran in /usr/local/bin and plplot in /opt/homebrew/Cellar/ 
what I cannot figure out is which libraries must be included when attempting to 
build a program. Till now I have been using Absofts last compiler which 
automatically included all the necessary plplot libraries with a simple button, 
but alas that product is no longer with us. Now I am faced with going back to 
the old command line/unix terminal mode and the years have not been kind 
-Apple’s continual OS updates haven’t helped much either. Like probably many on 
this forum I provide a number of programs for my community and I would like to 
continue maintaining them. The demise of Absoft’s wonderful compiler has put a 
cramp on that.
As you can see from my attempt below, I really do not know what I am doing 
here, or maybe enough to be dangerous. Any direction would be much appreciated!
Sincerely,
-pjk

/usr/local/bin/gfortran -ffixed-line-length-132 -fdec -fdec-static \
        -o x01f x01f.f PLpgPLOT_fonts.o  \
        -I/opt/homebrew/include/ -L /opt/homebrew/lib \
        -L`pwd` -L/opt/homebrew/Cellar/plplot/5.15.0_4/lib \
        -L/opt/homebrew/Cellar/plplot/5.15.0_4/lib/fortran/modules/plplot \
        -L opt/homebrew/lib -lpng -lz -L/opt/X11 -lX11 -lXau -lXdmcp
_______________________________________________
Plplot-general mailing list
Plplot-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-general

Reply via email to