[11133] in Athena Bugs
xlc -pg
daemon@ATHENA.MIT.EDU (Richard Basch)
Sat Oct 2 01:56:05 1993
Date: Sat, 2 Oct 1993 01:55:51 -0400
To: brlewis@MIT.EDU, bugs@MIT.EDU
From: "Richard Basch" <basch@MIT.EDU>
This is not a bug.
From the xlc man page:
-B<prefix>
Construct alternate compiler/assembler/linkage editor
program names. <prefix> is added to the beginning of
the standard program names.
In fact, almost all compilers use -B in this way, so I don't know why he
did this. Certainly, if "ld" takes this flag, which it doesn't
interpret in this way, you could not pass it through the C compiler
invocation.
I do not even think there is a "static" option... to compile something
statically, I believe you want:
cc -Wl,-bnso,-bnodelcsect,-bI:/lib/syscalls.exp
-Richard