title: How to force gcc use int for system calls, not sysenter?
body: <p>Is it possible to force gcc use <em>int</em> instruction for all the system calls, but not <em>sysenter</em>? This question may sound strange but I have to compile some projects like Python and Firefox this way.</p>
  
  <p><strong>Summary</strong></p>
  
  <p>Thanks to jbcreix, I've downloaded glibc 2.9 source code, and modified the lines in sysdeps/unix/sysv/linux/i386/sysdep.h, to disable use of sysenter by <code>#undef I386_USE_SYSENTER</code>, and it works.</p>