DCH++ on FreeBSD

DCH++ has been abandoned, this forum serves mainly as an archive

Moderator: Moderators

Posts: 1
Joined: 2003-05-04 06:00

DCH++ on FreeBSD

Post by Stegnation » 2005-01-21 16:03

Has anyone been able to port DCH++ to FreeBSD?

Forum Moderator
Posts: 687
Joined: 2003-01-04 09:32

Post by Sedulus » 2005-01-22 15:31

Code: Select all

r59 | walter | 2005-01-22 21:28:41 +0100 (Sat, 22 Jan 2005) | 7 lines

ported to FreeBSD
- /bin/sh doesn't know pushd/popd
- dlopen is in libc (not in libdl)
- recursive mutexes do not exist (or do they?), use only FastLock
- added atomic stuff from stlport/__gxx to use if there's no asm/atomic.h
I haven't tested anything really, but the core compiled fine ;)

please go ahead and test it

(note that some plugins will fail to compile, namely those that use Lock (the recursive mutex), perhaps they can be modified to use the non-recursive mutex instead)
http://www.b.ali.btinternet.co.uk/DCPlusPlus/index.html (TheParanoidOne's DC++ Guide)
http://www.dslreports.com/faq/dc (BSOD2600's Direct Connect FAQ)