This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
VPATH in Makefile(s) for redboot startup code
- From: "Jason Riffel" <jason dot riffel at cadreng dot com>
- To: newlib at sources dot redhat dot com
- Date: Tue, 9 Dec 2003 15:49:36 -0500 (EST)
- Subject: VPATH in Makefile(s) for redboot startup code
- Reply-to: jason dot riffel at cadreng dot com
I'm assuming this is not a bug because its present in all architectures
under 'libgloss/<ARCH>'. However, each Makefile.in under libgloss/<ARCH>
contains the following VPATH setting:
VPATH = @srcdir@ @srcdir@/..
which ultimately resolves to:
VPATH = ../../../../../newlib-1.11.current/libgloss/arm
../../../../../newlib-1.11.current/libgloss/arm/..
This seems to confuse my build on NetBSD 1.6 GCC 2.95.3 cross-compiling
for X-Scale, it cannot find the sources until I remove '@srcdir@/..'. I
solved my problem by removing this, but it's present in the 1.11
distribution as well as CVS current.
I'm more just curious as to why this doesn't work for me and what the
implications of me removing it are.
Thanks in advance,
Jason Riffel
Cadre Engineering, LLC
http://www.cadreng.com
4094 Majestic Lane Suite 226
Fairfax, VA 22033
(703)818-7200 x112
newlib(AT)cadreng.com
"The most exciting phrase to hear in science, the one that heralds new
discoveries, is not 'Eureka!' but 'That's funny...' "
--Isaac Asimov