1. Built 4.1 64 bit on Windows failed
- Posted by andi49 Jan 10, 2014
- 2693 views
- Last edited Jan 22, 2014
Hallo
I have built .zip files from todays Mercury Repo
4.0 32 bit with (TDM) gcc 4.7.1 http://euphoria.indonesianet.de/4.0-32.zip bin,htmldocs no source
4.1 32 bit with (TDM) gcc 4.7.1 http://euphoria.indonesianet.de/4.1-32.zip bin,htmldocs no source
Builting the 64 bit Version failed (using the Eu 4.1 from above and the 64-bit Version of TDM gcc 4.7.1)
User supplied library does not exist: c:\eu4neu\euphoria\source\build\eu.a c:\eu4neu\euphoria\source\scanner.e:1032 in function MakeInt() type_check failure, maxchk is 4.611686018e+017
I allready built 4.1 64-bit using the same setup a few month before.
32 bit Versions seems to work
Andreas
2. Re: Buiilt 4.1 64 bit on WIndows failed
- Posted by andi49 Jan 16, 2014
- 2567 views
Hallo
Compiling the 64 Bit Version of OpenEuphoria 4.1, from the repo, works only using 64 Bit Euphoria binaries. Is it correct that the current 64 Bit 4.1 Version can't be built with a 32 Bit 4.1 Version? (It was possible before)?
Or is this a failure in my setup?
I'am only asking for the Windows Version.
Andreas
3. Re: Buiilt 4.1 64 bit on WIndows failed
- Posted by mattlewis (admin) Jan 16, 2014
- 2527 views
Hallo
Compiling the 64 Bit Version of OpenEuphoria 4.1, from the repo, works only using 64 Bit Euphoria binaries. Is it correct that the current 64 Bit 4.1 Version can't be built with a 32 Bit 4.1 Version? (It was possible before)?
Or is this a failure in my setup?
I'am only asking for the Windows Version.
You should be able to use a 32-bit 4.1 translator to build a 64-bit 4.1 binary. But a 4.0 translator can only build a 32-bit 4.1 binary. If that isn't true, then it's a regression and we need to fix it.
Matt
4. Re: Buiilt 4.1 64 bit on WIndows failed
- Posted by jimcbrown (admin) Jan 17, 2014
- 2516 views
You should be able to use a 32-bit 4.1 translator to build a 64-bit 4.1 binary. But a 4.0 translator can only build a 32-bit 4.1 binary. If that isn't true, then it's a regression and we need to fix it.
IIUC, that means there is a regression that needs to be fixed in 4.1
5. Re: Buiilt 4.1 64 bit on WIndows failed
- Posted by mattlewis (admin) Jan 17, 2014
- 2495 views
You should be able to use a 32-bit 4.1 translator to build a 64-bit 4.1 binary. But a 4.0 translator can only build a 32-bit 4.1 binary. If that isn't true, then it's a regression and we need to fix it.
IIUC, that means there is a regression that needs to be fixed in 4.1
His question was very hypothetical. In the meantime, I've used a 32-bit Linux interpreter to build a 64-bit Linux interpreter and a 32-bit Windows interpreter to build a 64-bit Windows interpreter. So it looks like we're OK on this front.
Matt
6. Re: Buiilt 4.1 64 bit on WIndows failed
- Posted by jimcbrown (admin) Jan 17, 2014
- 2479 views
IIUC, that means there is a regression that needs to be fixed in 4.1
His question was very hypothetical.
No, it wasn't.
Builting the 64 bit Version failed (using the Eu 4.1 from above and the 64-bit Version of TDM gcc 4.7.1)
User supplied library does not exist: c:\eu4neu\euphoria\source\build\eu.a c:\eu4neu\euphoria\source\scanner.e:1032 in function MakeInt() type_check failure, maxchk is 4.611686018e+017
I allready built 4.1 64-bit using the same setup a few month before.
In the meantime, I've used a 32-bit Linux interpreter to build a 64-bit Linux interpreter and a 32-bit Windows interpreter to build a 64-bit Windows interpreter. So it looks like we're OK on this front.
That's good to hear. Hopefully it's just a config change or missing update that andi49 needs to get 64bit builds going on andi49's box again.
7. Re: Buiilt 4.1 64 bit on WIndows failed
- Posted by mattlewis (admin) Jan 17, 2014
- 2470 views
IIUC, that means there is a regression that needs to be fixed in 4.1
His question was very hypothetical.
No, it wasn't.
Builting the 64 bit Version failed (using the Eu 4.1 from above and the 64-bit Version of TDM gcc 4.7.1)
User supplied library does not exist: c:\eu4neu\euphoria\source\build\eu.a c:\eu4neu\euphoria\source\scanner.e:1032 in function MakeInt() type_check failure, maxchk is 4.611686018e+017
I allready built 4.1 64-bit using the same setup a few month before.
Oops. Thread comprehension failure on my part. I guess I missed that when it was originally posted, and replied only to the content of the message I was replying to. That looks like a configuration issue. Possibly using a 4.0 interpreter to try to build a 64-bit binary.
Matt
8. Re: Buiilt 4.1 64 bit on WIndows failed
- Posted by andi49 Jan 17, 2014
- 2496 views
Hallo
Oops. Thread comprehension failure on my part. I guess I missed that when it was originally posted, and replied only to the content of the message I was replying to. That looks like a configuration issue. Possibly using a 4.0 interpreter to try to build a 64-bit binary.
Matt
I checked again
C:\>c:\bit\built\4.1-32\bin\eui.exe Euphoria Interpreter v4.1.0 development 32-bit Windows, Using System Memory Revision Date: 2014-01-11 22:35:01, Id: 6183:944d3dd7b349 ERROR: Must specify the file to be interpreted on the command line
My Batchfile
call ../../vars64.bat make clean hg pull hg update default sh configure --eubin=c:/bit/built/4.1-32/bin --arch=x86_64 make pause
The vars64.bat (just set the Path to include the the 64-bit compiler)
set PATH=c:\mingw64\bin;c:\msys\msys\bin;%PATH%
Result
c:\eu4neu\euphoria\source\scanner.e:1032 in function MakeInt() type_check failure, maxchk is 4.611686018e+017 ... called from c:\eu4neu\euphoria\source\scanner.e:1770 in function Scanner() ... called from c:\eu4neu\euphoria\source\parser.e:720 in function next_token() ... called from c:\eu4neu\euphoria\source\parser.e:1359 in procedure UFactor() ... called from c:\eu4neu\euphoria\source\parser.e:1383 in function Term() ... called from c:\eu4neu\euphoria\source\parser.e:1398 in function aexpr() ... called from c:\eu4neu\euphoria\source\parser.e:1412 in function cexpr() ... called from c:\eu4neu\euphoria\source\parser.e:1435 in function rexpr() ... called from c:\eu4neu\euphoria\source\parser.e:1474 in procedure Expr() ... called from c:\eu4neu\euphoria\source\parser.e:3570 in function Global_decla ration() ... called from c:\eu4neu\euphoria\source\parser.e:4832 in procedure real_parser () ... called from c:\eu4neu\euphoria\source\parser.e:5035 in procedure parser() ... called from c:\eu4neu\euphoria\source\main.e:201 in procedure main() ... called from c:\eu4neu\euphoria\source\main.e:228 --> See ex.err make[2]: *** [c:/eu4neu/euphoria/source/build/intobj/main-.c] Error 1 make[2]: Leaving directory `/c/eu4neu/euphoria/source' make[1]: *** [interpreter] Error 2 make[1]: Leaving directory `/c/eu4neu/euphoria/source' make: *** [all] Error 2 C:\eu4neu\euphoria\source>pause
ex.err is here http://euphoria.indonesianet.de/ex.err
(It's about 155KB)
Same procedure with 64bit binaries is working.
Windows 8.1 64bit, TDM GCC 4.7.1
Thank you
Andreas
9. Re: Buiilt 4.1 64 bit on WIndows failed
- Posted by mattlewis (admin) Jan 18, 2014
- 2419 views
C:\>c:\bit\built\4.1-32\bin\eui.exe Euphoria Interpreter v4.1.0 development 32-bit Windows, Using System Memory Revision Date: 2014-01-11 22:35:01, Id: 6183:944d3dd7b349 ERROR: Must specify the file to be interpreted on the command line
My Batchfile
call ../../vars64.bat make clean hg pull hg update default sh configure --eubin=c:/bit/built/4.1-32/bin --arch=x86_64 make pause
Result
{{{ c:\eu4neu\euphoria\source\scanner.e:1032 in function MakeInt() type_check failure, maxchk is 4.611686018e+017
Ah. Looks like maxchk should be declared as an atom, not an integer. Could you try changing that?
Matt
10. Re: Buiilt 4.1 64 bit on WIndows failed
- Posted by andi49 Jan 18, 2014
- 2413 views
Hallo
Ah. Looks like maxchk should be declared as an atom, not an integer. Could you try changing that?
Matt
Yes, seems it works now.
But i also have to declare 'num' (also in function MakeInt()) as an atom.
Thank you
Andreas
11. Re: Buiilt 4.1 64 bit on WIndows failed
- Posted by andi49 Jan 22, 2014
- 2283 views
Hallo
I have setup some batchfiles to create new builts from the repo (Eu4.1 32 and 64 bits, maybe also from the struct branch).
If someone is interested, i'am willing to put them online as .zip files.
Again, I'am talking about builts for Windows.
Andreas
12. Re: Buiilt 4.1 64 bit on WIndows failed
- Posted by _tom (admin) Jan 24, 2014
- 2207 views
If someone is interested, i'am willing to put them online as .zip files.
I'll try running your build on a virtual machine. The 32 bit version would be best.
_tom
13. Re: Buiilt 4.1 64 bit on WIndows failed
- Posted by andi49 Jan 24, 2014
- 2227 views
If someone is interested, i'am willing to put them online as .zip files.
I'll try running your build on a virtual machine. The 32 bit version would be best.
_tom
Hallo
http://euphoria.indonesianet.de/4.1-32.zip
Make sure to edit eu.cfg in the bin directory.
Includes a compiled ed.ex (for testing) and the htmldocs
Andreas
14. Re: Buiilt 4.1 64 bit on WIndows failed
- Posted by Steady Jan 25, 2014
- 2144 views
"some batchfiles to create new builts from the repo"
Myconfig32.bat
Line 1: “call ../vars.bat”
Where is vars.bat or if you just post the lines in it, that would be fine?
Thanks.
15. Re: Buiilt 4.1 64 bit on WIndows failed
- Posted by andi49 Jan 25, 2014
- 2178 views
"some batchfiles to create new builts from the repo"
Myconfig32.bat
Line 1: “call ../vars.bat”
Where is vars.bat or if you just post the lines in it, that would be fine?
Thanks.
Hallo
Sure i can do this. It's this:
set PATH=c:\mingw32\bin;c:\msys\msys\bin;%PATH%
But I'am also sure it wan't help you.
I use a 'strange' setup.
I use a part off tumagcc as my msys (the programs like make,sh etc.)
You can get it here:
http://sourceforge.net/projects/tumagcc/files/0.6b/Tuma_MinGW_Build_Env-0.6b.exe/download
It's a self extracting .exe, so if you copy this file to c:\msys and start it you will have this c:\msys\msys\bin part of vars.bat
You can safely delete everything in c:\msys\msys except ./bin and ./etc
As the Compiler i use http://tdm-gcc.tdragon.net/
Just Install it and add the bin directory to your path, thats the c:\mingw32\bin part of vars.bat
The pro off this setup is that all programs work on a Windows, command prompt, no need to start an emulated terminal session.
The con is, you need to use Slash / instead of \ backslash if you use the programs in msys./ (say sh) You have to type 'sh configure' instead of './configure'
It's a real 'FAT' setup! Even tumagcc is about 500Mb installed (okay, you can savely delete about 480 of them;))
If you only wan't to use the translator (euc.exe) msys does not need to be in the path.
Andreas
16. Re: Buiilt 4.1 64 bit on WIndows failed
- Posted by Steady Jan 26, 2014
- 2081 views
Thanks for the prompt reply.
As I understand it, the call to a batch file ......vars.bat was an intention to add the path to your location for mingw32\bin and msys\bin.
I have never built from scratch, but I will have a go, or several gos and hopefully I will succeed.
17. Re: Buiilt 4.1 64 bit on WIndows failed
- Posted by andi49 Jan 26, 2014
- 2107 views
Hallo
I have created builts for 4.0.x, 4.1 32bit, 4.1 64bit, 4.1 32bit struct branch, 4.1 64 bit struct branch.
All from today, using the Mercurial repo.
You can Download them here: http://euphoria.indonesianet.de/eu4zip.html
Andreas