版本 14 (由 16 年 前) ( 差異 ) | 修改,於
---|
FreeBSD build instructions
The FreeBSD build instructions are being worked on as the FreeBSD port advances.
If you like to help out with the FreeBSD port, please join the #vbox-dev irc channel or drop a mail on the development mailing list.
Current state: the kernel driver needs a substantial effort to get ported, so only people who want to help us getting this changed should think about building VirtualBox on FreeBSD. In other words: without help from FreeBSD kernel experts who can tell us how to safely allocate physical memory, assign it to user processes and the such there's little point in reporting build issues.
Prerequisites
You need:
- GCC 3.2.3 or later (except for the GCC 4.0.x series)
=> The default GCC should be fine. - Yasm 0.6.2 or later
=>/usr/ports/devel/yasm
- as86 (real mode assembler, usually part of the dev86 or bin86 package)
=>/usr/ports/devel/dev86
- bcc (Bruce Evans C Compiler; often part of the dev86 package)
=>/usr/ports/devel/dev86
(same as above) - IASL (Intel ACPI compiler)
=> The one installed into/usr/sbin/iasl
should be fine.
- xsltproc (libxslt, XML style sheet processor)
=>/usr/ports/textproc/libxslt
- libXcursor (required to support color mouse pointers in guest)
=> Probably installed, if not try/usr/ports/x11/libXcursor
. - libpng
=>/usr/ports/graphics/png
- libIDL
=>/usr/ports/devel/libIDL
- libSDL
=>/usr/ports/devel/sdl12
- mkisofs
=>/usr/ports/sysutils/cdrtools
- FreeBSD 6.x compat libs for kBuild and other prebuilt binaries
=>/usr/ports/misc/compat6x
- Qt 4.3.x
=>/usr/ports/x11-toolkits/qt4-gui
,/usr/ports/net/qt4-network
,/usr/ports/devel/qt4-moc
,/usr/ports/net/qt4-uic
,/usr/ports/net/qt4-rcc
and/usr/ports/net/qt4-linguist
; or configure --disable-qt
Building VirtualBox
To be written.
Running your build
To be written.