+1 what David said. If your daemon is a simple .c file, the package/makedevs/ would be a good template to base your new package on, as it includes the .c source within the package. You could remove the "host" variant (and HOST_ defines) to simplify further.
Any more details should go on the [Astlinux-devel] mailing list. Lonnie On Jun 7, 2016, at 6:41 AM, David Kerr <da...@kerr.net> wrote: > The way to do this would be to use the AstLinux build environment and create > your own package there. In other words cross compile on a host build > environment with target as the AstLinux system. > > Start by following the developer instructions on AstLinux web site. Once you > are able to create your own AstLinux system you can then add in your own > package by copying an existing one. If you run into problems seek help at > the AstLinux Developer mailing list. Note if you don't want to have to > always build your own AstLinux you don't have to -- you just use the build > environment as a place to build your package which you can then copy over > onto a system that has one of the stock AstLinux images on it. > > David. > > > > > On Tue, Jun 7, 2016 at 7:06 AM, Michael Keuter <li...@mksolutions.info> wrote: > > Am 07.06.2016 um 13:03 schrieb Michael Keuter <li...@mksolutions.info>: > > > > > Am 07.06.2016 um 09:54 schrieb Stefan Ulm <s....@divus.biz>: > > > >> Hi all, > >> > >> For a special connectivity over UDP I need to write a UDP dameon for > >> astlinux platform, > >> Is there c/C++ compiler on board I could use directly on the astlinux OS, > >> or have I to make the programming on x86 standard platform and then copy > >> The result? > >> > >> > >> Best regards > >> > >> Stefan Ulm > >> Technical Department | Research & Development > >> stefan....@divus.eu > > > > Hi Stefan, > > > > there is no C compiler on board (only Perl, PHP + Lua) > > For some UDP stuff netcat (nc) can be "misused" :-). > > nc -h > BusyBox v1.19.4 (2016-06-05 00:18:49 UTC) multi-call binary. > > Usage: nc [OPTIONS] HOST PORT - connect > nc [OPTIONS] -l -p PORT [HOST] [PORT] - listen > > -e PROG Run PROG after connect (must be last) > -l Listen mode, for inbound connects > -p PORT Local port > -s ADDR Local address > -w SEC Timeout for connects and final net reads > -i SEC Delay interval for lines sent > -n Don't do DNS resolution > -u UDP mode > -v Verbose > -o FILE Hex dump traffic > -z Zero-I/O mode (scanning) > > Michael > > http://www.mksolutions.info > > > > > ------------------------------------------------------------------------------ > What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic > patterns at an interface-level. Reveals which users, apps, and protocols are > consuming the most bandwidth. Provides multi-vendor support for NetFlow, > J-Flow, sFlow and other flows. Make informed decisions using capacity > planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e > _______________________________________________ > Astlinux-users mailing list > Astlinux-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/astlinux-users > > Donations to support AstLinux are graciously accepted via PayPal to > pay...@krisk.org. > > ------------------------------------------------------------------------------ > What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic > patterns at an interface-level. Reveals which users, apps, and protocols are > consuming the most bandwidth. Provides multi-vendor support for NetFlow, > J-Flow, sFlow and other flows. Make informed decisions using capacity > planning reports. > https://ad.doubleclick.net/ddm/clk/305295220;132659582;e_______________________________________________ > Astlinux-users mailing list > Astlinux-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/astlinux-users > > Donations to support AstLinux are graciously accepted via PayPal to > pay...@krisk.org. ------------------------------------------------------------------------------ What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e _______________________________________________ Astlinux-users mailing list Astlinux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/astlinux-users Donations to support AstLinux are graciously accepted via PayPal to pay...@krisk.org.