Hi Dan,
You cannot use -fpic or -fPIC when compiling code for an
MPE system. The .o files generated by gcc are still
'relocatable' in MPE terms, which is somewhat different
than 'position independent' in UNIX terms. Since each
shared library on MPE is mapped into its own private
space, there is no need for the code to be PIC, which
is necessary on UNIX because all shared libraries and
the program share a single space.
Mike
Dan Behman ([log in to unmask]) wrote:
: Hello all!
: Is there a way that I can get LINKEDIT to accept objects compiled with
: gcc's -fpic (or -fPIC) option?
: There must be a way of creating shared libraries/executables on MPE...
: Thanks in advance!
: Dan Behman - [log in to unmask]
: Software Developer, DB2 Unix Porting
--
-----------------------------------------------------------------
Mike Yawn
Hewlett-Packard email [log in to unmask]
Commercial Systems Division Voice (408) 447-4367
19447 Pruneridge Ave M/S 47UA Fax (408) 447-4441
Cupertino, CA 95014
-----------------------------------------------------------------