Changeset 16019 in vbox
- Timestamp:
- Jan 18, 2009 1:33:51 AM (16 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Config.kmk
r16017 r16019 2021 2021 TEMPLATE_VBOXGCEXE_LDFLAGS.strict = -g 2022 2022 TEMPLATE_VBOXGCEXE_LDFLAGS.release = -g 2023 if1of ($(KBUILD_TARGET),freebsd) 2024 # The FreeBSD port of gcc isn't picking up -m32 where it should. the .o order below isn't 2025 # quite right (target source comes first), if it stops working we'll have to write a linker tool. 2026 TEMPLATE_VBOXGCEXE_DEFS.$(KBUILD_TARGET) = $(TEMPLATE_VBOXGC_DEFS.$(KBUILD_TARGET)) IPRT_DONT_USE_SYSTEM_STDINT_H 2027 TEMPLATE_VBOXGCEXE_LDFLAGS.$(KBUILD_TARGET) = $(TEMPLATE_VBOXGC_LDFLAGS.$(KBUILD_TARGET)) -nostdlib -v 2028 TEMPLATE_VBOXGCEXE_SOURCES.$(KBUILD_TARGET) = /usr/lib32/crtend.o /usr/lib32/crtn.o 2029 TEMPLATE_VBOXGCEXE_SOURCES = /usr/lib32/crt1.o /usr/lib32/crti.o /usr/lib32/crtbegin.o 2030 TEMPLATE_VBOXGCEXE_LIBPATH.$(KBUILD_TARGET) = /usr/lib32 2031 TEMPLATE_VBOXGCEXE_LIBS.$(KBUILD_TARGET) = /usr/lib32/libc.so 2032 endif 2023 2033 endif 2024 2034 -
trunk/include/iprt/stdint.h
r8245 r16019 46 46 #include <iprt/cdefs.h> 47 47 48 #if !(defined(RT_OS_LINUX) && defined(__KERNEL__)) && !defined(_MSC_VER) && !defined(__IBMC__) && !defined(__IBMCPP__) && !defined(IPRT_NO_CRT) && !defined(DOXYGEN_RUNNING) 48 #if !(defined(RT_OS_LINUX) && defined(__KERNEL__)) && !defined(_MSC_VER) && !defined(__IBMC__) && !defined(__IBMCPP__) \ 49 && !defined(IPRT_NO_CRT) && !defined(IPRT_DONT_USE_SYSTEM_STDINT_H) && !defined(DOXYGEN_RUNNING) 49 50 # include <stdint.h> 50 51 51 52 #else 52 53 53 #if !(defined(RT_OS_LINUX) && defined(__KERNEL__)) || defined(IPRT_NO_CRT) || defined( DOXGEN_RUNNING)54 #if !(defined(RT_OS_LINUX) && defined(__KERNEL__)) || defined(IPRT_NO_CRT) || defined(IPRT_DONT_USE_SYSTEM_STDINT_H) || defined(DOXGEN_RUNNING) 54 55 /* machine specific */ 55 56 typedef signed char __int8_t; … … 168 169 #endif /* !C++ || __STDC_CONSTANT_MACROS */ 169 170 171 #if defined(RT_OS_FREEBSD) && defined(IPRT_DONT_USE_SYSTEM_STDINT_H) 172 /* This is a hack to get tstVMStructGC.cpp building on FreeBSD. */ 173 # define __uintptr_t __bad_uintptr_t 174 # define __uint64_t __bad_uint64_t 175 # define __uint32_t __bad_uint32_t 176 # define __uint16_t __bad_uint16_t 177 # define __uint8_t __bad_uint8_t 178 # define __intptr_t __bad_intptr_t 179 # define __int64_t __bad_int64_t 180 # define __int32_t __bad_int32_t 181 # define __int16_t __bad_int16_t 182 # define __int8_t __bad_int8_t 183 #endif 184 170 185 #endif /* ! have usable stdint.h */ 171 186 -
trunk/src/VBox/VMM/testcase/tstVMStructGC.cpp
r14503 r16019 34 34 #endif 35 35 36 #include <VBox/types.h> 37 #include <iprt/assert.h> 38 AssertCompileSize(uint8_t, 1); 39 AssertCompileSize(uint16_t, 2); 40 AssertCompileSize(uint32_t, 4); 41 AssertCompileSize(uint64_t, 8); 42 AssertCompileSize(RTRCPTR, 4); 43 #ifdef VBOX_WITH_64_BITS_GUESTS 44 AssertCompileSize(RTGCPTR, 8); 45 #else 46 AssertCompileSize(RTGCPTR, 8); 47 #endif 48 AssertCompileSize(RTGCPHYS, 8); 49 AssertCompileSize(RTHCPHYS, 8); 50 36 51 37 52 /******************************************************************************* … … 46 61 #include <VBox/vmm.h> 47 62 #include <VBox/stam.h> 48 #include " PDMInternal.h"63 #include "../PDMInternal.h" 49 64 #include <VBox/pdm.h> 50 #include " CFGMInternal.h"51 #include " CPUMInternal.h"52 #include " MMInternal.h"53 #include " PGMInternal.h"54 #include " SELMInternal.h"55 #include " TRPMInternal.h"56 #include " TMInternal.h"57 #include " IOMInternal.h"58 #include " REMInternal.h"59 #include " HWACCMInternal.h"60 #include " PATMInternal.h"61 #include " VMMInternal.h"62 #include " DBGFInternal.h"63 #include " STAMInternal.h"64 #include " CSAMInternal.h"65 #include " EMInternal.h"66 #include " REMInternal.h"65 #include "../CFGMInternal.h" 66 #include "../CPUMInternal.h" 67 #include "../MMInternal.h" 68 #include "../PGMInternal.h" 69 #include "../SELMInternal.h" 70 #include "../TRPMInternal.h" 71 #include "../TMInternal.h" 72 #include "../IOMInternal.h" 73 #include "../REMInternal.h" 74 #include "../HWACCMInternal.h" 75 #include "../PATM/PATMInternal.h" 76 #include "../VMMInternal.h" 77 #include "../DBGFInternal.h" 78 #include "../STAMInternal.h" 79 #include "../PATM/CSAMInternal.h" 80 #include "../EMInternal.h" 81 #include "../REMInternal.h" 67 82 #include <VBox/vm.h> 68 83 #include <VBox/param.h>
Note:
See TracChangeset
for help on using the changeset viewer.