I don't understand why LINK asking for underscore char in entry label name when it's being compiled without any import libs and doesn't care about it when it's compiled without the libs.
Example to clear my point:
without libs, yet OK(underscore char in entry name):
without libs, link problems (no underscore char in entry name):
with libs, with or without underscore - no problems:
Example to clear my point:
without libs, yet OK(underscore char in entry name):
_SVIN segment para 'CODE'
_start:
ret
_SVIN ends
end _start
without libs, link problems (no underscore char in entry name):
_SVIN segment para 'CODE'
start:
ret
_SVIN ends
end start
with libs, with or without underscore - no problems:
includelib bla....
...
_SVIN segment para 'CODE'
start:
call ExitProcess
_SVIN ends
end start