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]
Other format: [Raw text]

Re: naked functions on x86



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


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