Should NBPG be unconditionally undefined to avoid references to PAGE_SIZE?

Alan Modra amodra@bigpond.net.au
Fri Sep 14 15:34:00 GMT 2007


On Fri, Sep 14, 2007 at 09:55:13AM -0500, Stephen M. Kenton wrote:
> This is probably a better place to discuss this than bug-binutils. I am 
> trying to make it easier for people to build cross-compile tool chains 
> for all 20+ targets supported by the Linux kernel,

All the world is not (yet) Linux.  Take a look at bfd/configure.  I
see linux, riscix, bsd, sysv, freebsd, sco, mach, osf, riscos, hpux,
ultrix and other unspecified operating systems using trad-core.c.
Have you considered how many of those targets you might break by
#undef NBPG?

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list