summaryrefslogtreecommitdiff
path: root/ld-gnu-to-sun.pod
blob: b24a75bad26a8863f8cdc55f62b08843e193be22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
=head1 NAME

ld-gnu-to-sun - linker wrapper from GNU ld to Sun ld

=head1 SYNOPSIS

LD_ALTEXEC=/usr/bin/ld-gnu-to-sun gcc ...

=head1 DESCRIPTION

System GCC compiled to use L<ld(1)> from GNU binutils.
Those binutils are patched to support alternative linker
set by environment variable C<LD_ALTEXEC>.

Unfortunately, GCC passes some options which only GNU L<ld(1)>
supports, so you cannot use C<LD_ALTEXEC> directly for L<sunld(1)>,
but you can use this wrapper to filter out and transform linker options.


=head1 FILES

=over 4

=item /usr/bin/sunld

Sun/Solaris linker

=item /usr/bin/ld

GNU linker

=back

=head1 SEE ALSO

L<sunld(1)>, L<ld(1)>.

=head1 AUTHOR

Igor Pashev <pashev.igor@gmail.com>

=cut