Hi Matthew Thanks for the fast reply! Well I have to apologize - I had skipped the "dist" step. For some reason I assumed incorrectly the dist was if you were building for another OS vs hardware architecture. I ran your test as well and it worked perfectly. Thanks again!
Mike On Fri, Oct 22, 2021 at 6:02 PM Matthew Flatt <[email protected]> wrote: > At Fri, 22 Oct 2021 17:24:30 -0400, Mike Engelhart wrote: > > I wanted to build a binary to send to a colleague to test it (who > > isn't a programmer and doesn't have Racket installed) but when I > > build it on my intel Macbook Pro and then send it to my M1 iMac > > That should work. > > I tried this small experiment: > > ;; ssl.rkt > #lang racket/base > (require openssl) > > (define-values (i o) (ssl-connect "www.cs.utah.edu" 443)) > 'done > > With that "ssl.rkt": > > $ raco exe ssl.rkt > $ raco dist ssl-dist ssl > $ tar zcf ssl-dist.tgz ssl-dist > > ... copy ssl-dist.tgz to an M1, > then on that machine ... > > $ tar zxf ssl-dist.tgz > $ ./ssl-dist/bin/ssl > > and that much seemed to work. > > Does the little "ssl.rkt" program above work for you? If not, which > version of Racket are you using? Also, just to make sure, are you > creating a distribution to move to the other machine, as opposed to > just an executable file? > > > Matthew > -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/racket-users/CAGE%3DCnJMpuOcRpvqFhUC969HPXZ86vW8j3z3fg63DqwOnCGW7g%40mail.gmail.com.

