[ECOS] Re: Building eCos
Fri Mar 3 06:49:00 GMT 2000
>>>>> "Robert" == Robert Swindells <email@example.com> writes:
Robert> Is anyone building eCos under UNIX ?
Robert> If so, is there any documentation that describes how to do
Robert> If I try to use pkgconf.tcl to configure a build tree I
Robert> just get:
Robert> % gmake
Robert> makefile:9: pkgconf/pkgconf.mak: No such file or directory
Robert> gmake: *** No rule to make target `pkgconf/pkgconf.mak'. Stop.
Robert and I have now managed to track down the problem. The eCos
build system was assuming the GNU version of the install utility. On
some versions of Unix including FreeBSD there is a different version
of install, which by default deletes the original rather than just
copying it. During the first run the make system will install various
files from the build tree to the install tree, leaving the build tree
unusable for subsequent runs.
The following patch to pkgconf/makevars should sort out the problem,
and should still work with the GNU version of install (it accepts and
ignores the -c flag).
Bart Veer // eCos net maintainer
RCS file: /cvs/ecc/ecc/pkgconf/makevars,v
retrieving revision 1.15
diff -u -5 -u -r1.15 makevars
--- makevars 2000/02/02 19:13:29 1.15
+++ makevars 2000/03/03 14:47:47
@@ -97,11 +97,11 @@
OBJCOPY := $(PKGCONF_OBJCOPY)
-CP := install -m 0644
+CP := install -c -m 0644
RM := rm -f
More information about the Ecos-discuss