[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] cross compilation setup
From: |
F. Wittenberger |
Subject: |
Re: [Chicken-users] cross compilation setup |
Date: |
Wed, 03 Sep 2008 12:22:46 +0200 |
Am Dienstag, den 02.09.2008, 10:01 +0200 schrieb felix winkelmann:
> Hi!
>
>
> Try:
>
> PATH=<yourmingwpath>:$PATH make PLATFORM=cross-linux-mingw
> PREFIX=<yourprefix> install
What is this supposed to build? The host system, the target system or
both?
It did not work for me: looks for chicken.exe
> > !!! Use -host-extension - not -host as the wiki said. -host is the same
> > as -H and changes the download host name!
>
> Right, thanks for mentioning this.
I checked the current svn head. How it the -host-extension supposed to
work? I found:
> Now chicken-setup accepts the -host-extension and sets a parameter
> object, but does not evaluate it anywhere. (Therefore it tries to
> compile with the target instead the host compiler.) Around line 347 I
> changed:
> (define-macro (compile . explist)
> `(run (csc ,@(if (host-extension) '("-host") '()) ,@explist) ) )
/Jörg