LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 05-02-2017, 03:02 PM   #1
KurtisKewl
LQ Newbie
 
Registered: May 2017
Posts: 7

Rep: Reputation: Disabled
Cross compiling from OSX host for NetBSD 7.1 (earmv6hf)?


I'm trying to find some information on cross compiling for NetBSD 7.1 (earmv6hf) from OSX. I'm struggling to find information on this online. I thought it'd be as easy as cross compiling for linux, but I'm struggling.

I need to buid php, nginx, redis etc for a raspberry pi running NetBSD 7.1 as compiling on the device is not practical.

I have in the past use crosstool-ng for cross compiling, but never done anything for NetBSD. I'm pretty new to BSD. I can't find any information on how to do this.

Are there any solutions to cross compile for NetBSD from OSX or any resources that may help me?
 
Old 05-02-2017, 11:42 PM   #2
Laserbeak
Member
 
Registered: Jan 2017
Location: Manhattan, NYC NY
Distribution: Mac OS X, iOS, Solaris
Posts: 508

Rep: Reputation: 143Reputation: 143
MacOS X will cross-compile, but you'll need all the necessary libraries from the target host type. Xcode has plenty of information about cross-compiling -- it does it all the time for arm processors for iPhones etc.
 
Old 05-03-2017, 04:06 PM   #3
Laserbeak
Member
 
Registered: Jan 2017
Location: Manhattan, NYC NY
Distribution: Mac OS X, iOS, Solaris
Posts: 508

Rep: Reputation: 143Reputation: 143
Quote:
Originally Posted by KurtisKewl View Post
Are there any solutions to cross compile for NetBSD from OSX or any resources that may help me?
Xcode is all you need, it will be easy to do, they have documentation on it. If you want an example, just compile an iPhone program.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
learning cross compiling-compiling library from soruce brianmay27 Linux - Software 1 12-31-2012 05:28 AM
[SOLVED] Issue while cross compiling kernel on fedara 14 host sameersbn Programming 2 03-23-2011 08:20 AM
Cross-compiling v/s cross-building kushalkoolwal Programming 3 05-13-2009 05:49 AM
NetBSD 5.0 - Error Compiling KDE4 c!oud *BSD 2 01-14-2009 02:37 PM
compiling NetBSD 1.6.1 kernel deardron *BSD 2 04-21-2004 07:03 PM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 09:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration