[comp.unix.aix] Load maps?

hudgens@sun13.SCRI.FSU.EDU (Jim Hudgens) (12/07/90)

Does anyone know how to get the Fortran compiler to generate a load
map?  It is not entirely clear what compiler flags need to be set.
I tried several combinations (-Wl,-M as I recall) but that did not
appear to do anything useful.  Anyone done this???

JHH
--
Disclaimer:  I didn't do it.
Jim Hudgens		Supercomputer Computations Research Institute
hudgens@sun13.scri.fsu.edu

marc@ibmpa.awdpa.ibm.com (Marc Pawliger) (12/11/90)

In article <HUDGENS.90Dec6185614@sun13.sun13.SCRI.FSU.EDU>, hudgens@sun13.SCRI.FSU.EDU (Jim Hudgens) writes:
|> 
|> Does anyone know how to get the Fortran compiler to generate a load
|> map?  It is not entirely clear what compiler flags need to be set.
|> I tried several combinations (-Wl,-M as I recall) but that did not
|> appear to do anything useful.  Anyone done this???

I am assuming (since you didn't say) that you are running on the Risc
System/6000.  It is a sad fact that being called "comp.unix.aix" does
not address that fact that there are at least 4 flavors of AIX in the
world (AIX/RT, AIX/PS/2, AIX/370 and AIX/6000)

Well, for the C compiler, the flag is "-bloadmap:load.map", and the
loadmap will be in the file "load.map".  I believe (I don't have Fortran
docs readily available) that this flag is just passed on the loader, which
is the same for Fortran and C, so the same flag should work for Fortran.

+---Marc Pawliger---IBM Advanced Workstations Division---Palo Alto, CA---+
|    Internet: marc@ibminet.awdpa.ibm.com    VNET:    MARCP at AUSVM6    |
|     UUCP:     uunet!ibmsupt!ibmpa!marc      Phone:   (415) 855-3493    |
+------IBMinet:  marc@ibmpa.awdpa.ibm.com------IBM T/L:  465-3493--------+