A potential problem with copying files is that the timestamps can get
out of sync. You'll want to make sure that timestamps on the ".zo"
files stay newer than the timestamps on the ".rkt" sources.

At Thu, 16 Apr 2015 02:03:31 -0500, Robby Findler wrote:
> 1) Compilation to .zo files (what raco make does) can theoretically
> embed absolute paths, but this is something we work hard to avoid, so
> it shouldn't be happening. We use the ability to move .zo files around
> when building our distributions, for example, so I think you should be
> safe. (But there can be bugs, of course.)
> 
> The theoretical possibility exists because a macro runs arbitrary
> racket code to compute its output and then can embed arbitrary stuff
> from the context into the result of its expansion, including
> information about the path where compilation happens. But I really do
> think you can rely on this not happening unless you write your own
> macros that make it happen.
> 
> 2) no, that seems fine. As long as you have the same version of the
> racket executable, the .zo files will work. (And if you don't, you'll
> get an error message pointing out the version mismatch.)
> 
> Robby
> 
> 
> 
> On Wed, Apr 15, 2015 at 12:50 PM, Deren Dohoda <deren.doh...@gmail.com> wrote:
> > Hi group,
> >
> > I use Racket in an embedded linux system. My normal development process is
> > to write Racket code in Windows, transfer this to the embedded computer, and
> > then use raco make in the Debian system. But when the system is powered on,
> > it doesn't boot to Debian, it boots to a busybox OS where the filesystem is
> > read-only, and the paths are not the same.
> >
> > To this end, the busybox OS runs a startup script which calls racket
> > directly to run the main file. This all works fine, but I have started to
> > wonder about two things:
> >
> > 1) does raco make build in any absolute path dependencies? Should I instead
> > remount the filesystem as read/write in busybox and run "raco make" there,
> > since the busybox filesystem has different paths than the Debian filesystem?
> >
> > 2) suppose I run raco make on a board and copy the result out to a USB stick
> > with a FAT filesystem which can't preserve things like execute permissions,
> > then copy this back to a new board. Should I expect that the racket
> > executable will have some problems with the previously-used "compiled"
> > folders?
> >
> > Thanks for any insight here.
> >
> > Deren
> >
> > --
> > 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