This is the mail archive of the
ecos-discuss@sourceware.cygnus.com
mailing list for the eCos project.
Re: Using ecos configuration tool
- To: jlarmour at redhat dot co dot uk, pragya_g at hotmail dot com
- Subject: Re: [ECOS] Using ecos configuration tool
- From: "Pragya Gupta" <pragya_g at hotmail dot com>
- Date: Fri, 05 May 2000 05:10:41 GMT
- Cc: bartv at redhat dot com, ecos-discuss at sourceware dot cygnus dot com
Hi!!
Please see my comments below.
Thanks and Regards
Pragya
>It sounds like you are using an older version of cygwin that doesn't come
>with less. Perhaps consider upgrading to cygwin 1.1.
[pragya] No , i am using cygwin1.1 .
>If you want to persevere, then perhaps try going to a bash prompt, and
>typing:
>
>ls -l //G/ecos1.3win/packages/pkgconf/rules.mak
[pragya] This gives the following output:
-rw-r--r-- 1 administ Administ 5365 Feb 2 19:13
//G/ecos1.3win/packages/pkgconf/rules.mak
>
>If that works, then see if you can cat it:
>
>cat //G/ecos1.3win/packages/pkgconf/rules.mak
[pragya] This command also worked. I am sending the output as an attachment
: rulesmak.txt
>Also let me know the output of "make --version" and "mount".
[pragya] I am sending the outputs of these two commands as attachments:
version.txt
mount.txt
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
Device Directory Type Flags
g:\bin /usr/bin user binmode
g:\lib /usr/lib user binmode
g: / user binmode
g: /g user textmode
#=============================================================================
#
# rules.mak
#
# Generic rules for inclusion by all package makefiles.
#
#=============================================================================
#####COPYRIGHTBEGIN####
#
# -------------------------------------------
# The contents of this file are subject to the Red Hat eCos Public License
# Version 1.1 (the "License"); you may not use this file except in
# compliance with the License. You may obtain a copy of the License at
# http://www.redhat.com/
#
# Software distributed under the License is distributed on an "AS IS"
# basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
# License for the specific language governing rights and limitations under
# the License.
#
# The Original Code is eCos - Embedded Configurable Operating System,
# released September 30, 1998.
#
# The Initial Developer of the Original Code is Red Hat.
# Portions created by Red Hat are
# Copyright (C) 1998, 1999, 2000 Red Hat, Inc.
# All Rights Reserved.
# -------------------------------------------
#
#####COPYRIGHTEND####
#=============================================================================
#####DESCRIPTIONBEGIN####
#
# Author(s): jld
# Contributors: bartv
# Date: 1999-11-04
# Purpose: Generic rules for inclusion by all package makefiles
# Description:
#
#####DESCRIPTIONEND####
#=============================================================================
.PHONY: default build clean tests headers mlt_headers
# include any dependency rules generated previously
ifneq ($(wildcard *.deps),)
include $(wildcard *.deps)
endif
# pattern matching rules to generate a library object from source code
# object filenames are prefixed to avoid name clashes
# a single dependency rule is generated (file extension = ".o.d")
%.o.d : %.c
@mkdir -p $(dir $@)
$(CC) -c $(INCLUDE_PATH) -I$(dir $<) $(CFLAGS) -Wp,-MD,$(@:.o.d=.tmp) -o
$(dir $@)$(OBJECT_PREFIX)_$(notdir $(@:.o.d=.o)) $<
@echo $@ ':' $< '\' > $@
@tail +2 $(@:.o.d=.tmp) >> $@
@echo >> $@
@rm $(@:.o.d=.tmp)
%.o.d : %.cxx
@mkdir -p $(dir $@)
$(CC) -c $(INCLUDE_PATH) -I$(dir $<) $(CFLAGS) -Wp,-MD,$(@:.o.d=.tmp) -o
$(dir $@)$(OBJECT_PREFIX)_$(notdir $(@:.o.d=.o)) $<
@echo $@ ':' $< '\' > $@
@tail +2 $(@:.o.d=.tmp) >> $@
@echo >> $@
@rm $(@:.o.d=.tmp)
%.o.d : %.S
@mkdir -p $(dir $@)
$(CC) -c $(INCLUDE_PATH) -I$(dir $<) $(CFLAGS) -Wp,-MD,$(@:.o.d=.tmp) -o
$(dir $@)$(OBJECT_PREFIX)_$(notdir $(@:.o.d=.o)) $<
@echo $@ ':' $< '\' > $@
@tail +2 $(@:.o.d=.tmp) >> $@
@echo >> $@
@rm $(@:.o.d=.tmp)
# pattern matching rules to generate a test object from source code
# object filenames are not prefixed
# a single dependency rule is generated (file extension = ".d")
%.d : %.c
@mkdir -p $(dir $@)
$(CC) -c $(INCLUDE_PATH) -I$(dir $<) $(CFLAGS) -Wp,-MD,$(@:.d=.tmp) -o
$(@:.d=.o) $<
@echo $@ ':' $< '\' > $@
@tail +2 $(@:.d=.tmp) >> $@
@echo >> $@
@rm $(@:.d=.tmp)
%.d : %.cxx
@mkdir -p $(dir $@)
$(CC) -c $(INCLUDE_PATH) -I$(dir $<) $(CFLAGS) -Wp,-MD,$(@:.d=.tmp) -o
$(@:.d=.o) $<
@echo $@ ':' $< '\' > $@
@tail +2 $(@:.d=.tmp) >> $@
@echo >> $@
@rm $(@:.d=.tmp)
%.d : %.S
@mkdir -p $(dir $@)
$(CC) -c $(INCLUDE_PATH) -I$(dir $<) $(CFLAGS) -Wp,-MD,$(@:.d=.tmp) -o
$(@:.d=.o) $<
@echo $@ ':' $< '\' > $@
@tail +2 $(@:.d=.tmp) >> $@
@echo >> $@
@rm $(@:.d=.tmp)
# rule to generate a test executable from object code
$(PREFIX)/tests/$(PACKAGE)/%$(EXEEXT): %.d $(wildcard
$(PREFIX)/lib/target.ld) $(wildcard $(PREFIX)/lib/*.[ao])
@mkdir -p $(dir $@)
ifneq ($(IGNORE_LINK_ERRORS),)
-$(CC) $(LDFLAGS) -L$(PREFIX)/lib -Ttarget.ld -o $@ $(<:.d=.o)
else
$(CC) $(LDFLAGS) -L$(PREFIX)/lib -Ttarget.ld -o $@ $(<:.d=.o)
endif
# rule to generate all tests and create a dependency file "tests.deps" by
# concatenating the individual dependency rule files (file extension = ".d")
# generated during compilation
tests: tests.stamp
TESTS := $(TESTS:.cxx=)
TESTS := $(TESTS:.c=)
TESTS := $(TESTS:.S=)
tests.stamp: $(foreach target,$(TESTS),$(target).d
$(PREFIX)/tests/$(PACKAGE)/$(target)$(EXEEXT))
ifneq ($(strip $(TESTS)),)
@cat $(TESTS:=.d) > $(@:.stamp=.deps)
endif
@touch $@
# rule to clean the build tree
clean:
@find . -type f -not -name makefile -print0 | xargs -0 rm -f
# rule to copy MLT files
mlt_headers:
ifneq ($(strip $(MLT)),)
@cp -u $(MLT) $(PREFIX)/include/pkgconf
@chmod u+w $(PREFIX)/include/pkgconf/mlt*.*
endif
# end of file
GNU Make version 3.77, by Richard Stallman and Roland McGrath.
Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98
Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Report bugs to <bug-make@gnu.org>.