You're not past it... :(
checking whether we are cross compiling... no
checking for suffix of executables... .exe
That's bad... IT's not compiling for ARM.
Jason
Seano wrote:
Thanks again Dave, you are going way beyond by answering
all these dumb things for me. Once again you have gotten me past that
stumbling block. Now, I am back to a missing include file:
$ ./configure --target=arm-unknown-linux-gnu --prefix=/home/Sean\
Grady/test
checking build system type... i686-pc-cygwin
checking host system type... i686-pc-cygwin
checking target system type... arm-unknown-linux-gnu
checking for gcc... gcc
checking for C compiler default output... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... .exe
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for ranlib... ranlib
checking whether ln -s works... yes
checking for wordexp... no
checking for glob... yes
checking for query_module in -lc... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating Makefile.common
config.status: creating depmod/Makefile
config.status: creating genksyms/Makefile
config.status: creating insmod/Makefile
config.status: creating obj/Makefile
config.status: creating util/Makefile
config.status: creating man/Makefile
Sean /modutils-2.4.27
$ make
make[1]: Entering directory `/modutils-2.4.27/util'
gcc -M -O2 -Wall -I./../include -D_GNU_SOURCE -DPACKAGE_NAME=\"\"
-DPACKAGE_TARN
AME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\"
-DPACKAGE_BUGREPORT=\"\" -
DCONFIG_USE_SYSCALL=1 -DCONFIG_ROOT_CHECK_OFF=0
-DELF_MACHINE_H='"elf_arm.h"' -
DARCH_arm xmalloc.c xrealloc.c xstrcat.c xstrdup.c xsystem.c logger.c
modstat.c
meta_expand.c config.c snap_shot.c arch64.c gzfiles.c sys_nim.c xftw.c
sys_cm.c
sys_dm.c sys_gks.c sys_qm.c > .depend
sys_nim.c:30:24: asm/unistd.h: No such file or directory
sys_cm.c:30:24: asm/unistd.h: No such file or directory
sys_dm.c:30:24: asm/unistd.h: No such file or directory
sys_gks.c:30:24: asm/unistd.h: No such file or directory
sys_qm.c:30:24: asm/unistd.h: No such file or directory
make[1]: *** [.depend] Error 1
make[1]: Leaving directory `/modutils-2.4.27/util'
make: *** [all] Error 2
Sean /modutils-2.4.27
$
On 5/18/07, David Hawkins <> wrote:
David Hawkins wrote:
> Seano wrote:
>> Dave, your solution does fix that problem, so thank you.
>>
>> $ CC=arm-unknown-linux-gnu ./configure --build=i386-linux
>> --host=arm-unknown-li
>> nux-gnu
>>
--prefix=/opt/crosstool/arm-unknown-linux-gnu/gcc-3.3.2-glibc-2.3.2 /arm
>> -unknown-linux-gnu
Try something like this (assuming you're using a bash shell)
export ARCH=arm
export PATH=/opt/crosstool/arm-unknown-linux-gnu/
gcc-3.3.2-glibc-2.3.2/arm-unknown-linux-gnu:$PATH
export CROSS_COMPILE=arm-unknown-linux-gnu-
cd ~
mkdir test
and then
./configure --target=arm-unknown-linux-gnu --prefix=/home/seano/test
if that fails then try
CC=arm-unknown-linux-gnu-gcc ./configure --target=arm-unknown-linux-gnu
--prefix=/home/seano/test
If that works, then do
make
make install
and the code will get dumped into /home/seano/test. Once you
get it working, you can figure out where you really want
install to put stuff.
Dave
__._,_.___
SPONSORED LINKS
__,_._,___
|
|