Author: tausq
Date: 2001-03-04 05:14:13 GMT
pacify the new stricter g++ compiler
cat <<_GLIBC_>$dummy.c
#include <features.h>
#include <stdio.h>
cat <<_GLIBC_>$dummy.c
#include <features.h>
#include <stdio.h>
int main(int argc, char **argv) { printf("libc6.%d",__GLIBC_MINOR__); exit(0); }
_GLIBC_
${CC-cc} $dummy.c -o $dummy
int main(int argc, char **argv) { printf("libc6.%d",__GLIBC_MINOR__); exit(0); }
_GLIBC_
${CC-cc} $dummy.c -o $dummy
cat <<_LIBSTDCPP_>$dummy.cc
#include <features.h>
#include <stdio.h>
cat <<_LIBSTDCPP_>$dummy.cc
#include <features.h>
#include <stdio.h>
int main(int argc, char **argv) { exit(0); }
_LIBSTDCPP_
${CXX-c++} $dummy.cc -o $dummy
int main(int argc, char **argv) { exit(0); }
_LIBSTDCPP_
${CXX-c++} $dummy.cc -o $dummy