Package flag-sort-0.4-1
| System | Binary Distributions | CVS/rsync Source Distributions | |
|---|---|---|---|
10.7/x86_64 | 0.4-1 | ||
10.6/x86_64 | |||
10.6/i386 | |||
10.5/i386 | |||
10.5/powerpc | |||
| Description: | Wrapper that sorts compiler flags (0.4-1) | |
| Usage Hints: | ||
flag-sort [-r] [-v] CMD ARG1 ARG2 ...
The command CMD is launched with ARG1 ARG2 ... as arguments. The
arguments are re-ordered to put compiler search-path flags (-I and -L)
in an order appropriate for fink. The paths are sorted in the
following order:
anything un-recognized
local/relative (full paths that are local aren't noticed here)
fink /sw/opt (self-contained rooted packages)
fink /sw
x11 (and /usr/X11 before /usr/X11R6)
system (/usr)
/usr/local
Within each category, order is maintained as given. In addition, lib/
is placed before include/ in each category so that arch-dependent
comes before generic and "PREFIX/lib/PACKAGE/{include,lib} hidden
packages override standard ones. (/sw/opt does not distinguish between
lib/ and include/ because the rooted packages need not put those
in any well-defined place)
The -r flag causes flag-sort to print relative paths before absolute
paths. Order is preserved within each class of path. For example,
the following command:
flag-sort -r echo -L/absolute -Lrelative -L../relative \
-I/absolute -I../relative -Irelative
...would result in:
-I../relative -Irelative -I/absolute \
-Lrelative -L../relative -L/absolute
The -v flag causes flag-sort to print the command that will be
launched and all the flags in order on STDOUT. | ||
| Section: | devel | |
| Maintainer: | Daniel Macks <dmacksATnetspaceDOTorg> | |
| License: | GPL | |
| Info-File: | dists/10.7/stable/main/finkinfo/devel/flag-sort.info CVS log, Last Changed: Fri, 29 Jul 2011 02:05:53 (UTC) | |
Section list - Flat package list - Search packages
(*) = Unsupported distribution.