× CodeTyphon Platforms (Win, GTK2/3, QT4/5, Cocoa, etc) Development, discussions and problems

Question ARM cross-compiling

More
11 years 3 months ago #115 by Kjow
ARM cross-compiling was created by Kjow
Hi all,

I have a pair of problems with ARM cross-compiling.

Common steps:

I install CodeTyphon on Win7,
I build all cross for FPC32, then for Laz32
I launch Laz32 and I make simple program.

then:

1) arm-linux from Windows (7)

While compiling I get error: "cannot find -lX11"


2) arw-wince from Windows (7)

Simple program build OK, but if I use GLScene it give me error: "bad option -Rintel"
If I remove all glscene components it give me same error.

I can use GLScene for arm cpus?

thanks!

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
11 years 3 months ago #116 by Sternas Stefanos
Replied by Sternas Stefanos on topic Re:ARM cross-compiling
Please read CodeTyphon Web Help,

cross_build_for_wince

for details.

PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

More
11 years 3 months ago #117 by Kjow
Replied by Kjow on topic Re:ARM cross-compiling
Thank's but... what you posted is the only one that worked for me, the only thing that I not asked :)

Please Log in or Create an account to join the conversation.

More
11 years 1 month ago #150 by Kjow
Replied by Kjow on topic Re:ARM cross-compiling
Hi, i can't get working arm-linux build.

In your specs there is:

Win32 Layer is Cross-Build Center with Cross Elements for:
o arm-Wince
o arm-Linux
o etc...

But arm-Linux doesn't build. Everytime is error: "cannot find -lX11".

Can you tell me why?

Thank you!

Please Log in or Create an account to join the conversation.

More
11 years 1 month ago #151 by AlerMeta
Replied by AlerMeta on topic Re:ARM cross-compiling
Hi,

I install the latest version (0.994)

- FPC build 32bit - ok
- Lazarus build 32bit - ok
- lazarus32 build Cross elements arm-wince - error:

???????????????????????????????????????????????????????????
ERROR: lazarus\lcl\units\arm-wince\ NOT Exists
Sorry, Lazarus32 arm-wince Element NOT Build
???????????????????????????????????????????????????????????

Why? Please help.


Thx.

Please Log in or Create an account to join the conversation.

More
11 years 1 month ago #152 by AlerMeta
Replied by AlerMeta on topic Re:ARM cross-compiling
Sorry:

Try compiling (arm-wince):


project1.lpr(6,28) Fatal: Can't find unit Interfaces used by Project1

Please Log in or Create an account to join the conversation.