Cross complilation

Emil Rojas <[email protected]> Thu, 23 Sep 2004 12:23:36 -0700
Newsgroups gmane.comp.audio.mad.devel
Message-ID <[email protected]>
The MAD code drop does not appear to be set up for cross compilation.  I 
have tried to modify the makefile and libtool script to used tools with 
CROSS_COMPILE prepended.  The code, madlib and minimad compile but when I 
try to run minimad I get the output below and I have no idea what it 
means.  I have been able to compile and run madpaly for my development 
platform, an X86 linux PC.

Any help greatly appreciated.  If you can CC me in any reply I would 
appreciate that also.

------------------
minimad
sed_quote_subst=s/\([\\`\\"$\\\\]\)/\\\1/g: not found
relink_command=(cd /home/erojas/src/shell/madplay/madlib-xilleon; { test -z 
"${LIBRARY_PATH+set}" || unset LIBRARY_PATH || { LIBRARY_PATH=; export 
LIBRARY_PATH; }; }; { test -z "${COMPILER_PATH+set}" || unset COMPILER_PATH 
|| { COMPILER_PATH=; export COMPILER_PATH; }; }; { test -z 
"${GCC_EXEC_PREFIX+set}" || unset GCC_EXEC_PREFIX || { GCC_EXEC_PREFIX=; 
export GCC_EXEC_PREFIX; }; }; { test -z "${LD_RUN_PATH+set}" || unset 
LD_RUN_PATH || { LD_RUN_PATH=; export LD_RUN_PATH; }; }; 
PATH=".:/home/erojas/bin:/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/tools/bin:/sbin:/usr/sbin:/home/erojas/bin"; 
export PATH; /usr/tools/bin/mipsel-linux-gcc -o $progdir/$file 
minimad.o  ./.libs/libmad.so -Wl,--rpath 
-Wl,/home/erojas/src/shell/madplay/madlib-xilleon/.libs -Wl,--rpath 
-Wl,/usr/local/lib): not found
192: SIGSEGV
sed_quote_subst=s/\([\\`\\"$\\\\]\)/\\\1/g: not found
relink_command=(cd /home/erojas/src/shell/madplay/madlib-xilleon; { test -z 
"${LIBRARY_PATH+set}" || unset LIBRARY_PATH || { LIBRARY_PATH=; export 
LIBRARY_PATH; }; }; { test -z "${COMPILER_PATH+set}" || unset COMPILER_PATH 
|| { COMPILER_PATH=; export COMPILER_PATH; }; }; { test -z 
"${GCC_EXEC_PREFIX+set}" || unset GCC_EXEC_PREFIX || { GCC_EXEC_PREFIX=; 
export GCC_EXEC_PREFIX; }; }; { test -z "${LD_RUN_PATH+set}" || unset 
LD_RUN_PATH || { LD_RUN_PATH=; export LD_RUN_PATH; }; }; 
PATH=".:/home/erojas/bin:/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/tools/bin:/sbin:/usr/sbin:/home/erojas/bin"; 
export PATH; /usr/tools/bin/mipsel-linux-gcc -o $progdir/$file 
minimad.o  ./.libs/libmad.so -Wl,--rpath 
-Wl,/home/erojas/src/shell/madplay/madlib-xilleon/.libs -Wl,--rpath 
-Wl,/usr/local/lib): not found
215: SIGSEGV
relink_command_output=: not found
_command_output
[erojas@ati-stw madlib-xilleon]$ minimad
sed_quote_subst=s/\([\\`\\"$\\\\]\)/\\\1/g: not found
relink_command=: not found
229: SIGSEGV
sed_quote_subst=s/\([\\`\\"$\\\\]\)/\\\1/g: not found
relink_command=: not found
252: SIGSEGV
relink_command_output=: not found
_command_output