-   Linux - General (
-   -   Xscale or arm compilation (

kuppan-j 04-02-2013 05:46 AM

Xscale or arm compilation
Below is test.cpp

#include <X11/Xlib.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
int main(int argc, char** argv)
int Xco,Yco;
Display* display = XOpenDisplay(0);
Window root =DefaultRootWindow(display);
XWarpPointer(display, None, root, 0, 0, 0, 0, Xco, Yco);
return 0;

we all know that compilation in x86 would be

g++ -L/usr/X11R6/lib -lX11 test test.cpp

But how to compile the same file for cross compilation????

Please anyone suggest me a solution to solve the problem

kuppan-j 04-02-2013 05:52 AM

PLease help i am seek out this

All times are GMT -5. The time now is 10:27 PM.