This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Register-based calling conventions and Watcom


Sirs,
As you probably know, the Watcom/Power++ family of Win32 compilers seem to be dying.
All of the current users (like me) are looking for an alternative for the Win32 platform.
VC++ is totally unacceptable. Intel C++ is -VERY- good (based on EDG front-end) but it is
uses stack-based calling conventions.
Watcom can use stack-based or register-based calling convention for any function.
Most of the code and libraries (and assembly code) was written with register-based
calling, as it is faster.
I have read on the EGCS docs that it can use registers for calls, but just
EAX EDX ECX. Watcom uses EAX EDX EBX ECX (in that order) for the first 4 integer
params, and stack for remaining params.
May EGCS be customized to emulate Watcom? I think it was the only company that
used register-based and many Watcom/Power++ users would greatly appreciate this.

Thank you in advance,
Ricardo E. Gayoso
ALFANUCLEAR


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]