-fpermissive to allow GCC to compile old C++
[oweals/cde.git] / cde / programs / dtmail / dtmail / DebugMime
1 #!/bin/csh
2 #
3 # A script that aids in debugging and testing dtmail
4 #
5 if ( `uname -s` != SunOS ) then
6         echo "Only support SunOS"
7         exit 1
8 endif
9
10 set echo
11 setenv LD_LIBRARY_PATH ../libDtMail:../../../binstall/lib:$LD_LIBRARY_PATH
12 ldd -r dtmail
13
14 setenv ARGS     "$*"
15 if ( -f core ) then
16         exec debugger dtmail core &
17 else
18         exec debugger dtmail &
19 endif
20 exit 1