Date: Fri, 18 Jan 2008 11:59:41 +0100 (CET) From: Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl> To: navneet Upadhyay <navneet.upadhyay@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: Trying to support my product on FreeBSD Message-ID: <20080118115814.W1655@wojtek.tensor.gdynia.pl> In-Reply-To: <1563a4fd0801180147y4fb6a83s41142ac9a68c3d28@mail.gmail.com> References: <1563a4fd0801180147y4fb6a83s41142ac9a68c3d28@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> > I am planning to support it on FreeBSD, i have two queries : > > 1. *How to build my code into binaries* on FreeBSD , i have my unix make > files. Just to give an idea i have around 200 cpp files and they complile to > 5 binaries . I am using multithreading(posix on linux) and sockets heavily. > same as in linux. possibly LITTLE code change (use ifdefs) may be needed as some libc things are different. but not much. > instructions to have BSD specific binaries.I have to see what is the > difference between Linux and Free BSD in terms of file management, their > structure, threading model etc. i don't use threads so i won't tell you. rest is the same. open, read, write lseek works the same. mmap is mostly the same. > > > 2.* How to package the binaries*(RPM sort of thing). Idea is to provide a > package to user who can install them binaries using this package by issuing > single command. man pkg_create
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080118115814.W1655>