- Posts: 15
- Thank you received: 0
×
Tools, Runtimes binaries, Toolchains, OS Scripts and OS Libraries, discussions, problems and suggestion
Question Can't seem to get cross compiling working...
- Richard C Giroux
- Topic Author
- Offline
- New Member
-
Less
More
4 years 11 months ago #9205
by Richard C Giroux
Can't seem to get cross compiling working... was created by Richard C Giroux
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?
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.
- Sternas Stefanos
-
- Offline
- Moderator
-
- Ex Pilot, M.Sc, Ph.D
4 years 11 months ago - 4 years 11 months ago #9206
by Sternas Stefanos
PilotLogic Architect and Core Programmer
Replied by Sternas Stefanos on topic Can't seem to get cross compiling working...
PilotLogic Architect and Core Programmer
Last edit: 4 years 11 months ago by Sternas Stefanos.
Please Log in or Create an account to join the conversation.
- Richard C Giroux
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 15
- Thank you received: 0
4 years 11 months ago - 4 years 11 months ago #9212
by Richard C Giroux
Replied by Richard C Giroux on topic Can't seem to get cross compiling working...
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
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
Last edit: 4 years 11 months ago by Richard C Giroux.
Please Log in or Create an account to join the conversation.
- Sternas Stefanos
-
- Offline
- Moderator
-
- Ex Pilot, M.Sc, Ph.D
4 years 11 months ago - 4 years 11 months ago #9213
by Sternas Stefanos
PilotLogic Architect and Core Programmer
Replied by Sternas Stefanos on topic Can't seem to get cross compiling working...
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
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
Last edit: 4 years 11 months ago by Sternas Stefanos.
Please Log in or Create an account to join the conversation.