Cannot Return to 32-Bit Phix After 64-Bit Phix
- Posted by euphoric (admin) 1 month ago
- 437 views
Pete! I built a 64-bit p and made QoL changes to edita, but when compiling it afresh, it's telling me Arwen isn't 64-bit compatible, so I'm trying to return to a 32-bit p, and it's giving me an error.
I've commented format PE64, uncommented format PE32, and get this error:
PS C:\Program Files (x86)\Phix> p -cp Check for and shut down any running instances of p.exe and/or pw.exe (retry messages are given when required after round 4, and if it cannot overwrite both, it will not overwrite either) Self-host round 1: compiling p.exw Self-host round 1: compiled OK (0.36s), creating pnew.exe C:\Program Files (x86)\Phix\pEmit2.e:505 in procedure appenddsDword() attempt to divide by 0 v = 3.435996678e+10 s = <novalue> ... called from C:\Program Files (x86)\Phix\pEmit2.e:2250 in procedure flatdump() s = {0,1,0,20993,0,23,3,3.435996678e+10,0} refcount = 1 reloc = 0 l = 9 l20 = 56 i = 8 ... called from Global & Local Variables --> see C:\Program Files (x86)\Phix\ex.err Press Enter...
I also tried compiling by commenting out both the "format PE32" and the "format PE64," thinking it would default to 32-bit, but it just creates another 64-bit version.
What should I do next?

