version 1.5, 2002/08/21 22:15:01
|
version 1.6, 2015/07/29 12:43:50
|
Line 8 diet \- mangle gcc command line argument
|
Line 8 diet \- mangle gcc command line argument
|
[\fInormal gcc command line\fP] |
[\fInormal gcc command line\fP] |
.SH DESCRIPTION |
.SH DESCRIPTION |
.PP |
.PP |
diet is a small wrapper around gcc. It will try to look at the command |
diet is a small wrapper around gcc or clang. It will try to look at the command |
line you specify and try to mangle it so that gcc will compile against |
line you specify and try to mangle it so that gcc/clang will compile against |
the diet libc header files and link against the diet libc itself. |
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 |
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 |
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 |
compile for sparc and use bin-sparc/dietlibc.a instead of the dietlibc.a |
for your default architecture. |
for your default architecture. This does not work yet for clang. |
|
|
The -v option will make diet print the modified gcc command line before |
The -v option will make diet print the modified gcc command line before |
executing it. |
executing it. |