Good to know; I also use define-runtime-path with abandon, and was not aware of 
possible consequences of casting too wide a net.

Thanks!

John

> On Feb 10, 2019, at 09:49, Philip McGrath <phi...@philipmcgrath.com> wrote:
> 
> I think this is probably a consequence of the quirk of `define-runtime-path` 
> with directories that I reported at: 
> https://github.com/racket/racket/issues/2336
> 
> I'm still not clear on whether the current behavior is intended and, if so, 
> how one ought to do this sort of thing to work robustly with the executable 
> creator.
> 
> -Philip
> 
> 
> On Sun, Feb 10, 2019 at 6:14 AM P. Baillet <octpl...@gmail.com> wrote:
> Hello,
> 
> After some analysis, I found out this is because I was using 
> (define-runtime-path the wrong way. My code uses FFI and at some point, I 
> thought it would be wise to use code I didn’t understand.
> 
> The following snippet reproduces the issue:
> 
> #lang racket
> (require racket/runtime-path)
> 
> (define-runtime-path here ".")
> (displayln "Hi!")
> 
> I have reworked my code to no longer use this and it can now distribute my 
> application without problems.
> 
> On 9 Feb 2019, at 2:28, George Neuner wrote:
> 
> Why not build the executable separately and just copy it into the image?
> 
> Because I’m targeting another architecture.
> 
> Have a nice Sunday!
> -- 
> P.
> 
> 
> -- 
> 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 racket-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
> 
> -- 
> 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 racket-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



-- 
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 racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to