Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » Cross Compile to ARM via ToolChain
Cross Compile to ARM via ToolChain [message #21431] Wed, 20 May 2009 00:44 Go to next message
d_th
Messages: 20
Registered: April 2009
Promising Member
Hi,
i try to compile some simple Code from examples via an existing Tool chain, for an ARM System, on an Debian Etch PC.

I ask many People in this Board, have a lot of help but it wouldn't work.

In the upload file i give you my BuildMethod File and the error log.

I do not understand how to set the right options for compile.

Thanks for your Help!

Dieter
  • Attachment: UPP.help
    (Size: 1.07MB, Downloaded 206 times)
Re: Cross Compile to ARM via ToolChain [message #21434 is a reply to message #21431] Wed, 20 May 2009 08:51 Go to previous messageGo to next message
cocob is currently offline  cocob
Messages: 156
Registered: January 2008
Experienced Member
this is your include dir settings

INCLUDE = " /usr/include/freetype2;/usr/include/gtk-2.0;/usr/include/gli b-2.0;/usr/lib/glib-2.0/include;/usr/lib/gtk-2.0/include;/us r/include/cairo;/usr/include/pango-1.0;/usr/include/atk-1.0; /usr/X11R6/include;/usr/X11R6/include/freetype2;/usr/X11R6/i nclude/gtk-2.0;/usr/X11R6/include/glib-2.0;/usr/X11R6/lib/gl ib-2.0/include;/usr/X11R6/lib/gtk-2.0/include;/usr/X11R6/inc lude/cairo;/usr/X11R6/include/pango-1.0;/usr/X11R6/include/a tk-1.0;/usr/include/X11 ";

The compiler is searching for X11/Xlib.h
where is this file on your system ?

if it is on /usr/include/X11/ you must add /usr/include to your include dirs, etc...

cocob

[Updated on: Wed, 20 May 2009 08:52]

Report message to a moderator

Re: Cross Compile to ARM via ToolChain [message #21494 is a reply to message #21434] Fri, 22 May 2009 21:09 Go to previous messageGo to next message
d_th
Messages: 20
Registered: April 2009
Promising Member
hi cocob,

many thanks for your help!

there is an other problem now after fixing the path problem.
i think it depends on the architecture, but i have no idea how to fix it.
Can you help me?

#elif __arm // ToDo!
#define CPU_32 1
#define CPU_ARM 1
#define CPU_LE 1
#define CPU_LITTLE_ENDIAN 1 // is it really?
#define CPU_ALIGNED 1
#else
#error Unknown CPU architecture
#endif


Dieter
  • Attachment: Error.txt
    (Size: 150.95KB, Downloaded 186 times)
icon8.gif  Re: Cross Compile to ARM via ToolChain [message #21504 is a reply to message #21494] Sat, 23 May 2009 10:45 Go to previous message
d_th
Messages: 20
Registered: April 2009
Promising Member
Hi all,

why is nobody able to help me?
i realy need help with this problem.
i couldn't find a hint in the documentation.

Dieter

[Updated on: Sat, 23 May 2009 22:07]

Report message to a moderator

Previous Topic: how to solve? (add compiler option -> solved)
Next Topic: New user
Goto Forum:
  


Current Time: Sun Nov 17 01:13:38 CET 2019

Total time taken to generate the page: 0.02377 seconds