1. *.il files - Cross platform?
- Posted by Kenneth Rhodes <wolf_man_jacques at excite.com> Feb 11, 2005
- 464 views
or will the Shebang line in Linux/FreeBSD cause problems with backend backend.exe (DOS), backendw.exe (Windows)? Ken Rhodes 100% Microsoft Free!
2. Re: *.il files - Cross platform?
- Posted by Robert Craig <rds at RapidEuphoria.com> Feb 11, 2005
- 435 views
Kenneth Rhodes wrote: > or will the Shebang line in Linux/FreeBSD cause problems > with backend backend.exe (DOS), backendw.exe (Windows)? On any platform, Euphoria pays no attention to any shebang (#!) line. It's just a comment. Linux and FreeBSD shells look for the line and use it to decide which interpreter to run the file with. Also, I've observed that Apache Web server, installed on Windows, also looks for and uses the shebang line, if one exists. .il files can be copied to other platforms and they should run as expected, although now that you mention it, there's a small problem with platform(), since it's evaluated at parse (shroud) time, and won't be correct if you run a .il file on a different platform from the one it was created on (Linux and FreeBSD have the same value for platform(), so they are ok with each other.) I'll change platform() so it's evaluated at run-time for .il files. Thanks, Rob Craig Rapid Deployment Software http://www.RapidEuphoria.com
3. Re: *.il files - Cross platform?
- Posted by Kenneth Rhodes <wolf_man_jacques at excite.com> Feb 11, 2005
- 437 views
Robert Craig wrote: > I'll change platform() so it's evaluated at run-time for .il files. WONDERFUL! :) :) :) Ken Rhodes 100% Microsoft Free!