[vbox-dev] env

Frank Mehnert Frank.Mehnert at Sun.COM
Wed Oct 8 13:16:29 GMT 2008


On Wednesday 08 October 2008, Desmond Chapman wrote:
> export BUILD_PLATFORM="freebsd"
> export BUILD_PLATFORM_ARCH="amd64"
> export BUILD_TARGET="freebsd"
> export BUILD_TARGET_ARCH="amd64"
> export BUILD_TARGET_CPU="k8"
> export BUILD_TYPE="release"
> export PATH_KBUILD="/usr/home/moleque/VirtualBox-2.0.0/kBuild"
> export PATH_DEVTOOLS="/usr/home/moleque/VirtualBox-2.0.0/tools"
> path_kbuild_bin="$PATH_KBUILD/bin/$BUILD_TARGET.$BUILD_PLATFORM_ARCH"
> export PATH_KBUILD_BIN="$path_kbuild_bin"
> path_dev_bin="$PATH_DEVTOOLS/$BUILD_TARGET.$BUILD_PLATFORM_ARCH"/bin
> echo "$PATH" | grep -q "$path_kbuild_bin" || PATH="$path_kbuild_bin:$PATH"
> echo "$PATH" | grep -q "$path_dev_bin" || PATH="$path_dev_bin:$PATH"
> export PATH
> unset path_kbuild_bin path_dev_bin"
>
> Shouldn't the target environment be different from my home directory? I've
> noticed that Linux installs to /usr/bin /usr/local and /etc.

?? What do you mean by target environment? PATH_KBUILD and PATH_DEVTOOLS
are actually the pathes where several tools required for building VBox
can be found.

> I've tried debugging the Doxyfile.Core from /usr/ports/devel/doxygen
>
> Output:
>
> As user "$ gdb Doxyfile Doxyfile.Core
> GNU gdb 6.1.1 [FreeBSD]
> Copyright 2004 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you
> are welcome to change it and/or distribute copies of it under certain
> conditions. Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for details.
> This GDB was configured as "amd64-marcel-freebsd"...Doxyfile: No such file
> or directory.
>
> "/usr/home/moleque/VirtualBox-2.0.0/Doxyfile.Core" is not a core dump: File
> format not recognized (gdb) run
> Starting program:
> No executable file specified.
> Use the "file" or "exec-file" command.
> (gdb)
> "
> Root has the same.
>
> What am I doing wrong with debugging?

I don't know what you want to achive. Doxyfile cannot be debugged. This
is just a text file.

Kind regard,

Frank
-- 
Dr.-Ing. Frank Mehnert    Sun Microsystems    http://www.sun.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://www.virtualbox.org/pipermail/vbox-dev/attachments/20081008/3333b61f/attachment.sig>


More information about the vbox-dev mailing list