LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices


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

Rep: Reputation: Disabled
Xscale or arm compilation


Below is test.cpp

#include <X11/Xlib.h>
#include<stdio.h>
#include<unistd.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);
Xco=atoi(argv[1]);
Yco=atoi(argv[2]);
XWarpPointer(display, None, root, 0, 0, 0, 0, Xco, Yco);
XCloseDisplay(display);
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 04:49 AM.
 
Old 04-02-2013, 04:52 AM   #2
kuppan-j
LQ Newbie
 
Registered: Apr 2013
Posts: 2

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


Reply



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 09:47 AM
Arm cross compilation shariefbe Linux - Software 1 12-18-2009 09:45 AM
Eclipse Installation and configuring for ARM Xscale. MKSrivastava Linux - Laptop and Netbook 1 11-17-2008 05:40 AM
native compilation on ARM ?? ra2008 Linux - Embedded & Single-board computer 5 07-27-2008 07:38 AM
setkey tool compatible with XSCALE ARM cross compiler tushar_barahate Linux - Software 0 05-23-2007 09:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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

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