Welcome, Guest
Username: Password: Remember me
Tools, Runtimes binaries, Toolchains, OS Scripts and OS Libraries, discussions, problems and suggestion
  • Page:
  • 1

TOPIC:

Can't seem to get cross compiling working... 7 years 11 months ago #9205

  • Richard C Giroux
  • Richard C Giroux's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 15
  • Thank you received: 0
I am trying to cross compile a project for arm-linux.

When I bring up the "download toolchains" dialog, there are no servers listed. Console message say "no tty present and no ask password program specified" "sudo 3 incorrect password attempts"

What am I doing wrong?

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

Can't seem to get cross compiling working... 7 years 11 months ago #9206

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4501
  • Thank you received: 1096
Thanks Sir
you must give "sudo" root privileges to current user
more info here

Your OS ?
PilotLogic Architect and Core Programmer

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

Last edit: by Sternas Stefanos.

Can't seem to get cross compiling working... 7 years 11 months ago #9212

  • Richard C Giroux
  • Richard C Giroux's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 15
  • Thank you received: 0
Oh, my bad. Linux, Ubuntu 14.04

I run the CodeTyphon Center as root. I managed to get it to cross compile for Windows but not luck for Linux-Arm yet.

Getting:
Compile package LCL 5.6.1: Success
Compile Project, CPU: arm, Target: project1: Exit code 256, Errors: 1
/usr/local/codetyphon/fpc/fpc32/bin/i386-linux/arm-linux-ld: skipping incompatible /usr/lib/i386-linux-gnu/crti.o when searching for /usr/lib/i386-linux-gnu/crti.o
/usr/local/codetyphon/fpc/fpc32/bin/i386-linux/arm-linux-ld: cannot find /usr/lib/i386-linux-gnu/crti.o
/usr/local/codetyphon/fpc/fpc32/bin/i386-linux/arm-linux-ld: skipping incompatible /usr/lib/gcc/i686-linux-gnu/4.6/crtbegin.o when searching for /usr/lib/gcc/i686-linux-gnu/4.6/crtbegin.o
/usr/local/codetyphon/fpc/fpc32/bin/i386-linux/arm-linux-ld: cannot find /usr/lib/gcc/i686-linux-gnu/4.6/crtbegin.o
/usr/local/codetyphon/fpc/fpc32/bin/i386-linux/arm-linux-ld: skipping incompatible /usr/lib/i386-linux-gnu//libdl.so when searching for -ldl
/usr/local/codetyphon/fpc/fpc32/bin/i386-linux/arm-linux-ld: skipping incompatible /usr/lib/i386-linux-gnu//libdl.a when searching for -ldl
/usr/local/codetyphon/fpc/fpc32/bin/i386-linux/arm-linux-ld: cannot find -ldl
/usr/local/codetyphon/fpc/fpc32/bin/i386-linux/arm-linux-ld: skipping incompatible /usr/lib/i386-linux-gnu//libQt4Pas.so when searching for -lQt4Pas
/usr/local/codetyphon/fpc/fpc32/bin/i386-linux/arm-linux-ld: cannot find -lQt4Pas
/usr/local/codetyphon/fpc/fpc32/bin/i386-linux/arm-linux-ld: skipping incompatible /usr/lib/i386-linux-gnu//libX11.so when searching for -lX11
/usr/local/codetyphon/fpc/fpc32/bin/i386-linux/arm-linux-ld: skipping incompatible /usr/lib/i386-linux-gnu//libX11.a when searching for -lX11
/usr/local/codetyphon/fpc/fpc32/bin/i386-linux/arm-linux-ld: cannot find -lX11
/usr/local/codetyphon/fpc/fpc32/bin/i386-linux/arm-linux-ld: skipping incompatible /usr/lib/i386-linux-gnu//libc.so when searching for -lc
/usr/local/codetyphon/fpc/fpc32/bin/i386-linux/arm-linux-ld: skipping incompatible /usr/lib/i386-linux-gnu//libc.a when searching for -lc
/usr/local/codetyphon/fpc/fpc32/bin/i386-linux/arm-linux-ld: cannot find -lc
project1.lpr(20,1) Error: Error while linking

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

Last edit: by Richard C Giroux.

Can't seem to get cross compiling working... 7 years 11 months ago #9213

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4501
  • Thank you received: 1096
Sir, my suggestions
1) reinstall CodeTyphon
like this tutorial

2) always run CTCenter as normat user with sudo root privileges
3) install Platform OS libraries
PilotLogic Architect and Core Programmer

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

Last edit: by Sternas Stefanos.
  • Page:
  • 1