![]() |
Re: compile GNU/Linux binaries in Windows
Can someone explain me how to compile with this EPB. It will be good to have a linux version.
|
Re: compile GNU/Linux binaries in Windows
So, how do I cross compile for the PDP-11? :P
|
Re: compile GNU/Linux binaries in Windows
"Can someone explain me how to compile with this EPB. It will be good to have a linux version."
just create a file named "Makefile" in your source directory, like this one: PHP Code:
write all your .cpp files in the list, change all .cpp to .o. Then install the compiler, start a DOS prompt, run the setvars.bat file first and change into your source dir. Then run "make" and it should produce a epb_i386.so file and that's it. |
Re: compile GNU/Linux binaries in Windows
Quote:
Code:
CPP = g++ I'd better look into that someday. |
Re: compile GNU/Linux binaries in Windows
It's not working :
here is the error messege: make : <e=2>: make : *** [EPB_i386.so] Error 2 |
Re: compile GNU/Linux binaries in Windows
in which step this error happened? would you post the full output?
(also you need to add the log.o to the list in Makefile if you haven't deleted it, and if you've created new files you need to add them as well) |
Re: compile GNU/Linux binaries in Windows
Here :
dll.cpp:20: error: expected `>` before '*' token dll.cpp:20: error: expected `,` or `;` before '*' token dll.cpp:22: error: expected `>` before '*' token dll.cpp:22: error: expected `,` or `;` before '*' token dll.cpp:29: error: `GETNEWDLLFUNCTIONS` does not name a type make: *** [dll.o] Error 1 The strange is that when I compile it with MSVC there is no problem. |
Re: compile GNU/Linux binaries in Windows
then it's bacause something GNU/Linux specific is missing in the code... you gotta fix it first
search for "__linux__" in HPB bot and you'll see what's required edit: I think this is the problem: PHP Code:
|
Re: compile GNU/Linux binaries in Windows
Thanks you Whistler. You was write ! The problem was in bot.h.
Now I succseful compile EPB for Linux. With the next release I will publish and the Linux version of EPB. Thnaks you again. EDIT : Did I must publish the source code of EPB if I publish a Linux version ? |
Re: compile GNU/Linux binaries in Windows
"Did I must publish the source code of EPB if I publish a Linux version ?"
Nope, as you are just *USING* gcc, which is totally free and not restricted :) perhaps you can read through the GPL to see in which case you need to release the sources. |
All times are GMT +2. The time now is 12:17. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.