Re: EU4.1 Struct Branch eubw.exe missing
- Posted by andi49 Mar 08, 2013
- 1602 views
Hi
after a while i found some sparetime to work with Euphoria.
In order to build a 64-bit version, you need to translate with a 4.1 interpreter (running the translator) or translator. A 4.0 translator won't handle things correctly. Could you give some more details about what happened or what didn't work?
Matt
I found the problem on my System. There was a missing semicolon in the PATH. Same place on two machines one with WIn XP the other win Win 8.
C:\Windows\System32\Wbemc:\euphoria...;c:\Mingw32...
The c:\euphoria PATH points to Euphoria3. I really do not know what this Wbem is good for. But it seems i don't really needed these entrys :)
Okay, what happend was that the Windows cmd just ignores the faulty entry and steps over it to the next entry in the PATH. A euc.exe built with Watcom behaves the same way, but a euc.exe built with gcc stopped searching the PATH at the point of the faulty entry (missing semicolon).
This means i was able to built a 32bit 4.1 with gcc, but only with a 4.0.x built with Watcom.
The resulting 4.1 (also 4.0.x built with gcc) just didn't find gcc on the PATH.
But, okay fixed. I'am was able to built a 64bit Version now.
Euphoria Interpreter v4.1.0 development 64-bit Windows, Using System Memory Revision Date: 2013-03-05 22:42:31, Id: 6025:b526e962eb61 ERROR: Must specify the file to be interpreted on the command line
But i was not able to run any of the demos with this interpreter. Nothing happend, no console output, no ex.err. eui.exe or euiw.exe seems to run and then return to the command prompt.
The interpreter seems at least basicly to work, i was able to run a program like this.
puts(1,"Hallo Welt")
I played a little with some of the demos and find out that there is maybe a problem with std/console.e and std/io.e, or maybe the underlying functions.
The output of my little Hello World program disapears if i include one of these. Even when no function is used.
And, yes i tried one of the nightlybuilts, with the same result. This one:
Euphoria Interpreter v4.1.0 development 64-bit Windows, Using System Memory Revision Date: 2013-02-15 14:10:08, Id: 5984:1a35013eb40e ERROR: Must specify the file to be interpreted on the command line
I'am using Win 8 Pro 64bit. The 32bit 4.1 seems to work.
Andreas
Edit:
I tried to use gdb (first time, so I'am not really sure what I'am doing ;)
C:\e64>gdb --args c:\e64\bin\eui.exe "c:\e64\demo\ascii.ex" GNU gdb (GDB) 7.5 Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-w64-mingw32". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from c:\e64\bin\eui.exe...done. (gdb) start Temporary breakpoint 1 at 0x5c4be0: file c:/crossdev/src/mingw-w64-svn/mingw-w64 -crt/crt/crt0_c.c, line 17. Starting program: c:\e64\bin\eui.exe c:\e64\demo\ascii.ex [New Thread 3180.0xd04] Temporary breakpoint 1, main (flags=2, cmdline=0x361560, inst=0x361ab0) at c:/crossdev/src/mingw-w64-svn/mingw-w64-crt/crt/crt0_c.c:17 17 c:/crossdev/src/mingw-w64-svn/mingw-w64-crt/crt/crt0_c.c: No such file o r directory. (gdb) cont Continuing. Program received signal SIGSEGV, Segmentation fault. 0x000000000054cc62 in _62my_sscanf () (gdb) cont Continuing. Program received signal SIGSEGV, Segmentation fault. 0x000000000054cc62 in _62my_sscanf () (gdb) cont Continuing. [Inferior 1 (process 3180) exited with code 0377] (gdb)
Forked into: Eu4.1 64Bit on Win8 not working