debian/rules:
export CC = /usr/lib/gcc-snapshot/bin/gcc export CXX = /usr/lib/gcc-snapshot/bin/g++ export CPP = /usr/lib/gcc-snapshot/bin/gcc -E export CXXCPP = /usr/lib/gcc-snapshot/bin/g++ -E
and call the check target with
LD_LIBRARY_PAth=/usr/lib/gcc-snapshot/lib $(MAKE) test
debian/rules:
export CC = /usr/lib/ gcc-snapshot/ bin/gcc gcc-snapshot/ bin/g++ gcc-snapshot/ bin/gcc -E gcc-snapshot/ bin/g++ -E
export CXX = /usr/lib/
export CPP = /usr/lib/
export CXXCPP = /usr/lib/
and call the check target with
LD_LIBRARY_ PAth=/usr/ lib/gcc- snapshot/ lib $(MAKE) test