crosscompiling a Linux binary on NetBSD
Brook Milligan <[email protected]> Mon, 27 Aug 2007 12:19:55 -0600
| Newsgroups | gmane.os.netbsd.help |
|---|---|
| Message-ID | <[email protected]> |
I need to compile a program on my NetBSD boxes that will link against a Linux library, which is only available in binary form. I am guessing that I need to compile the entire program (i.e., my own part of the code) as a Linux binary, but would welcome information on how to do otherwise. In order to build a Linux binary on a NetBSD box, I presume I need to arrange for gcc to cross-compile somehow. Does anyone have clear pointers for how to accomplish that successfully? Thanks for your help. Cheers, Brook