On 3/8/12 12:48 PM, Graydon Hoare wrote:
- Pass an explicit output filename. Mangling the hash and version
string into the filename is something rustc does as a convenience
to avoid name collision in installation directories. Multiple libs
with the same symbolic name can coexist; the compiler searches them
all for a metadata match when you 'use' a library. But it works
(or should work!) just as well if you set the output name explicitly
using -o to a filename that happens to have the right symbolic name
prefix: "rustc -o libfoo.so foo.rc" ought to work.
I *think* the code currently ignores the name you give for -o when
compiling libraries. Well, rather, it uses the name to find the
directory, but decides on its own output filename.
Niko
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev