[uClibc]fileutils build

Patrick Mahoney pmahoney at 8d.com
Tue Oct 29 23:09:00 UTC 2002


Hello people,

Just letting you know i succesfully built fileutils without having to
make the hack described at:
http://www.uclibc.org/lists/uclibc/2002-February/004806.html

uClibc 0.9.15:
	#on the devel platform:
	make install
	
	#for the target platform:
	make PREFIX=<path-to-mounted-target-rootfs> install-target

fileutils 4.1:
	#I applied a minor hack to the 'configure' script (see
	attachment)

	CC=/usr/i386-linux-uclibc/bin/i386-uclibc-cc ./configure
	make
	...


Hope this helps.


Pat Mahoney
-------------- next part --------------
--- ./src/configure.orig	2001-04-29 04:26:09.000000000 -0400
+++ ./src/configure	2002-10-29 17:14:34.000000000 -0500
@@ -81,7 +81,9 @@
 # Initializations.
 #
 ac_default_prefix=/usr/local
-cross_compiling=no
+#Pat Mahoney
+#cross_compiling=no
+cross_compiling=yes
 subdirs=
 MFLAGS= MAKEFLAGS=
 SHELL=${CONFIG_SHELL-/bin/sh}
@@ -17800,7 +17802,9 @@
   if test "$cross_compiling" = yes; then
   { { echo "$as_me:17801: error: cannot run test program while cross compiling" >&5
 echo "$as_me: error: cannot run test program while cross compiling" >&2;}
-   { (exit 1); exit 1; }; }
+#Pat Mahoney
+#   { (exit 1); exit 1; }; }
+}
 else
   cat >conftest.$ac_ext <<_ACEOF
 #line 17806 "configure"


More information about the uClibc mailing list