1. ver. 4 Question about building Linux Interpreter ?

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 ?

new topic     » topic index » view message » categorize

2. Re: ver. 4 Question about building Linux Interpreter ?

bernie said...

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.)

new topic     » goto parent     » topic index » view message » categorize

3. Re: ver. 4 Question about building Linux Interpreter ?

jimcbrown said...
bernie said...

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

new topic     » goto parent     » topic index » view message » categorize

4. Re: ver. 4 Question about building Linux Interpreter ?

bernie said...
jimcbrown said...
bernie said...

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.

new topic     » goto parent     » topic index » view message » categorize

5. Re: ver. 4 Question about building Linux Interpreter ?

Wouldn't compiling the Linux Interpreter in Windows with MinGW or Cygwin still produce a Windows executable of the Interpreter with Linux features?

-Greg

new topic     » goto parent     » topic index » view message » categorize

6. Re: ver. 4 Question about building Linux Interpreter ?

jimcbrown said...
bernie said...
jimcbrown said...
bernie said...

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

new topic     » goto parent     » topic index » view message » categorize

7. Re: ver. 4 Question about building Linux Interpreter ?

ghaberek said...

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.

new topic     » goto parent     » topic index » view message » categorize

8. Re: ver. 4 Question about building Linux Interpreter ?

bernie said...

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 rapideuphoria  
It'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

new topic     » goto parent     » topic index » view message » categorize

9. Re: ver. 4 Question about building Linux Interpreter ?

mattlewis said...
bernie said...

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 rapideuphoria  
It'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.

new topic     » goto parent     » topic index » view message » categorize

10. Re: ver. 4 Question about building Linux Interpreter ?

jimcbrown said...

This is why I specifically said a MinGW/Cygwin-to-Linux cross compiler.

Sorry. I must have missed that part. sad

-Greg

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu