OpenWrt Forum Archive

Topic: cross compile small c-application

The content of this topic has been archived on 23 Mar 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Gent's,
I have a carambola2 device with OpenWrt Barrier Breaker r35770 running.
I also compiled already a image on my machine for carambola2 device.
So, first step's are done, but now, I want to cross-compile this small c-app.
https://bitbucket.org/befi/wifibroadcast/src
One way is, to generate packages...
Is there any "how-to" how I can generate a package for this app.

The second way should be, to "just" use the compiler for AR71XX devices.
Is there also a "how to" around?
The maybe bad thing is, that the c-app need's the libpcap. How can I link to it, if I just use the compiler?

Thanks
Peter

creating a package is relatively simple: see http://wiki.openwrt.org/doc/devel/packages
and you can look at all the other Makefiles in the packages directory or from the github feed

Any luck sandman? I was wanting to look into wifibroadcast on the carambola too.

What results did you get?

The discussion might have continued from here.