-fpermissive to allow GCC to compile old C++
[oweals/cde.git] / cde / programs / dtmail / dtmail / DebugBento
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 set echo
10 setenv DT_MAIL /home/dougr/INBOX
11 setenv DEFAULT_BACKEND Bento
12 setenv LD_LIBRARY_PATH ../libDtMail:../../../lib/Bento:../../../binstall/lib:$LD_LIBRARY_PATH
13 ldd -r dtmail
14 if ( -f core ) then
15         exec debugger dtmail core &
16 else
17         exec debugger dtmail &
18 endif