crunchgen.1 (79537) | crunchgen.1 (81622) |
---|---|
1.\" 2.\" Copyright (c) 1994 University of Maryland 3.\" All Rights Reserved. 4.\" 5.\" Permission to use, copy, modify, distribute, and sell this software and its 6.\" documentation for any purpose is hereby granted without fee, provided that 7.\" the above copyright notice appear in all copies and that both that 8.\" copyright notice and this permission notice appear in supporting --- 8 unchanged lines hidden (view full) --- 17.\" BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 18.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 19.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR 20.\" IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 21.\" 22.\" Author: James da Silva, Systems Design and Analysis Group 23.\" Computer Science Department 24.\" University of Maryland at College Park | 1.\" 2.\" Copyright (c) 1994 University of Maryland 3.\" All Rights Reserved. 4.\" 5.\" Permission to use, copy, modify, distribute, and sell this software and its 6.\" documentation for any purpose is hereby granted without fee, provided that 7.\" the above copyright notice appear in all copies and that both that 8.\" copyright notice and this permission notice appear in supporting --- 8 unchanged lines hidden (view full) --- 17.\" BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 18.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 19.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR 20.\" IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 21.\" 22.\" Author: James da Silva, Systems Design and Analysis Group 23.\" Computer Science Department 24.\" University of Maryland at College Park |
25.\" $FreeBSD: head/usr.sbin/crunch/crunchgen/crunchgen.1 79537 2001-07-10 15:12:08Z ru $ | 25.\" $FreeBSD: head/usr.sbin/crunch/crunchgen/crunchgen.1 81622 2001-08-14 10:01:54Z ru $ |
26.\" 27.Dd November 16, 2000 28.Dt CRUNCHGEN 1 29.Os 30.Sh NAME 31.Nm crunchgen 32.Nd generates build environment for a crunched binary 33.Sh SYNOPSIS --- 36 unchanged lines hidden (view full) --- 70uses the companion program 71.Xr crunchide 1 72to eliminate link-time conflicts between the component programs by 73hiding all unnecessary symbols. 74.Pp 75.Nm 76places specific requirements on package 77.Pa Makefile Ns s | 26.\" 27.Dd November 16, 2000 28.Dt CRUNCHGEN 1 29.Os 30.Sh NAME 31.Nm crunchgen 32.Nd generates build environment for a crunched binary 33.Sh SYNOPSIS --- 36 unchanged lines hidden (view full) --- 70uses the companion program 71.Xr crunchide 1 72to eliminate link-time conflicts between the component programs by 73hiding all unnecessary symbols. 74.Pp 75.Nm 76places specific requirements on package 77.Pa Makefile Ns s |
78which make it unsuitable for use with non-BSD sources. | 78which make it unsuitable for use with 79.No non- Ns Bx 80sources. |
79In particular, the 80.Pa Makefile 81must contain the target 82.Ic depend , 83and it must define all object files in the variable 84.Va OBJS . 85In some cases, you can use a fake 86.Pa Makefile : --- 325 unchanged lines hidden (view full) --- 412.Nm 413takes care to eliminate link conflicts between the component programs 414of a crunched binary, conflicts are still possible between the 415libraries that are linked in. 416Some shuffling in the order of 417libraries may be required, and in some rare cases two libraries may 418have an unresolvable conflict and thus cannot be crunched together. 419.Pp | 81In particular, the 82.Pa Makefile 83must contain the target 84.Ic depend , 85and it must define all object files in the variable 86.Va OBJS . 87In some cases, you can use a fake 88.Pa Makefile : --- 325 unchanged lines hidden (view full) --- 414.Nm 415takes care to eliminate link conflicts between the component programs 416of a crunched binary, conflicts are still possible between the 417libraries that are linked in. 418Some shuffling in the order of 419libraries may be required, and in some rare cases two libraries may 420have an unresolvable conflict and thus cannot be crunched together. 421.Pp |
420Some versions of the BSD build environment do not by default build the | 422Some versions of the 423.Bx 424build environment do not by default build the |
421intermediate object file for single-source file programs. 422The 423.Dq Li make objs 424must then be used to get those object files built, or 425some other arrangements made. 426.Sh AUTHORS 427.Nm 428was written by 429.An James da Silva Aq jds@cs.umd.edu . 430.Pp 431Copyright (c) 1994 University of Maryland. 432All Rights Reserved. | 425intermediate object file for single-source file programs. 426The 427.Dq Li make objs 428must then be used to get those object files built, or 429some other arrangements made. 430.Sh AUTHORS 431.Nm 432was written by 433.An James da Silva Aq jds@cs.umd.edu . 434.Pp 435Copyright (c) 1994 University of Maryland. 436All Rights Reserved. |