debian man page for diet

Query: diet

OS: debian

Section: 1

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

diet(1) 						      General Commands Manual							   diet(1)

NAME
diet - mangle gcc command line arguments
SYNOPSIS
diet [-v] [-Os] [normal gcc command line]
DESCRIPTION
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. The -v option will make diet print the modified gcc command line before executing it. When passed the -Os option before the gcc argument, diet will mangle the gcc options to include the best known for-size optimization set- tings for the platform.
FILES
~/.diet/compiler may contain compiler options as you would specify them on the command line, i.e. separated by spaces. Those will then be used instead of the built-in defaults for diet -Os.
AUTHOR
Felix von Leitner <felix-dietlibc@fefe.de> April 2001 diet(1)
Related Man Pages
grub-mkrescue(1) - linux
atscc(1) - debian
colorgcc(1) - debian
dietforwarder(1) - debian
sb2-init(1) - debian
Similar Topics in the Unix Linux Community
Diet info
iDiet 1.0 (Default branch)
iDiet 1.0.2 (Default branch)
iDiet 1.0.4 (Default branch)
Reminder for dietmar13: Inappropriate Post Regarding UNIX.COM