Results 1 to 2 of 2
Hi Sorry about my terrible english,
i want to compile au Prog form 32bit to 64 bit,
and i dont know what to do :/
Can you help me! ? ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 04-03-2010 #1Just Joined!
- Join Date
- Apr 2010
- Posts
- 1
How compile a file from 32to64bit (Syscall?)
Hi Sorry about my terrible english,
i want to compile au Prog form 32bit to 64 bit,
and i dont know what to do :/
Can you help me! ? Here is the Code:
#include <stdio.h>
#include <linux/unistd.h>
#include <errno.h>
main ()
{
printf("Berechnung nach Gauß Formel \n");
printf("Die Summe ist: %d \n", syscall(320) );
}
(its the Code for 32 Bit)
and needed for 64bit......
- 04-04-2010 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 10,143
By default, if you build it on a 64-bit system, it will generate 64-bit code. So, what exactly is your problem?
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!


Reply With Quote
