setsdkenv_unix.sh.in (ed9d7cbe) | setsdkenv_unix.sh.in (789d489d) |
---|---|
1#! /bin/sh 2############################################################### 3# 4# Licensed to the Apache Software Foundation (ASF) under one 5# or more contributor license agreements. See the NOTICE file 6# distributed with this work for additional information 7# regarding copyright ownership. The ASF licenses this file 8# to you under the Apache License, Version 2.0 (the --- 137 unchanged lines hidden (view full) --- 146 then 147 directoryname=solsparc 148 platform='Solaris Sparc' 149 else 150 directoryname=solintel 151 platform='Solaris x86' 152 fi 153 comid=C52 | 1#! /bin/sh 2############################################################### 3# 4# Licensed to the Apache Software Foundation (ASF) under one 5# or more contributor license agreements. See the NOTICE file 6# distributed with this work for additional information 7# regarding copyright ownership. The ASF licenses this file 8# to you under the Apache License, Version 2.0 (the --- 137 unchanged lines hidden (view full) --- 146 then 147 directoryname=solsparc 148 platform='Solaris Sparc' 149 else 150 directoryname=solintel 151 platform='Solaris x86' 152 fi 153 comid=C52 |
154 pltfrm=sunpro | |
155 soext=so 156 exampleout=SOLARISexample.out 157 stldebug=_debug 158 LD_LIBRARY_PATH=${OO_SDK_HOME}/lib:${OO_SDK_OUT}/${exampleout}/lib:${OO_SDK_OFFICE_LIB_DIR}:.:${LD_LIBRARY_PATH} 159 export LD_LIBRARY_PATH 160 ;; 161 162 darwin*) 163 if [ -n "$OO_SDK_CPP_HOME" ] 164 then | 154 soext=so 155 exampleout=SOLARISexample.out 156 stldebug=_debug 157 LD_LIBRARY_PATH=${OO_SDK_HOME}/lib:${OO_SDK_OUT}/${exampleout}/lib:${OO_SDK_OFFICE_LIB_DIR}:.:${LD_LIBRARY_PATH} 158 export LD_LIBRARY_PATH 159 ;; 160 161 darwin*) 162 if [ -n "$OO_SDK_CPP_HOME" ] 163 then |
165 SDK_GXX_INCLUDE_PATH=`echo "#include <cstring>" | ${OO_SDK_CPP_HOME}/g++ -E -xc++ - | sed -n '/.*1*"\(.*\)\/cstring".*/s//\1/p' | head -n 1` | 164 SDK_GXX_INCLUDE_PATH=`echo "#include <cstring>" | ${OO_SDK_CPP_HOME}/clang++ -E -xc++ - | sed -n '/.*1*"\(.*\)\/cstring".*/s//\1/p' | head -n 1` |
166 export SDK_GXX_INCLUDE_PATH 167 fi 168 169 directoryname=macosx | 165 export SDK_GXX_INCLUDE_PATH 166 fi 167 168 directoryname=macosx |
170 comid=gcc3 171 pltfrm=gcc | 169 comid=s5abi |
172 soext=dylib 173 exampleout=MACOSXexample.out 174 platform=MacOSX 175 stldebug=_stldebug 176 DYLD_LIBRARY_PATH=/usr/lib:${OO_SDK_OUT}/${directoryname}/lib:${OO_SDK_OUT}/${exampleout}/lib:${OO_SDK_OFFICE_LIB_DIR}:.:${DYLD_LIBRARY_PATH} 177 export DYLD_LIBRARY_PATH 178 ;; 179 180 linux-gnu) 181 if [ -n "$OO_SDK_CPP_HOME" ] 182 then 183 SDK_GXX_INCLUDE_PATH=`echo "#include <cstring>" | ${OO_SDK_CPP_HOME}/g++ -E -xc++ - | sed -n '/.*1*"\(.*\)\/cstring".*/s//\1/p' | head -n 1` 184 export SDK_GXX_INCLUDE_PATH 185 fi 186 187 directoryname=linux 188 comid=gcc3 | 170 soext=dylib 171 exampleout=MACOSXexample.out 172 platform=MacOSX 173 stldebug=_stldebug 174 DYLD_LIBRARY_PATH=/usr/lib:${OO_SDK_OUT}/${directoryname}/lib:${OO_SDK_OUT}/${exampleout}/lib:${OO_SDK_OFFICE_LIB_DIR}:.:${DYLD_LIBRARY_PATH} 175 export DYLD_LIBRARY_PATH 176 ;; 177 178 linux-gnu) 179 if [ -n "$OO_SDK_CPP_HOME" ] 180 then 181 SDK_GXX_INCLUDE_PATH=`echo "#include <cstring>" | ${OO_SDK_CPP_HOME}/g++ -E -xc++ - | sed -n '/.*1*"\(.*\)\/cstring".*/s//\1/p' | head -n 1` 182 export SDK_GXX_INCLUDE_PATH 183 fi 184 185 directoryname=linux 186 comid=gcc3 |
189 pltfrm=gcc | |
190 soext=so 191 exampleout=LINUXexample.out 192 platform=Linux 193 stldebug=_stldebug 194 LD_LIBRARY_PATH=${OO_SDK_HOME}/lib:${OO_SDK_OUT}/${exampleout}/lib:${OO_SDK_OFFICE_LIB_DIR}:.:${LD_LIBRARY_PATH} 195 export LD_LIBRARY_PATH 196 ;; 197 198 freebsd*) 199 if [ -n "$OO_SDK_CPP_HOME" ] 200 then 201 SDK_GXX_INCLUDE_PATH=`echo "#include <cstring>" | ${OO_SDK_CPP_HOME}/g++ -E -xc++ - | sed -n '/.*1*"\(.*\)\/cstring".*/s//\1/p' | head -n 1` 202 export SDK_GXX_INCLUDE_PATH 203 fi 204 205 directoryname=freebsd 206 comid=gcc3 | 187 soext=so 188 exampleout=LINUXexample.out 189 platform=Linux 190 stldebug=_stldebug 191 LD_LIBRARY_PATH=${OO_SDK_HOME}/lib:${OO_SDK_OUT}/${exampleout}/lib:${OO_SDK_OFFICE_LIB_DIR}:.:${LD_LIBRARY_PATH} 192 export LD_LIBRARY_PATH 193 ;; 194 195 freebsd*) 196 if [ -n "$OO_SDK_CPP_HOME" ] 197 then 198 SDK_GXX_INCLUDE_PATH=`echo "#include <cstring>" | ${OO_SDK_CPP_HOME}/g++ -E -xc++ - | sed -n '/.*1*"\(.*\)\/cstring".*/s//\1/p' | head -n 1` 199 export SDK_GXX_INCLUDE_PATH 200 fi 201 202 directoryname=freebsd 203 comid=gcc3 |
207 pltfrm=gcc | |
208 soext=so 209 exampleout=FREEBSDexample.out 210 platform=FreeBSD 211 stldebug=_stldebug 212 LD_LIBRARY_PATH=${OO_SDK_HOME}/lib:${OO_SDK_OUT}/${exampleout}/lib:${OO_SDK_OFFICE_LIB_DIR}:.:${LD_LIBRARY_PATH} 213 export LD_LIBRARY_PATH 214 215 if [ -e "/sbin/sysctl" ] --- 139 unchanged lines hidden --- | 204 soext=so 205 exampleout=FREEBSDexample.out 206 platform=FreeBSD 207 stldebug=_stldebug 208 LD_LIBRARY_PATH=${OO_SDK_HOME}/lib:${OO_SDK_OUT}/${exampleout}/lib:${OO_SDK_OFFICE_LIB_DIR}:.:${LD_LIBRARY_PATH} 209 export LD_LIBRARY_PATH 210 211 if [ -e "/sbin/sysctl" ] --- 139 unchanged lines hidden --- |