View previous topic :: View next topic |
Author |
Message |
phoenix_me Apprentice
Joined: 24 Dec 2003 Posts: 281 Location: Lubliniec
|
Posted: Mon Aug 15, 2011 8:48 pm Post subject: crossdev issue with perl-5.10.1 for arm |
|
|
I am trying to build perl-5.10.1 for arm but have the following error:
Code: |
I used the command:
armv5tel-softfloat-linux-gnueabi-gcc -o try -O2 -pipe -fomit-frame-pointer -I/usr/armv5tel-softfloat-linux-gnueabi/usr/include/ -I/usr/armv5tel-softfloat-linux-gnueabi/include/ -DOVR_DBL_DIG=14 -DDEBUGGING -L/usr/local/lib try.c -lpthread -lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc -lgdbm_compat
./try
and I got the following output:
/bin/sh: ./try: cannot execute binary file
The program compiled OK, but exited with status 126.
You have a problem. Shall I abort Configure [y]
Ok. Stopping Configure. |
I am stuck and don't know where to look for resolution. _________________ phoenix
___
myslenie ma przyszlosc
___ |
|
Back to top |
|
|
spielc Guru
Joined: 20 Apr 2004 Posts: 452
|
Posted: Mon Sep 19, 2011 12:07 pm Post subject: Re: crossdev issue with perl-5.10.1 for arm |
|
|
Hi!
phoenix_me wrote: | I am trying to build perl-5.10.1 for arm but have the following error:
Code: |
I used the command:
armv5tel-softfloat-linux-gnueabi-gcc -o try -O2 -pipe -fomit-frame-pointer -I/usr/armv5tel-softfloat-linux-gnueabi/usr/include/ -I/usr/armv5tel-softfloat-linux-gnueabi/include/ -DOVR_DBL_DIG=14 -DDEBUGGING -L/usr/local/lib try.c -lpthread -lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc -lgdbm_compat
./try
and I got the following output:
/bin/sh: ./try: cannot execute binary file
The program compiled OK, but exited with status 126.
You have a problem. Shall I abort Configure [y]
Ok. Stopping Configure. |
.... |
That's actually not a crossdev-issue. The problem is that perl is one of the hardest things to cross-compile. Quite alot of ppl tried (including myself) but gave up on it. I usually install a binary-version of perl from the gentoo tinderbox. _________________ Raise your beers up high... |
|
Back to top |
|
|
phoenix_me Apprentice
Joined: 24 Dec 2003 Posts: 281 Location: Lubliniec
|
Posted: Mon Sep 19, 2011 12:54 pm Post subject: Re: crossdev issue with perl-5.10.1 for arm |
|
|
spielc wrote: | Hi!
phoenix_me wrote: | I am trying to build perl-5.10.1 for arm but have the following error:
Code: |
I used the command:
armv5tel-softfloat-linux-gnueabi-gcc -o try -O2 -pipe -fomit-frame-pointer -I/usr/armv5tel-softfloat-linux-gnueabi/usr/include/ -I/usr/armv5tel-softfloat-linux-gnueabi/include/ -DOVR_DBL_DIG=14 -DDEBUGGING -L/usr/local/lib try.c -lpthread -lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc -lgdbm_compat
./try
and I got the following output:
/bin/sh: ./try: cannot execute binary file
The program compiled OK, but exited with status 126.
You have a problem. Shall I abort Configure [y]
Ok. Stopping Configure. |
.... |
That's actually not a crossdev-issue. The problem is that perl is one of the hardest things to cross-compile. Quite alot of ppl tried (including myself) but gave up on it. I usually install a binary-version of perl from the gentoo tinderbox. |
I gave up not because I gave up but because I just don't have time anymore to resolve this one. Anyway under your link there is no perl for my architecture.
What I did finally - I just compiled a perl on target arch.
regards _________________ phoenix
___
myslenie ma przyszlosc
___ |
|
Back to top |
|
|
spielc Guru
Joined: 20 Apr 2004 Posts: 452
|
|
Back to top |
|
|
|