Annotation of dietlibc/diet.1, revision 1.3
1.1 fefe 1: .TH diet 1 "April 2001"
2: .SH NAME
3: .PP
4: diet \- mangle gcc command line arguments
5: .SH SYNOPSIS
6: .PP
1.3 ! fefe 7: .B diet [-Os]
1.1 fefe 8: [\fInormal gcc command line\fP]
9: .SH DESCRIPTION
10: .PP
1.3 ! fefe 11: diet is a small wrapper around gcc. It will try to look at the command
1.1 fefe 12: line you specify and try to mangle it so that gcc will compile against
13: the diet libc header files and link against the diet libc itself.
14:
15: diet tries to be smart for cross compiling. If the first argument is
1.2 fefe 16: not gcc but sparc-linux-gcc, diet will guess that you want to cross
1.1 fefe 17: compile for sparc and use bin-sparc/dietlibc.a instead of the dietlibc.a
18: for your default architecture.
1.3 ! fefe 19:
! 20: When passed the -Os option before the gcc argument, diet will mangle the
! 21: gcc options to include the best known for-size optimization settings for
! 22: the platform.
1.1 fefe 23: .SH AUTHOR
24: Felix von Leitner <felix-dietlibc@fefe.de>
LinuxTV legacy CVS <linuxtv.org/cvs>