Print this page
11461 should use a native link-editor during the build
11463 SUNWonld has passed its use-by date
11464 cmd/sgs/tools should contain tools, not common code
11465 sgsmsg should be built with the rest of the build tools
@@ -3,11 +3,11 @@
NAME
cw - invoke one or more compilers with argument translation
SYNOPSIS
cw [-C] [--versions] [--noecho] --primary compiler
- [--shadow compiler ...] -- compiler args ...
+ [--shadow compiler ...] [--linker linker] -- compiler args ...
DESCRIPTION
cw is a facility for invoking one or more compilers, providing
translation from Sun style arguments as appropriate. This allows the use
of arbitrary compilers without the need to alter large numbers of
@@ -30,10 +30,14 @@
--shadow compiler
Specify a shadow compiler, which builds sources for the sake of
checking code quality and compatibility, but has its output
discarded.
+ --linker linker
+ Specify a link-editor to use in place of /usr/bin/ld. ld(1)
+ itself arranges for this to be executed by any subprocesses.
+
--noecho
Do not echo the actual command line of any compilers invoked.
--versions
Request from each configured primary and shadow compiler its
@@ -113,11 +117,11 @@
>0 A usage error occurred, or one or more compilers returned a
nonzero exit status.
SEE ALSO
- cc(1), CC(1), gcc(1)
+ cc(1), CC(1), gcc(1), ld(1)
BUGS
The translations provided for gcc are not always exact and in some cases
reflect local policy rather than actual equivalence.