NO

Author Topic: PoAsm & ERRORLEVEL  (Read 2700 times)

Jokaste

  • Guest
PoAsm & ERRORLEVEL
« on: December 01, 2017, 08:25:32 PM »
I want to launch poasm into a bat file.
Does poasm initialize an ERRORLEVEL?
Which values?
And PoLink?
Example :

"C:\Program Files\PellesC\Bin\poasm.exe" -AAMD64 -Gr -V2 "C:\Users\Grincheux\Documents\Assembleur\E\Test.asm"
IF ERRORLEVEL 1 GOTO Errors
@Echo Assembling phase ended
"C:\Program Files\PellesC\Bin\polink.exe" -subsystem:windows -machine:x64 -release -largeaddressaware -osversion:6.10 -out:"
C:\Users\Grincheux\Documents\Assembleur\E\Test.exe" "C:\Users\Grincheux\Documents\Assembleur\E\Test.obj"
ERRORLEVEL 1 GOTO Errors
@Echo Linking phase ended
@Echo Build Ended
@Exit
:Errors
@Echo PoAsm found errors in this files during compilation
@EXIT
« Last Edit: December 01, 2017, 08:28:12 PM by Jokaste »