ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: programming tools for TS-Linux

To:
Subject: Re: [ts-7000] Re: programming tools for TS-Linux
From: Jason Stahls <>
Date: Fri, 18 May 2007 15:22:09 -0400
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
Single board computer Hardware Computer running slow
Linux os

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: =Email Delivery: Digest | m("yahoogroups.com?subject","ts-7000-fullfeatured");=Change Delivery Format: Fully Featured">Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | =Unsubscribe

__,_._,___
<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU