[PATCH] fake pre-processor macros when building on non-FreeBSD system

Nathan Whitehorn nwhitehorn at freebsd.org
Tue Jul 12 22:12:43 UTC 2011


On 07/12/11 16:06, Robert Millan wrote:
> 2011/7/12 Alexander Kabaev<kabaev at gmail.com>:
>> Whatever happened to using a proper cross-tool to do the job?
> Why would one need to build a cross-compiler in order to compile
> userland-agnostic code for the same CPU architecture?  This would be
> like requiring a cross-compiler in order to build things like GRUB or
> SeaBIOS.

For one, it might have a different ABI, which isn't actually that 
different an issue than the one you find yourself facing.
-Nathan


More information about the freebsd-hackers mailing list