* [gentoo-embedded] cross compiling libperl
@ 2006-11-20 3:13 99% Corey
0 siblings, 0 replies; 1+ results
From: Corey @ 2006-11-20 3:13 UTC (permalink / raw
To: gentoo-embedded
Are there any patches for cross compiling libperl available?
I'm running into (so far, at least one) issue where configure goes and attempts
to test things by creating a simple c program ('try.c'), which fails to run because
it compiled it using (in my particular case) i686-pc-linux-uclibc-gcc.
Here's the output from the configure, as run through my crossdev:
"I've tried to compile and run the following simple program:
#include <stdio.h>
int main() { printf("Ok\n"); return(0); }
I used the command:
i686-pc-linux-uclibc-gcc -o try -O2 -DOVR_DBL_DIG=14 -I/usr/local/include -L/usr/local/lib try.c -lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc
./try
and I got the following output:
/bin/sh: ./try: No such file or directory
The program compiled OK, but exited with status 127."
Here's the relevant portion from ./configure:
: coherency check
echo " "
echo "Checking your choice of C compiler and flags for coherency..." >&4
$cat > try.c <<'EOF'
#include <stdio.h>
int main() { printf("Ok\n"); return(0); }
EOF
set X $cc -o try $optimize $ccflags $ldflags try.c $libs
shift
$cat >try.msg <<'EOM'
I've tried to compile and run the following simple program:
EOM
$cat try.c >> try.msg
$cat >> try.msg <<EOM
I used the command:
$*
$run ./try
and I got the following output:
EOM
I'm wondering if this is a know issue and/or what's the best way of getting around it?
--
gentoo-embedded@gentoo.org mailing list
^ permalink raw reply [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2006-11-20 3:13 99% [gentoo-embedded] cross compiling libperl Corey
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox