NetBSD-Bugs archive

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

Re: misc/50166

On 20/09/15 12:20, Robert Millan wrote:
what is the expected include path for arch.c -> compat_defs.h?

Try adding:

#include "nbtool_config.h"

to the appropriate place(s).

I don't think this can work. Looking at the log, make is initially
compiled before running, then uses make to build other stuff, and then
nbtool_config.h is
dynamically generated by src/tools/compat/configure.

Can we make an exception for make and put the MAXPATHLEN ifdef in make.h

You don't think it can work, or you tested it => it didn't work, and you think there's a fundamental flaw in the scheme?

We can address make separately too if need be. Do you still need the bits in compat/{Makefile,}? Can those be addressed by using compat_defs.h instead of hardcoding the values based on uname -s? Or does that require including nbtool_config.h from a large number of .c files?

Home | Main Index | Thread Index | Old Index