Annotation of dietlibc/diet.1, revision 1.6
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.4 fefe 7: .B diet [-v] [-Os]
1.1 fefe 8: [\fInormal gcc command line\fP]
9: .SH DESCRIPTION
10: .PP
1.6 ! leitner 11: diet is a small wrapper around gcc or clang. It will try to look at the command
! 12: line you specify and try to mangle it so that gcc/clang will compile against
1.1 fefe 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
1.6 ! leitner 18: for your default architecture. This does not work yet for clang.
1.4 fefe 19:
20: The -v option will make diet print the modified gcc command line before
21: executing it.
1.3 fefe 22:
23: When passed the -Os option before the gcc argument, diet will mangle the
24: gcc options to include the best known for-size optimization settings for
25: the platform.
1.5 fefe 26: .SH FILES
27: ~/.diet/\fIcompiler\fR may contain compiler options as you would
28: specify them on the command line, i.e. separated by spaces. Those will
29: then be used instead of the built-in defaults for diet -Os.
1.1 fefe 30: .SH AUTHOR
31: Felix von Leitner <felix-dietlibc@fefe.de>
LinuxTV legacy CVS <linuxtv.org/cvs>