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
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to