Ticket #31736: testpch.sh

File testpch.sh, 164 bytes (added by spolitov@…, 13 years ago)
Line 
1#!/bin/bash
2
3COMPILER=/opt/local/bin/gcc-mp-4.5
4
5rm pch.h.gch
6cp pch.xxx pch.h
7$COMPILER -x c-header pch.h
8rm pch.h
9$COMPILER -include pch.h -Winvalid-pch -x c 1.c