diet - Online in the Cloud

This is the command diet that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

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 settings for the platform.

Use diet online using onworks.net services



Latest Linux & Windows online programs