VirtualBox

Changeset 43611 in vbox


Ignore:
Timestamp:
Oct 11, 2012 9:26:26 AM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
81321
Message:

bcc/as86 are no longer required to compile the tree

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r43609 r43611  
    17481748# Intel ASL compiler for ACPI
    17491749VBOX_IASLCMD   ?= $(firstword $(wildcard $(PATH_DEVTOOLS_BLD)/bin/iasl$(HOSTSUFF_EXE)) iasl$(HOSTSUFF_EXE))
    1750 
    1751 # Bruce's C compile is a C-compiler for BIOS-related 8086 code
    1752 ifndef VBOX_BCC
    1753  if exists "$(PATH_DEVTOOLS_BLD)/bin/bcc$(HOSTSUFF_EXE)"
    1754 VBOX_BCC       := $(PATH_DEVTOOLS_BLD)/bin/bcc$(HOSTSUFF_EXE) -B $(PATH_DEVTOOLS_BLD)/bin/
    1755  else
    1756 VBOX_BCC       := bcc$(HOSTSUFF_EXE)
    1757  endif
    1758 endif
    1759 
    1760 # Assembler for BIOS-related 8086 code
    1761 ifndef VBOX_AS86
    1762  if exists "$(PATH_DEVTOOLS_BLD)/bin/as86$(HOSTSUFF_EXE)"
    1763 VBOX_AS86      := $(PATH_DEVTOOLS_BLD)/bin/as86$(HOSTSUFF_EXE)
    1764  else
    1765 VBOX_AS86      := as86$(HOSTSUFF_EXE)
    1766  endif
    1767 endif
    17681750
    17691751# libxslt XSLT processor. (see PATH_TOOL_YASM for explanation why it's temporarily located in bin.)
  • trunk/configure

    r43363 r43611  
    105105CXX32=""
    106106CXX64=""
    107 BCC="bcc"
    108107YASM="yasm"
    109108IASL="iasl"
    110 AS86="as86"
    111109XSLTPROC="xsltproc"
    112110GENISOIMAGE="genisoimage"
     
    486484
    487485#
    488 # Check for the bcc compiler, needed for compiling the BIOS
    489 #
    490 check_bcc()
    491 {
    492   test_header bcc
    493   if check_avail "$BCC" BCC; then
    494     bcc_ver=`$BCC -v 2>&1|grep version|sed 's+^bcc: version \(.*\)+\1+'`
    495     if [ $? -ne 0 ]; then
    496       log_failure "BCC not found"
    497       fail
    498     else
    499       echo "compiling the following source file:" >> $LOG
    500       cat > $ODIR.tmp_src.c << EOF
    501 int foo(a)
    502   int a;
    503 {
    504   return 0;
    505 }
    506 EOF
    507       cat $ODIR.tmp_src.c >> $LOG
    508       bcc_path=`which_wrapper $BCC`
    509       bcc_dir="`dirname $bcc_path`/"
    510       echo "using the following command line:" >> $LOG
    511       echo "$BCC -B $bcc_dir -C-c -3 -S -o $ODIR.tmp_out $ODIR.tmp_src.c" >> $LOG
    512       $BCC -B $bcc_dir -C-c -3 -S -o $ODIR.tmp_out $ODIR.tmp_src.c >> $LOG 2>&1
    513       if [ $? -ne 0 ]; then
    514         log_failure "BCC not working"
    515         fail
    516       else
    517         log_success "found version $bcc_ver"
    518         cnf_append "VBOX_BCC" "$bcc_path -B $bcc_dir"
    519       fi
    520       unset bcc_path
    521       unset bcc_dir
    522     fi
    523   fi
    524 }
    525 
    526 
    527 #
    528 # Check for the as86 assembler, needed for compiling the BIOS
    529 #
    530 check_as86()
    531 {
    532   test_header as86
    533   if check_avail "$AS86" AS86; then
    534     as86_ver=`$AS86 -v 2>&1|grep version|sed 's+^as86 version: \(.*\)+\1+'`
    535     if [ $? -ne 0 ]; then
    536       log_failure "as86 not found"
    537       fail
    538     else
    539       log_success "found version $as86_ver"
    540       cnf_append "VBOX_AS86" "`which_wrapper $AS86`"
    541     fi
    542   fi
    543 }
    544 
    545 
    546 #
    547486# Check for the OpenWatcom compiler, needed for compiling the BIOS
    548487#
     
    25722511# the tools
    25732512check_gcc
    2574 [ "$OS" != "darwin"  ] && check_as86
    2575 [ "$OS" != "darwin"  ] && check_bcc
    25762513check_open_watcom
    25772514[ "$OS" != "darwin"  ] && check_iasl
  • trunk/debian/control

    r42435 r43611  
    66Build-Depends: debhelper (>= 5), libz-dev, libssl-dev, libqt4-dev,
    77  libqt4-opengl-dev, libsdl1.2-dev, uuid-dev, libxcursor-dev,
    8   libidl-dev, libpam0g-dev, bcc, iasl, xsltproc, linux-headers-generic,
     8  libidl-dev, libpam0g-dev, iasl, xsltproc, linux-headers-generic,
    99  wine, java2-runtime, lsb-release, g++-multilib [amd64],
    1010  libc6-dev-i386 [amd64], ia32-libs [amd64], libasound-dev,
  • trunk/src/VBox/Installer/linux/debian/control

    r42578 r43611  
    66Build-Depends: debhelper (>= 5), libz-dev, libssl-dev, libqt4-dev,
    77  libqt4-opengl-dev, libsdl1.2-dev, uuid-dev, libxcursor-dev,
    8   libidl-dev, libpam0g-dev, bcc, iasl, xsltproc, linux-headers-generic,
     8  libidl-dev, libpam0g-dev, iasl, xsltproc, linux-headers-generic,
    99  wine, java2-runtime, lsb-release, g++-multilib [amd64],
    1010  libc6-dev-i386 [amd64], ia32-libs [amd64], libasound-dev,
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette