Re: [Mesa-dev] [PATCHES] clang compatibility

2010-08-29 Thread nobled
Eric Anholt wrote: > On Sun, 22 Aug 2010 05:35:19 -0400, nobled wrote: >> The first three attached patches make it possible to compile Mesa with >> LLVM/Clang: >> 1. Add -lstdc++ when linking glsl_compiler and glcpp >> 2. Move -lstdc++ from the Gallium-specific Makefile.dri to >> DRI_LIB_DEPS in

Re: [Mesa-dev] [PATCHES] clang compatibility

2010-08-24 Thread Keith Whitwell
On Mon, 2010-08-23 at 14:09 -0700, José Fonseca wrote: > On Sun, 2010-08-22 at 02:35 -0700, nobled wrote: > > The first three attached patches make it possible to compile Mesa with > > LLVM/Clang: > > 1. Add -lstdc++ when linking glsl_compiler and glcpp > > 2. Move -lstdc++ from the Gallium-specifi

Re: [Mesa-dev] [PATCHES] clang compatibility

2010-08-23 Thread José Fonseca
On Sun, 2010-08-22 at 02:35 -0700, nobled wrote: > The first three attached patches make it possible to compile Mesa with > LLVM/Clang: > 1. Add -lstdc++ when linking glsl_compiler and glcpp > 2. Move -lstdc++ from the Gallium-specific Makefile.dri to > DRI_LIB_DEPS in configure (fixes linking clas

Re: [Mesa-dev] [PATCHES] clang compatibility

2010-08-22 Thread Eric Anholt
On Sun, 22 Aug 2010 05:35:19 -0400, nobled wrote: > The first three attached patches make it possible to compile Mesa with > LLVM/Clang: > 1. Add -lstdc++ when linking glsl_compiler and glcpp > 2. Move -lstdc++ from the Gallium-specific Makefile.dri to > DRI_LIB_DEPS in configure (fixes linking cl

[Mesa-dev] [PATCHES] clang compatibility

2010-08-22 Thread nobled
The first three attached patches make it possible to compile Mesa with LLVM/Clang: 1. Add -lstdc++ when linking glsl_compiler and glcpp 2. Move -lstdc++ from the Gallium-specific Makefile.dri to DRI_LIB_DEPS in configure (fixes linking classic Mesa drivers) 3. Since autoconf gives GCC=yes even when