title: Using 64 bits integers without C runtime - link error __alldiv
body: <p>I am trying to build a windows console application without using the C runtime (msvcrt or libcmt). That is to link just against kernel32.lib and use console functions from WIN32 API instead of printf and such.</p>
  
  <p>My problem is that during link the compiler fails to find __alldiv which seems to handle 64 bit integer divides in 32 bits applications. I tried both Microsoft's compiler and Intel's.</p>
  
  <p>This function exist in the runtime libraries. It is quite annoying that something as basic as 64 bit integers will require the full C runtime. </p>
  
  <p>Any ideas how to overcome the problem?</p>