<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'><div dir='ltr'>
Hello Charles<BR>
 <BR>
> ><BR>> > I would like to run nut 2.6.1 on an embeeded machine ( arm9 ) <BR>> > running linux and uclibc. A working gcc tool chain came with the <BR>> > board.<BR>> > How can I compile and build nut using the cross compiler tool chain ?<BR>> <BR>> Is the toolchain self-hosted? That is, can you run gcc on the board <BR>> itself? (IMHO that is usually the easiest way to cross-compile.)<BR>no, it is a cross-compiler running on a linux-i386<BR>
<BR> <BR>
> It's probably easiest to help you if you copy-and-paste some error <BR>> messages that you are getting, because there are probably hundreds of <BR>> ways to do this. But here's how to cross-compile NUT for Win32:<BR>
 <BR>
The cross compiler resides in /mnt/vol5/lcu1/buildroot/output/staging/usr/bin/ as arm-linux-gcc.<BR><BR>
nut-2.6.1 # declare -x PATH="/sbin:/bin:/usr/sbin:/usr/bin:/mnt/vol5/lcu1/buildroot/output/staging/usr/bin/"<BR>
 <BR>
nut-2.6.1 # ./configure --host=arm-linux-gcc<BR>configure: WARNING: if you wanted to set the --build type, don't use --host.<BR>    If a cross compiler is detected then cross compile mode will be used<BR>Network UPS Tools version 2.6.1<BR>checking build system type... i686-pc-linux-gnu<BR>checking host system type... Invalid configuration `arm-linux-gcc': system `gcc' not recognized<BR>configure: error: /bin/sh ./config.sub arm-linux-gcc failed<BR><BR>Any advise ?<BR>
 <BR>
Thanks Tilman<BR>
 <BR>
 <BR>                                          </div></body>
</html>