tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

re: Porting NetBSD to Eco32



Alan Barrett writes:
> On Sun, 07 Sep 2014, Jens Mehler wrote:
> >The problem with
> >nbmake:
> >"/hdd/home/okarin/eco32/netbsd-on-eco32/usr/src/share/mk/bsd.files.mk"
> >line 110: Wrong number of words (3) in .for substitution list with 2 vars
> >still pops up.
> 
> BUILDSYMLINKS needs to contain an even number of "words", but it 
> contains an odd number.  There's might be a "BUILDSYMLINKS += ..." 
> line with only one file name instead of two, or (more likely) a 
> "BUILDSYMLINKS += ..." line that uses variable expansion, and a 
> variable is undefined or empty instead of containing the value you 
> expect.  I would start by printing the unexpanded and expanded 
> values of BUILDSYMLINKS using "make -V BUILDSYMLINKS" and "make -V 
> '${BUILDSYMLINKS}'", and then track down how those values were 
> set.

FWIW,

this specific one happens when the mknative-gcc files aren't present.

it might be nice to test it explicitly and error out with a nicer
message..


.mrg.


Home | Main Index | Thread Index | Old Index