Trying to support my product on BSD

David Schultz das at FreeBSD.ORG
Sun Jan 20 21:16:18 PST 2008


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.


More information about the freebsd-hackers mailing list