HP3000-L Archives

October 2000, Week 2

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Mike Yawn <[log in to unmask]>
Reply To:
Mike Yawn <[log in to unmask]>
Date:
Wed, 11 Oct 2000 16:17:02 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (37 lines)
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
-----------------------------------------------------------------

ATOM RSS1 RSS2