This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On Fri, Nov 26, 2004 at 02:51:37AM -0800, sandeep wrote:
If you look at the tail of the root makefile you will see something like:
$(PREFIX)/include/pkgconf/ecos.mak: makefile @echo 'ECOS_GLOBAL_CFLAGS = -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions
-fvtable-gc -finit-priority' > $@
@echo 'ECOS_GLOBAL_LDFLAGS = -g -nostdlib -Wl,--gc-sections -Wl,-static' >> $@ @echo 'ECOS_COMMAND_PREFIX = $(COMMAND_PREFIX)' >> $@
i have seen this earlier also, but i haven't seen ecos.mak included by subdirectory makefiles in buildtrees generated by ecosconfig versions 1.3.net or 2.0b1 (on win2K), though ecos.mak gets generated during make. i cross-checked this fact with both the versions before sending this mail.
True. I made a mistake here, jumping to conclusions without checking. That seemed the logical purpose of this section of code but in fact it seems not to be used. Instead each makefile gets its own copy of these definitions.
We need some import from the designers of the build system. How should this work...
many months back, i had made a minor addition in pkgconf/rules.mak
export EXEEXT := $(EXEEXT)
could this be a trivial patch, if useful??
John Dallaway eCosCentric Limited
-- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |