On 3 Jun, 2004, at 10:34, Jonathan Wilson wrote: > Is there a way to get the same functionality as __declspec(naked) in > visual C++ with GCC on x86? Try: function() __attribute__ ((naked)); I think that works. -- Jim Lemke jim@wasabisystems.com Orillia, Ontario