Trying to support my product on BSD

आशीष शुक्ल Ashish Shukla wahjava.ml at gmail.com
Fri Jan 18 01:55:09 PST 2008


,--[ On Fri, Jan 18, 2008 at 02:17:37PM +0530, navneet Upadhyay wrote:
| Hi ,
|        My product is successfully running on Linux( all most all versions)
| and HP- UX and Windows .
| 
|   *It is 100 % C++ code*.
| 
|  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.

BSD Make (make) or GNU Make (gmake) will help you build your stuff on
FreeBSD.

| 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.

You can create a package by creating a port (see porters-handbook[1]) for your product,
and then ship .tbz2 files. And if its FOSS, then you can submit your
port for inclusion in official FreeBSD ports tree :) .

References:
[1] - http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/

HTH
-- 
Ashish Shukla आशीष शुक्ल                      http://wahjava.wordpress.com/
·-- ·- ···· ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- --
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20080118/dfdc5d37/attachment.pgp


More information about the freebsd-ports mailing list