I would like to compile part of the FreeBSD sources (compiling on FreeBSD) for a different target string, e.g. x86_64-pc-linux-gnu. Is there a way to specifiy make to compile for this architecture/target?
Well I got tired of using crochet as a crutch and I figured out how to cross compile for Beaglebone. At first I cheated and wrote to the microSD Card, but I buckled down and figured out how to manipulate a memory disk. [Copy Source to Build Dir] mkdir /BBB cp -vipr /usr/src /BBB/src mkdir...
Could you be more specific what you mean by 'four-field target'?
As you may notice from my instructions, you must set the environment for a specific architecture.
Are you talking about building -STABLE on -RELEASE or something like that?
Exactly. And that's where I thought the question made no sense: How can you compile FreeBSD for Linux? Either you're compiling to run FreeBSD on the machine, or you're compiling (the Linux source) to run Linux, right? I can not understand what the OP means.