From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Tue, 22 Aug 2006 03:54:20 +0000 Subject: Re: crosscompiling udev Message-Id: <20060822035420.GA26969@kroah.com> List-Id: References: <1156207657.5260.10.camel@Thinkpad.beispiel.de> In-Reply-To: <1156207657.5260.10.camel@Thinkpad.beispiel.de> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Tue, Aug 22, 2006 at 05:16:54AM +0200, Jonas Meyer wrote: > Am Montag, den 21.08.2006, 19:18 -0700 schrieb Greg KH: > > On Tue, Aug 22, 2006 at 02:47:37AM +0200, Jonas Meyer wrote: > > > Hi. > > > I just tried to crosscompile udev and noticed that in the Makefile the > > > CROSS_COMPILE variable is emptied. when removing that line it works. Is > > > there a reason for that behaviour or could that be changed in the next > > > version? > > > > What exactly did you use on the command line to build udev in this > > manner? You should be able to specify the CROSS_COMPILE variable on the > > build line, and have it work properly. > I used this: CROSS_COMPILE=arm-uclibc-linux- make > and it builds just fine. but when i use file to look at the result: > file udevd > udevd: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for > GNU/Linux 2.4.1, dynamically linked (uses shared libs), for GNU/Linux > 2.4.1, not stripped > > when I remove the CROSS_COMPILE> line in the Makefile I get arm binaries,instead. Try: make CROSS_COMPILE=arm-uclibc-linux- instead. And please don't take email threads off of the mailing list, it's rude to the rest of the members, and the archives. thanks, greg k-h ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel