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

Mail #1187

Back to main page of archive

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

From: Jan-Jaap van der Heijden
Subject: Run time system building ...
Date: 14 Sep 1997, 17:24:44

On Sun, 14 Sep 1997, Michael Meeks wrote:

> 
> Hi,
> 
> 	Is there an easy way to stop GPC's runtime system from being built
> ? I ask because I have had some trouble with stopping it being built in a
> canadian cross compile :-) There probably is an easy way, but I had to
> hack several bits out of p/Make-lang.in and Makefile.in, which whilst
> not difficult was not as easy as it possibly could be ...
> 

You could try building the parts you want explicitly:

	make xgpc gpc1 gpc-cccp

Most recent GPC versions should accept GCC_FOR_TARGET, the compiler used
to build libgcc.a and libgpc.a

	make CC=<your_cross_gcc> HOST_CC=<native_gcc> \
		GCC_FOR_TARGET=<cross_gcc_for_target> ...

The latest GPC beta has part of the RTS in Pascal, but I just hacked in
support for GPC_FOR_TARGET :-) Just wait for the next beta.

Needless to say you need various cross-compilers ready and installed to do
all of this, but you knew that or you wouldn't try canadian cross.

I crossbuild native cygwin32 GPC compilers from Linux regularly.

Hope this helps,

JJ

---
With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going
to land, and it could be dangerous sitting under them as they fly
overhead.  -- RFC1925.

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


In reply to

Author Subject Date
Michael Meeks Run time system building ... 14 Sep 1997, 13:43:14

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