1. ver. 4 Question about building Linux Interpreter ?
- Posted by bernie Jul 30, 2009
- 947 views
I want to build the latest Linux interpreter on XP.
What is needed to do this ?
Can I use Open OpenWatcom ?
Is there a batch file or make file ?
Is there some place where there are instructions or
a how to build tutorial ?
2. Re: ver. 4 Question about building Linux Interpreter ?
- Posted by jimcbrown (admin) Jul 30, 2009
- 939 views
I want to build the latest Linux interpreter on XP.
What is needed to do this ?
Can I use Open OpenWatcom ?
Is there a batch file or make file ?
Is there some place where there are instructions or
a how to build tutorial ?
OpenWatcom is not a supported compiler on Linux, so you will need to install and use some flavor of gcc.
Probably you'll need a Mingw or Cygwin cross compiler. These are not standard afaik, so this means compiling gcc (and its dependencies) from source code.
(I currently have the reverse set up - on Linux, a Linux-to-Mingw cross compiler.)
3. Re: ver. 4 Question about building Linux Interpreter ?
- Posted by bernie Jul 30, 2009
- 944 views
I want to build the latest Linux interpreter on XP.
What is needed to do this ?
Can I use Open OpenWatcom ?
Is there a batch file or make file ?
Is there some place where there are instructions or
a how to build tutorial ?
OpenWatcom is not a supported compiler on Linux, so you will need to install and use some flavor of gcc.
Probably you'll need a Mingw or Cygwin cross compiler. These are not standard afaik, so this means compiling gcc (and its dependencies) from source code.
(I currently have the reverse set up - on Linux, a Linux-to-Mingw cross compiler.)
I want to use WINDOWS XP to build a interpreter for LINUX.
The read me text file that is in the VER. 4's source code
explains how to build the LINUX interpreter but It is a
read me file written for VER 3.11
I need to know where the information is for VER. 4
4. Re: ver. 4 Question about building Linux Interpreter ?
- Posted by jimcbrown (admin) Jul 30, 2009
- 910 views
I want to build the latest Linux interpreter on XP.
What is needed to do this ?
Can I use Open OpenWatcom ?
Is there a batch file or make file ?
Is there some place where there are instructions or
a how to build tutorial ?
OpenWatcom is not a supported compiler on Linux, so you will need to install and use some flavor of gcc.
Probably you'll need a Mingw or Cygwin cross compiler. These are not standard afaik, so this means compiling gcc (and its dependencies) from source code.
(I currently have the reverse set up - on Linux, a Linux-to-Mingw cross compiler.)
I want to use WINDOWS XP to build a interpreter for LINUX.
The read me text file that is in the VER. 4's source code
explains how to build the LINUX interpreter but It is a
read me file written for VER 3.11
I need to know where the information is for VER. 4
The instructions in the readme do not explain how to cross compile between platforms, only how to build a compiler for a given platform on that given platform. I.e. how to build for linux on linux.
This is how you do it on ver 4:
export EUDIR= export EUINC= cd source ./configure make cp eui euc eub eu.a ../bin
But those instructions wont work on Windows, unless you have the proper Mingw or Cygwin environment set up.
5. Re: ver. 4 Question about building Linux Interpreter ?
- Posted by ghaberek (admin) Jul 30, 2009
- 945 views
Wouldn't compiling the Linux Interpreter in Windows with MinGW or Cygwin still produce a Windows executable of the Interpreter with Linux features?
-Greg
6. Re: ver. 4 Question about building Linux Interpreter ?
- Posted by bernie Jul 30, 2009
- 917 views
I want to build the latest Linux interpreter on XP.
What is needed to do this ?
Can I use Open OpenWatcom ?
Is there a batch file or make file ?
Is there some place where there are instructions or
a how to build tutorial ?
OpenWatcom is not a supported compiler on Linux, so you will need to install and use some flavor of gcc.
Probably you'll need a Mingw or Cygwin cross compiler. These are not standard afaik, so this means compiling gcc (and its dependencies) from source code.
(I currently have the reverse set up - on Linux, a Linux-to-Mingw cross compiler.)
I want to use WINDOWS XP to build a interpreter for LINUX.
The read me text file that is in the VER. 4's source code
explains how to build the LINUX interpreter but It is a
read me file written for VER 3.11
I need to know where the information is for VER. 4
The instructions in the readme do not explain how to cross compile between platforms, only how to build a compiler for a given platform on that given platform. I.e. how to build for linux on linux.
This is how you do it on ver 4:
export EUDIR= export EUINC= cd source ./configure make cp eui euc eub eu.a ../bin
But those instructions wont work on Windows, unless you have the proper Mingw or Cygwin environment set up.
Thanks Jim
I'll just use Linux to build the binaries.
Where is the SVN source located to use to build
the binaries
7. Re: ver. 4 Question about building Linux Interpreter ?
- Posted by jimcbrown (admin) Jul 30, 2009
- 993 views
Wouldn't compiling the Linux Interpreter in Windows with MinGW or Cygwin still produce a Windows executable of the Interpreter with Linux features?
-Greg
This is why I specifically said a MinGW/Cygwin-to-Linux cross compiler.
8. Re: ver. 4 Question about building Linux Interpreter ?
- Posted by mattlewis (admin) Jul 30, 2009
- 932 views
I'll just use Linux to build the binaries.
Where is the SVN source located to use to build the binaries
Here is the command to check out the source:
svn co https://rapideuphoria.svn.sourceforge.net/svnroot/rapideuphoria/trunk rapideuphoriaIt's the same, regardless of platform. It's actually pretty easy to cross translate, but you'll need to have a cross compiler set up, which is very untrivial.
Matt
9. Re: ver. 4 Question about building Linux Interpreter ?
- Posted by bernie Jul 30, 2009
- 909 views
I'll just use Linux to build the binaries.
Where is the SVN source located to use to build the binaries
Here is the command to check out the source:
svn co https://rapideuphoria.svn.sourceforge.net/svnroot/rapideuphoria/trunk rapideuphoriaIt's the same, regardless of platform. It's actually pretty easy to cross translate, but you'll need to have a cross compiler set up, which is very untrivial.
Matt
Thanks Matt:
I wasn't sure if it was different and it had some extra options.
PS:
When windows/dos ver 3 source shipped it had le23p.exe file located
in the bin directory.
So the ver. 4 makefile.wat is expecting the file to be located
in bin file.
Configure.bat allows the user to specify which binaries to use for
compiling the source.
But the makefile.wat does not use the configure information
to use the le23p.exe file but uses EUDIR path.
I think that the makefile.wat should be using the path specified
by the configure.bat file.
10. Re: ver. 4 Question about building Linux Interpreter ?
- Posted by ghaberek (admin) Jul 31, 2009
- 967 views
This is why I specifically said a MinGW/Cygwin-to-Linux cross compiler.
Sorry. I must have missed that part.
-Greg