GNU Pascal Homepage - gpc - gpc-announce - gpc-de - gpc-doc
Diese Seite auf deutsch

Mail #14274

Back to main page of archive

Previous mail   Next mail   Unformatted/full headers
Overview  10 days   Subject   Date   Thread   Author  

From: Adriaan van Os
Subject: Building shared objects with GP
Date: 12 Feb 2008, 17:46:56

Pascal Viandier wrote:
> Hi GPC crew,
> 
> I am trying to build shared objects with gp on SUN Sparc Solaris 10
> using gpc 20070904 based on gcc-4.1.2.
> 
> I tried many options of gp with no success.
> It looks like gp does not pass the --shared and -fPIC command line
> options to gpc so it produces only regular objects.
> 
> So, is there a way to benefit from gp's great features to generate
> shared objects?

I can't speak for Solaris, but on Mac OS X it works. Note that you have to build libgpc.a as 
position independent code also, unless it's the default on the platform (like it is on Mac OS X).

Regards,

Adriaan van Os




Previous mail   Next mail   Unformatted/full headers
Overview  10 days   Subject   Date   Thread   Author  


Replies

Author Subject Date
Pascal Viandier RE : Building shared objects with GP 12 Feb 2008, 12:32:46

In reply to

Author Subject Date
Pascal Viandier Building shared objects with GP 12 Feb 2008, 11:16:44

Back to main page of archive


Note: This page contains information that does not originate from the owner of this web site, but from the authors of the mails archived. The owner of this web site is not responsible for the content of such information. Any use of that infomation requires the consent of the respective author.

Where WWW addresses (URLs) in the mails archived are marked as hyperlinks, this is only for the comfort of the reader. The content of the web pages linked to like this does not necessarily reflect the opinion of the owner of this web site or of the authors of the mails archived. The owner of this web site is not responsible for the content of such web pages. Those pages are explicitly not to be considered as part of the content of this page, but merely as references.


This page was created by Crystal 0.999 (Linux 2.4.27/i686).