File:  [DVB] / dietlibc / diet.1
Revision 1.3: download - view: text, annotated - select for diffs
Mon Sep 3 12:54:48 2001 UTC (22 years, 9 months ago) by fefe
Branches: MAIN
CVS tags: HEAD
add -Os option to diet (see diet.1)

.TH diet 1 "April 2001"
.SH NAME
.PP
diet \- mangle gcc command line arguments
.SH SYNOPSIS
.PP
.B diet [-Os]
[\fInormal gcc command line\fP]
.SH DESCRIPTION
.PP
diet is a small wrapper around gcc.  It will try to look at the command
line you specify and try to mangle it so that gcc will compile against
the diet libc header files and link against the diet libc itself.

diet tries to be smart for cross compiling.  If the first argument is
not gcc but sparc-linux-gcc, diet will guess that you want to cross
compile for sparc and use bin-sparc/dietlibc.a instead of the dietlibc.a
for your default architecture.

When passed the -Os option before the gcc argument, diet will mangle the
gcc options to include the best known for-size optimization settings for
the platform.
.SH AUTHOR
Felix von Leitner <felix-dietlibc@fefe.de>

LinuxTV legacy CVS <linuxtv.org/cvs>