objcopy.1 (218822) | objcopy.1 (226436) |
---|---|
1.\" $FreeBSD: head/gnu/usr.bin/binutils/objcopy/objcopy.1 218822 2011-02-18 20:54:12Z dim $ | 1.\" $FreeBSD: head/gnu/usr.bin/binutils/objcopy/objcopy.1 226436 2011-10-16 14:30:28Z eadler $ |
2.\" Automatically generated by Pod::Man 2.23 (Pod::Simple 3.14) 3.\" 4.\" Standard preamble: 5.\" ======================================================================== 6.de Sp \" Vertical space (when we can't use .PP) 7.if t .sp .5v 8.if n .sp 9.. --- 723 unchanged lines hidden (view full) --- 733.Sp 734The intention is that this option will be used in conjunction with 735\&\fB\-\-add\-gnu\-debuglink\fR to create a two part executable. One a 736stripped binary which will occupy less space in \s-1RAM\s0 and in a 737distribution and the second a debugging information file which is only 738needed if debugging abilities are required. The suggested procedure 739to create these files is as follows: 740.RS 4 | 2.\" Automatically generated by Pod::Man 2.23 (Pod::Simple 3.14) 3.\" 4.\" Standard preamble: 5.\" ======================================================================== 6.de Sp \" Vertical space (when we can't use .PP) 7.if t .sp .5v 8.if n .sp 9.. --- 723 unchanged lines hidden (view full) --- 733.Sp 734The intention is that this option will be used in conjunction with 735\&\fB\-\-add\-gnu\-debuglink\fR to create a two part executable. One a 736stripped binary which will occupy less space in \s-1RAM\s0 and in a 737distribution and the second a debugging information file which is only 738needed if debugging abilities are required. The suggested procedure 739to create these files is as follows: 740.RS 4 |
741.IP "1.<Link the executable as normal. Assuming that is is called>" 4 742.IX Item "1.<Link the executable as normal. Assuming that is is called>" | 741.IP "1.<Link the executable as normal. Assuming that it is called>" 4 742.IX Item "1.<Link the executable as normal. Assuming that it is called>" |
743\&\f(CW\*(C`foo\*(C'\fR then... 744.ie n .IP "1.<Run ""objcopy \-\-only\-keep\-debug foo foo.dbg"" to>" 4 745.el .IP "1.<Run \f(CWobjcopy \-\-only\-keep\-debug foo foo.dbg\fR to>" 4 746.IX Item "1.<Run objcopy --only-keep-debug foo foo.dbg to>" 747create a file containing the debugging info. 748.ie n .IP "1.<Run ""objcopy \-\-strip\-debug foo"" to create a>" 4 749.el .IP "1.<Run \f(CWobjcopy \-\-strip\-debug foo\fR to create a>" 4 750.IX Item "1.<Run objcopy --strip-debug foo to create a>" --- 108 unchanged lines hidden --- | 743\&\f(CW\*(C`foo\*(C'\fR then... 744.ie n .IP "1.<Run ""objcopy \-\-only\-keep\-debug foo foo.dbg"" to>" 4 745.el .IP "1.<Run \f(CWobjcopy \-\-only\-keep\-debug foo foo.dbg\fR to>" 4 746.IX Item "1.<Run objcopy --only-keep-debug foo foo.dbg to>" 747create a file containing the debugging info. 748.ie n .IP "1.<Run ""objcopy \-\-strip\-debug foo"" to create a>" 4 749.el .IP "1.<Run \f(CWobjcopy \-\-strip\-debug foo\fR to create a>" 4 750.IX Item "1.<Run objcopy --strip-debug foo to create a>" --- 108 unchanged lines hidden --- |