News:

Download Pelles C here: http://www.pellesc.se

Main Menu

Compiling using pomake

Started by rweidner, March 03, 2026, 05:27:26 PM

Previous topic - Next topic

TimoVJL

#15
pomake.exe v14 works with Windows 7 x64, and CPU without MOVBE
SET PellesCDir=C:\code\PellesC14rc1
SET PATH=%PellesCDir%\bin
pomake.exe -F sqlite364_V14.ppj
sqlite3.c needs some modifications ?
..\sqlite3.c(126948): error #2168: Operands of '=' have incompatible types: 'char *' and 'const char *'.
..\sqlite3.c(132978): error #2082: Invalid initialization type; expected 'char *' but found 'const char *'.
POMAKE: fatal error: 'pocc.exe -Tx64-coff -std:C23 -Ot -Ob1 -fp:precise -W0 -Gz -Ze -J "..\sqlite3.c" -Fo"output64\sqlit
e3.obj"', exit code 1.
POLIB: fatal error: An internal error occurred.something to test with different CPUspolib.exe -machine:x86 -def:msvcrt.def -out:msvcrt.lib
May the source be with you

John Z

Great test Timo.

So that means pomake, pocc, polink, porc, are all 'ok' as far as the MOVBE is concerned.
I also tested poviewp and it was ok.

So it is likely that only poide is affected but points out we should test each po... tool.


John Z

TimoVJL

#17
No, polink.exe and polib.exe don't work.

EDIT:
with v14 pocc.exe and libs and v13 polink.exe and polib.exe
Zydis 4 dll and example worked.
TLPEView worked.

SQLite3 failed, illegal instruction (movbe)
May the source be with you

Vortex

#18
Hi Timo,

Quotepomake.exe v14 works with Windows 7 x64, and CPU without MOVBE

The other tools are :

poasm.exe
podump.exe
pope.exe
porc.exe
Code it... That's all...

John Z

#19
I made bad assumption then.  Assumed the fail to complete was a cascade due to the sqlite3.C code compile fail....

John Z

Tested on known good program. Only .obj created confirming polink not working.  No error message just crickets...