Re: [racket-users] Re: preview of a cross-compilation tool

2021-05-18 Thread kamist...@gmail.com
utah has 32-bit Windows snapshots now again. I did a cross build with: >> Cross configuration Target:i386-win32 Host: x86_64-linux Version: current VM:bc Workspace: /tmp/todays-snapshot with `pkg install` `exe ...` `dist ...` moved dist over to windows vm and it ran fine,

Re: [racket-users] Re: preview of a cross-compilation tool

2021-05-15 Thread Matthew Flatt
At Sat, 15 May 2021 05:18:22 -0700 (PDT), "kamist...@gmail.com" wrote: > Yes it didn't find the libiconv-2.dll in the distribution "lib" sub-folder, > only after I added that to my path. Oh, right... I had forgotten already that the current release does *not* cross-build correctly, even for a BC

Re: [racket-users] Re: preview of a cross-compilation tool

2021-05-15 Thread kamist...@gmail.com
> > > On windows: > > 1. I had to add the lib subfolder in the dist to the path (else the exe > > would not find the dlls in there). > > The intent in a Windows distribution is that the executable and "lib" > folder stay together, as they are in the archive. Was the executable > not able to f

Re: [racket-users] Re: preview of a cross-compilation tool

2021-05-15 Thread Matthew Flatt
At Sat, 15 May 2021 03:10:55 -0700 (PDT), "kamist...@gmail.com" wrote: > I ran raco-cross > (installed on racket cs 8.0 [does this cause trouble for racket cs < 8.2 or > is it fine because host and target are both bc?]) Yes, it's fine because the target is BC (and a host BC is set up as needed)

[racket-users] Re: preview of a cross-compilation tool

2021-05-15 Thread kamist...@gmail.com
I ran raco-cross (installed on racket cs 8.0 [does this cause trouble for racket cs < 8.2 or is it fine because host and target are both bc?]) to run exe and dist: ;; install dependencies raco cross --workspace /tmp/todays-snapshot --target i386-win32 --vm bc pkg install ;; create exe raco cro

[racket-users] Re: preview of a cross-compilation tool

2021-05-14 Thread schle...@gmail.com
This is like being a child, waking up and realizing its christmas (and easter at the same time), thank you for working on this, I will test out this shiny new toy/gift (meant in the best possible way). Because I am on linux, I will try to cross compile to windows (time to dust off my windows v