static linking

David Daney ddaney@avtrex.com
Fri Aug 15 18:30:00 GMT 2008


> 
> /scratch/daniel> gdb HelloWorld
> GNU gdb 6.3
> Copyright 2004 Free Software Foundation, Inc.
> ...
> 
> (gdb) break 12
> Breakpoint 1 at 0x400324: file /tmp/cc0TNqNE.i, line 12.
> (gdb) run
> Starting program: /scratch/daniel/HelloWorld
> 
> Program received signal SIGSEGV, Segmentation fault.
> 0x0000000000000000 in ?? ()

Make sure you compile with -g and get a backtrace using gdb's bt command.

David Daney



More information about the Java mailing list