1. Compiling EUPHORIA 4.0 on WIN32: rev.e and dos targets in makefile.wat
- Posted by Shawn Pringle B.Sc. Jul 03, 2008
- 728 views
Hello, it's me again. I finally worked out what was going on with compiling.
If you download the latest svn. You're include directory will be that of the latest svn. However, the include directory has to match that of your current interpreter. Now, you cannot compile 4.0 from 3.0 because the interpreter itself is written in some version of 4.0. If you have version n in your source tree you need to have version n-1 in your binary and include directories.
Therefore to build from sources your fool proof method should be: Get svn version 1. Compile against the 3.0 include and binaries. Then create a buildbin directory for the resulting binaries and point the EUDIR to the trunk of the svn. Put your buildbin directory at the front of your PATH variable.
Now for each binary version n, update include to version n. Update source to version n+1. Make. Then copy the binaries of verison n+1 to your buildbin directory. Continue by induction. ;)
Ofcourse this is too much for most. So, eubins to the rescue. You can download precompiled for the DOS/Windows platform. Where are the DOS32 binaries? If there are no DOS32 binaries then the makefile should employ the WIN32 binary to translate for the DOS32 binaries.
rev.e doesn't get updated with the makefile.wat file. Perhaps it works fine on ntfs, and vfat file systems but it doesn't work on mine as I am using a different file system than these two.
Perhaps if some Windows users changed the rev.e line to:
rev.e : .\.svn\entries $(EX) revget.ex .svn\entries
and see if it works properly on the Windows 9x series computers we can use this method instead of looking for svn~1? We could make revget.ex look in two places or is it better to work this through the makefile and config.wat?
Shawn Pringle
2. Re: Compiling EUPHORIA 4.0 on WIN32: rev.e and dos targets in makefile.wat
- Posted by Jeremy Cowgar Jul 03, 2008
- 897 views
Ofcourse this is too much for most. So, eubins to the rescue. You can download precompiled for the DOS/Windows platform. Where are the DOS32 binaries? If there are no DOS32 binaries then the makefile should employ the WIN32 binary to translate for the DOS32 binaries.
Just two notes:
- eubins is located at: http://jeremy.cowgar.com/eubins/
- When alpha, beta and final copies are released, they will contain both binaries and pre-translated source so all that is needed is a C compiler. In times past you have needed to have some version of Euphoria on your computer to compile Euphoria. Starting with 4.0, this will no longer be a requirement. Now, when working with SVN trunk, each change we make we do not pre-translate sources, add to SVN, check-in. That would make development pretty burdensome. SVN trunk is pretty much for those people who are developing and/or willing to go through a little bit of work, although with eubins, it's not hard at all to compile from SVN.
Jeremy
3. Re: Compiling EUPHORIA 4.0 on WIN32: rev.e and dos targets in makefile.wat
- Posted by Jim Brown Jul 03, 2008
- 717 views
[quote Shawn Pringle B.Sc.] Hello, it's me again. I finally worked out what was going on with compiling.
If you download the latest svn. You're include directory will be that of the latest svn. However, the include directory has to match that of your current interpreter. Now, you cannot compile 4.0 from 3.0 because the interpreter itself is written in some version of 4.0. If you have version n in your source tree you need to have version n-1 in your binary and include directories.
Therefore to build from sources your fool proof method should be: Get svn version 1. Compile against the 3.0 include and binaries. Then create a buildbin directory for the resulting binaries and point the EUDIR to the trunk of the svn. Put your buildbin directory at the front of your PATH variable.
Now for each binary version n, update include to version n. Update source to version n+1. Make. Then copy the binaries of verison n+1 to your buildbin directory. Continue by induction. ;)
Actually, this doesn't always work. Sometimes we get a bug in, and don't notice until several revisions later. At this point it is too late, and nobody can build the beast. :)
Ofcourse this is too much for most. So, eubins to the rescue. You can download precompiled for the DOS/Windows platform. Where are the DOS32 binaries?
They'll be added soon. The reason they were not in there already, was because Vista doesn't support running the tools needed to build ex.exe
If there are no DOS32 binaries then the makefile should employ the WIN32 binary to translate for the DOS32 binaries.
There will be soon.
Using exwc to build ex.exe is not correct since it means FreeDOS users can not build euphoria. On Vista, using exwc isn't enough to get ex.exe completely built.It doesn't appear to be possible to build ex.exe on Vista directly.
rev.e doesn't get updated with the makefile.wat file. Perhaps it works fine on ntfs, and vfat file systems but it doesn't work on mine as I am using a different file system than these two.
Perhaps if some Windows users changed the rev.e line to:
rev.e : .\.svn\entries $(EX) revget.ex .svn\entries
and see if it works properly on the Windows 9x series computers we can use this method instead of looking for svn~1? We could make revget.ex look in two places or is it better to work this through the makefile and config.wat?
Shawn Pringle
exwc works fine with that on 98. It is ex.exe which needs the svn~1 name, but since the rev.e system hasn't been fixed to work with FreeDOS yet, I'm not too concerned about this yet. This area needs more work.