CrossCompilePerl.ARM.Perl

CrossCompilePerl.ARM.Perl

am 12.05.2011 09:36:25 von Heefan

Hi 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/

Re: CrossCompilePerl.ARM.Perl

am 12.05.2011 21:40:40 von Uri Guttman

>>>>> "H" == Heefan writes:

H> I have a question on cross compiling Perl for ARM9.

i would say this is not a list for talking about cross compiling. it is
about beginners learning perl and your question is way off topic. your
best bet is contacting the p5p (perl5 porters list) who work on making
and supporting perl itself. see lists.perl.org to find its address.

uri

--
Uri Guttman ------ uri@stemsystems.com -------- http://www.sysarch.com --
----- Perl Code Review , Architecture, Development, Training, Support ------
--------- Gourmet Hot Cocoa Mix ---- http://bestfriendscocoa.com ---------

--
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/