Date: Fri, 18 Jan 2008 22:01:37 +0900 From: "Adrian Chadd" <adrian@freebsd.org> To: "navneet Upadhyay" <navneet.upadhyay@gmail.com> Cc: freebsd-hackers@freebsd.org Subject: Re: Trying to support my product on BSD Message-ID: <d763ac660801180501w786f1aaft318abdde21222083@mail.gmail.com> In-Reply-To: <1563a4fd0801180048q37cb0df2wcf00c49c9aea3e14@mail.gmail.com> References: <1563a4fd0801180048q37cb0df2wcf00c49c9aea3e14@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 18/01/2008, navneet Upadhyay <navneet.upadhyay@gmail.com> wrote: > Hi , > My product is successfully running on Linux( all most all versions) > and HP- UX and Windows . > > *It is 100 % C++ code*. A good start. It could get ugly though, depends on your compiler version and how much of your code is linux specific. :) > 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. I'd suggest installing the gmake port in FreeBSD, going into your source directory and typing 'gmake'. See how far you get. > 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. FreeBSD has a ports system which lets you automate a source build of a package and optionally build a binary package you can distribute to your clients. > Please let me know if there is anyother forum where i can get answers to my > queries, as i will be needing lot of help in near future. Well, here's a good a place as any I guess, although if you're after more commercial help then I'm sure someone who does that sort of thing can pipe up. In theory, well-written C/C++ should "just work" across platforms. In practice, you'll probably have to modify some Linux-specific stuff to work, although you've probably gone through that pain already to port it to HP/UX and Windows. HTH, Adrian -- Adrian Chadd - adrian@freebsd.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d763ac660801180501w786f1aaft318abdde21222083>