CrossCompilePerl.ARM.Perl
am 12.05.2011 09:36:25 von HeefanHi folks,
I have a question on cross compiling Perl for ARM9.
My PC: Ubuntu
My Device: ARM9 + embedded Linux
SSH : enable and working
Perl Version: 5.12.3
The Command I used,
$sudo ./Configure -des -Dusecrosscompile \
-Dtargethost=192.168.30.110 \
-Dtargetdir=/cross/bin \
-Dtargetuser=root
-Dtargetarch=arm-linux \
-Dcc=/usr/arm/bin/arm-linux-gcc \
-Dincpth=/usr/arm/include \
-Dusrinc=/usr/arm/include \
-Dlibpth=/usr/arm/lib
(1) Why it keep asking my type password for target? Was it doing SSH
connection?
For example,
atoll() NOT found.
Checking whether your compiler can handle __attribute__((format)) ...
Checking whether your compiler allows __printf__ format to be null ...
root@192.168.30.110's password:
root@192.168.30.110's password:
root@192.168.30.110's password:
Checking whether your compiler can handle __attribute__((malloc)) ...
Checking whether your compiler can handle
__attribute__((nonnull(1))) ...
(2) What's the meaning of the result?
What is the length of a character (in bits)? [Ok]
Your system has an unsigned character size of Ok bits, which
is rather unusual (normally it is 8 bits). Perl likely will not work
correctly on your system, with subtle bugs in various places.
Do you really want to continue? [n]
Does it mean i cannot compile perl as arm version?
Thanks.
--
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/