D:\Licence\LIN1\UBSC>make ubsc
[g]g++ -pipe -s -o ubsc ubs.o lbs.o ubsc.o ubsc_codec.o ubsc_codec_Huffman.o ubsc_codec_Sh_F.o ubsc_codec_LZW.o main_ubsc.o ubsc_codec_common.o[/g]
D:\Licence\LIN1\UBSC>gdb ubsc
GNU gdb 5.1.1 (mingw experimental)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "mingw32"...(no debugging symbols found)...
(gdb) run
Starting program: D:\Licence\LIN1\UBSC/ubsc.exe
Program exited [#00ff00]normally[/#00ff00].
(gdb) quit
D:\Licence\LIN1\UBSC>make -f makefile2 ubsc
[g]g++ -pipe -s -o ubsc main_ubsc.o lbs.o ubs.o ubsc.o ubsc_codec.o ubsc_codec_common.o ubsc_codec_Huffman.o ubsc_codec_LZW.o ubsc_codec_Sh_F.o[/g]
D:\Licence\LIN1\UBSC>gdb ubsc
GNU gdb 5.1.1 (mingw experimental)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "mingw32"...(no debugging symbols found)...
(gdb) run
Starting program: D:\Licence\LIN1\UBSC/ubsc.exe
[#ff0000]Program received signal SIGSEGV[/#ff0000], Segmentation fault.
0x00402f3d in ?? ()
(gdb) quit
The program is running. Exit anyway? (y or n) y |