Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Jan 2008 11:59:41 +0100 (CET)
From:      Wojciech Puchar <>
To:        navneet Upadhyay <>
Subject:   Re: Trying to support my product on FreeBSD
Message-ID:  <>
In-Reply-To: <>
References:  <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
> 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.

same as in linux.

possibly LITTLE code change (use ifdefs) may be needed as some libc things 
are different. but not much.

> instructions to have BSD specific binaries.I have to see what is the
> difference between Linux and Free BSD in terms of file management, their
> structure, threading model etc.

i don't use threads so i won't tell you. rest is the same. open, read, 
write lseek works the same. mmap is mostly the same.

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

man pkg_create

Want to link to this message? Use this URL: <>