Carlo Sogono wrote:

> Good point. How do I check this? `uname -a` only reports machine 
> architecture.

I don't have a 64 bit machine to test this one, but I think
"uname -m" should say something like "x86_64". If it says
"i686" or something similar then you have a 32 bit kernel.

For the application itself, 

    printf ("sizeof (void*) : %u\n" sizeof (void*));

should print 8 from a 64 bit executable and 4 from a 32 bit
executable.

HTH,
Erik
-- 
+-----------------------------------------------------------+
  Erik de Castro Lopo
+-----------------------------------------------------------+
"Every time you get a windows programmer asking you to write some
ass-backward workaround, think of it as a crack junkie asking you
to help stuff his pipe because his hands are too shaky."
-- Conrad Parker
_______________________________________________
coders mailing list
[email protected]
http://lists.slug.org.au/listinfo/coders

Reply via email to