From owner-freebsd-hackers@FreeBSD.ORG Mon Jan 21 05:16:18 2008 Return-Path: Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2C2BD16A46B for ; Mon, 21 Jan 2008 05:16:18 +0000 (UTC) (envelope-from das@FreeBSD.ORG) Received: from VARK.MIT.EDU (VARK.MIT.EDU [18.95.3.179]) by mx1.freebsd.org (Postfix) with ESMTP id DB9A913C458 for ; Mon, 21 Jan 2008 05:16:17 +0000 (UTC) (envelope-from das@FreeBSD.ORG) Received: from VARK.MIT.EDU (localhost [127.0.0.1]) by VARK.MIT.EDU (8.14.2/8.14.1) with ESMTP id m0L4n9vG001895; Sun, 20 Jan 2008 23:49:09 -0500 (EST) (envelope-from das@FreeBSD.ORG) Received: (from das@localhost) by VARK.MIT.EDU (8.14.2/8.14.1/Submit) id m0L4n9nu001894; Sun, 20 Jan 2008 23:49:09 -0500 (EST) (envelope-from das@FreeBSD.ORG) Date: Sun, 20 Jan 2008 23:49:09 -0500 From: David Schultz To: navneet Upadhyay Message-ID: <20080121044909.GA1844@VARK.MIT.EDU> Mail-Followup-To: navneet Upadhyay , freebsd-hackers@FreeBSD.ORG References: <1563a4fd0801180048q37cb0df2wcf00c49c9aea3e14@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1563a4fd0801180048q37cb0df2wcf00c49c9aea3e14@mail.gmail.com> Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Trying to support my product on BSD X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jan 2008 05:16:18 -0000 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.