Quantcast
Channel: perl.dist
Viewing all articles
Browse latest Browse all 80

Re: Help Needed For Perl 5.8.8 Porting On ARM Linux by Nicholas Clark

$
0
0
I think really this question should be asked on perl5-porters

On Mon, Dec 18, 2006 at 11:03:33AM +0530, Sudhanshu Saxena wrote:
> Hi All,
>
> After going through webpages and Configure scripts to cross compile Perl , I
> understand that there is a need of SSH connectivity between the target
> device and the host platform.
>
> Is there a way if there is no SSH I can try using the cross compiler.
> I am using "gcc version 4.1.0 (Sourcery G++ 4.1-6)
> arm-none-linux-gnueabi-gcc" cross compiler. Host platform
> is Linux on intel and target is Linux on ARM926EJS.
>
> If you have any document that could be a great help and is there a way I can
> remove the dependency on SSH/SCP for cross compilation?

Cross-compiling perl is somewhat experimental. I'm not sure if anyone on
perl5-porters, the main development list is actively cross-compiling.
I'm unaware of any documents outside the source tree.

Perl builds just fine on ARM natively (see the example configuration in
Porting/config.sh) but I realise that for that you need to have native gcc
and other parts of the toolchain. You may find it easier to go that route.
(And no, I'm not joking here, as I am assuming that all GNU tools, even
gcc, are much better set up to be cross compiled than Perl is, given that
they all have configuration options for --host, --build and --target)

Nicholas Clark

Viewing all articles
Browse latest Browse all 80

Trending Articles