On 05/07/2011 8:31 AM, Patrick Walton wrote:
On 7/5/11 8:25 AM, Graydon Hoare wrote:
That is: stageN/bin contains everything needed-to-run stageN/bin,
whereas stageN/<arch>/lib contains everything
needed-by-programs-produced-by stageN. Then we rpath stageN/bin/rustc to
$ORIGIN on machines that have rpath, and on windows this "just works"
because it searches the exe directory for dlls. Because it's crazy.
I think I read that Windows supports something like rpath with
application manifest files. It's more of a pain than rpath, though.
Yeah. It's semi-possible in some windows configs, but carries its own
weird file-naming restrictions, plus the manifest file stuff, plus only
works on some versions of windows.
http://msdn.microsoft.com/en-us/library/aa374191%28VS.85%29.aspx
http://msdn.microsoft.com/en-us/library/aa375674%28v=VS.85%29.aspx
It would be ... difficult and I think somewhat counterproductive to go
down that road. It seems microsoft's vc team *themselves* gave up on it
(or are semi-deprecating it) in the 2010 toolchain; they're just
mangling version numbers into filenames now.
So I'm more-keen on doing that, ourselves :)
-Graydon
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev