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

Mail #14468

Back to main page of archive

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

From: Maurice Lombardi
Subject: Linking
Date: 25 Mar 2009, 12:04:36



Hünniger a écrit:
> Hello,
> 
> I am trying to compile an old pascal code with gpc. There was a problem 
> with the autolinker, symbols collided between ncurses and grx (I think) 
> ,so I removed it and build a command line manually in a makefile. I 
> turned off the graphics and everything worked fine, it compiled linked 
> and produced the desired output. Now I am trying to turn the graphics on 
> again. 

I had the same problem long time ago.
The only conflict was with the functions getmaxx and getmaxy of the bgi 
subsystem, which you do not use.
So either compile grx without bgi support (there is an option in makedefs.grx)
or apply the attached patch to grx248s which solves more cleanly the problem by 
repacing getmaxx, getmaxy by getmaxX, getmaxY in grx/bgi (at the C and linker 
levels, pascal is case insensitive).
You can then compile everything cleanly as usual with automake.

Maurice

File attachment

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


In reply to

Author Subject Date
Hünniger, Dirk Linking 25 Mar 2009, 10:49:22

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).