Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 04-02-2013, 05:46 AM   #1
LQ Newbie
Registered: Apr 2013
Posts: 2

Rep: Reputation: Disabled
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

Last edited by kuppan-j; 04-02-2013 at 05:49 AM.
Old 04-02-2013, 05:52 AM   #2
LQ Newbie
Registered: Apr 2013
Posts: 2

Original Poster
Rep: Reputation: Disabled
PLease help i am seek out this


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenGL cross compilation for ARM les sciences Linux - Software 1 10-23-2012 10:47 AM
Arm cross compilation shariefbe Linux - Software 1 12-18-2009 10:45 AM
Eclipse Installation and configuring for ARM Xscale. MKSrivastava Linux - Laptop and Netbook 1 11-17-2008 06:40 AM
native compilation on ARM ?? ra2008 Linux - Embedded & Single-board computer 5 07-27-2008 08:38 AM
setkey tool compatible with XSCALE ARM cross compiler tushar_barahate Linux - Software 0 05-23-2007 10:41 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:41 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration