开发者

Beginner Linux programming using xCode?

开发者 https://www.devze.com 2023-02-04 16:00 出处:网络
I am starting a project for a linux busy box environment. I haven\'t seen any information on it, but I need to basically interface with the GPIOs and various other parts of the system (this is for Ope

I am starting a project for a linux busy box environment. I haven't seen any information on it, but I need to basically interface with the GPIOs and various other parts of the system (this is for OpenWRT firmware).

Details are: Linux OpenWrt 2.6.30.10 #24 Tue Apr 6 14:59:59 CEST 2010 mip开发者_如何学Cs GNU/Linux

So how do I start a project in xCode that can compile into this? Is that a lost cause? If so how do I start a project otherwise. I can do it on Linux but I've never started a project on that platform before.


I think using xcode would make your project more complicated as you would have to use cross compilers for a foreign operating system. Instead I would recommend using Eclipse CDT or Netbeans under Linux desktop; you'll still be using cross compilers but at least under the same O/S.


xCode as in the Apple dev toolkit?

I can't be specific, but you'll need to install the linux x86 cross compiler for gcc, and then find out how to tell xCode to use it.

0

精彩评论

暂无评论...
验证码 换一张
取 消