VirtualBox

Changeset 6539 in vbox for trunk/src/VBox/Additions/x11


Ignore:
Timestamp:
Jan 28, 2008 7:51:33 PM (17 years ago)
Author:
vboxsync
Message:

Additions/X11: made the X server graphics driver use the R3 guest library in Linux guests

Location:
trunk/src/VBox/Additions/x11/xgraphics
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/x11/xgraphics/Makefile.kmk

    r6494 r6539  
    2828# For now
    2929VBOX_LIB_VBGL_R3 := $(PATH_LIB)/VBoxGuestR3LibLinux.a
    30 VBOX_LIB_IPRT_GUEST_R3 := $(PATH_LIB)/RuntimeLnx32GuestR3.a
     30VBOX_LIB_VBGL_R3_XFREE86 := $(PATH_LIB)/VBoxGuestR3LibLinuxXFree86.a
     31VBOX_LIB_IPRT_GUEST_R3 := $(PATH_LIB)/RuntimeLnx32GuestR3Shared.a
    3132
    3233vboxvideo_drv_TEMPLATE = VBOXLNX32GUESTR3EXE
     
    105106vboxvideo_drv_SOURCES = \
    106107        vboxvideo_68.c \
    107         vboxutils.c
     108        vboxutils-new.c
    108109vboxvideo_drv_LIBS = \
    109         $(VBOX_LIB_VBGL_R3) \
    110         $(VBOX_LIB_IPRT_GUEST_R3)
     110        $(VBOX_LIB_VBGL_R3_XFREE86)
    111111
    112112vboxvideo_drv_70_TEMPLATE = VBOXLNX32GUESTR3DLLNOCPP
     
    124124vboxvideo_drv_70_SOURCES  = \
    125125        vboxvideo_70.c \
    126         vboxutils.c
     126        vboxutils-new.c
    127127vboxvideo_drv_70_LIBS = \
    128128        $(VBOX_LIB_VBGL_R3) \
    129         $(VBOX_LIB_IPRT_GUEST_R3)
     129        $(VBOX_LIB_IPRT_GUEST_R3) \
     130        $(VBOX_LIB_VBGL_R3)
    130131
    131132vboxvideo_drv_71_TEMPLATE = VBOXLNX32GUESTR3DLLNOCPP
     
    139140vboxvideo_drv_71_SOURCES  = \
    140141        vboxvideo_70.c \
    141         vboxutils.c
     142        vboxutils-new.c
    142143vboxvideo_drv_71_LIBS = \
    143144        $(VBOX_LIB_VBGL_R3) \
    144         $(VBOX_LIB_IPRT_GUEST_R3)
     145        $(VBOX_LIB_IPRT_GUEST_R3) \
     146        $(VBOX_LIB_VBGL_R3)
    145147
    146148vboxvideo_drv_13_TEMPLATE = VBOXLNX32GUESTR3DLLNOCPP
     
    154156vboxvideo_drv_13_SOURCES  = \
    155157        vboxvideo_13.c \
    156         vboxutils.c
     158        vboxutils-new.c
    157159vboxvideo_drv_13_LIBS = \
    158160        $(VBOX_LIB_VBGL_R3) \
    159         $(VBOX_LIB_IPRT_GUEST_R3)
     161        $(VBOX_LIB_IPRT_GUEST_R3) \
     162        $(VBOX_LIB_VBGL_R3)
    160163
    161164vboxvideo_drv_14_TEMPLATE = VBOXLNX32GUESTR3DLLNOCPP
     
    171174vboxvideo_drv_14_SOURCES  = \
    172175        vboxvideo_13.c \
    173         vboxutils.c
     176        vboxutils-new.c
    174177vboxvideo_drv_14_LIBS = \
    175178        $(VBOX_LIB_VBGL_R3) \
    176         $(VBOX_LIB_IPRT_GUEST_R3)
     179        $(VBOX_LIB_IPRT_GUEST_R3) \
     180        $(VBOX_LIB_VBGL_R3)
    177181endif
    178182
     
    193197vboxvideo_drv_LIBS = \
    194198        $(VBOX_LIB_VBGL_R3) \
    195         $(VBOX_LIB_IPRT_GUEST_R3)
     199        $(VBOX_LIB_IPRT_GUEST_R3) \
     200        $(VBOX_LIB_VBGL_R3)
    196201endif
    197202
  • trunk/src/VBox/Additions/x11/xgraphics/vboxutils-new.c

    r6520 r6539  
    847847}
    848848
     849/* Make our C++ libraries happy. */
     850extern int __gxx_personality_v0;
     851int __gxx_personality_v0 = 0xdeadbeef;
  • trunk/src/VBox/Additions/x11/xgraphics/vboxutils.c

    r6519 r6539  
    997997    return FALSE;
    998998}
     999
     1000extern int __gxx_personality_v0;
     1001int __gxx_personality_v0 = 0xdeadbeef;
Note: See TracChangeset for help on using the changeset viewer.

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