开发者

compile lanshark on mac

开发者 https://www.devze.com 2022-12-19 00:44 出处:网络
I am trying to compile lanshark for mac, but do not know how to开发者_开发问答 compile on mac. I am guessing that it is possible to compile linux source code on mac. if not how can i get this program

I am trying to compile lanshark for mac, but do not know how to开发者_开发问答 compile on mac. I am guessing that it is possible to compile linux source code on mac. if not how can i get this program to run?


A mac is, under the hood, a BSD 'darwin' box.

Go and take a look at the MacPorts webpage. You'll find lots of interesting information (like where to get a compiler etc ) there.

Another place to go for an apple development environment is apple (xcode) ...


It should be possible to get that to run, but it will be a bit of work. The source may need a small amount of modification, depending on exactly how the protocol works (if they're using raw ethernet, that is done quite differently). Also, the OS X linker (ld) works completely differently to the Linux linker, and so the build system will need a bit of tinkering.

However, the compilers and build utilities are in the XCode bundle on your install disk, or at the download link in the other answer, so install that and give it a go. If you're lucky, just following the Linux instructions will build it.

0

精彩评论

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

关注公众号