Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Jan 2008 23:49:09 -0500
From:      David Schultz <das@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:  <20080121044909.GA1844@VARK.MIT.EDU>
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 Fri, Jan 18, 2008, 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.

We support C++, the POSIX threads API, and all the standard
sockets calls. In theory, you just need to type 'make'. If your
makefiles use GNU make extensions, then install GNU make
('cd /usr/ports/devel/gmake && make install') and type 'gmake'.

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

See the previous reference to the porter's handbook.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080121044909.GA1844>