-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Docs] Build Enviroment? #45
Comments
I shall put it into the wiki. |
don't know how many parts in old official build instruction can be applied: https://web.archive.org/web/20200630221246/https://firefox-source-docs.mozilla.org/setup/windows_build.html |
that sounds cool.... |
I put the essential part https://github.com/Feodor2/Mypal68/wiki/Building-from-the-source |
can you explain more about building rustc and do I have to move rust compiler files manually? |
What part more you want to explain - if i did not write about move files so why do want to move? Have you built own rust? |
so the rust compiler lives in mypal68 tree? or I should download rust source tarball and extract it out of mypal tree and build it? |
Ah the rust compiler is rustc.exe with few other files and it is not related to the mypal tree at all, and of course it is to be built before mypal building. I took rust source from github then set to the 1.35 version, all by git commands. |
when I really want to try building rust-1.35 on win7, there are some prerequisites:
then download rustc from https://static.rust-lang.org/dist/rustc-1.35.0-src.tar.gz it tried to compile bootstrap:
but when I really try to build, it fails:
commenting out
commenting out that line, build continues:
but you have VS 2015 (but not newer) and you want to use EWDK to build, you hit cmake error. setting these environment variables can help to bypass registry checking, but fails on MSBuild:
|
For config.toml brackets mean - host and target is to bracket. I remember errors with msbuild was fail to look include path |
@Feodor2 maybe it is easier if you may provide your copy of compiled rustc and/or clang-cl |
Not because i don't get license stuff which rust has different. This is not the obstacle too difficult, after you will set all things you begin malign whatever you want or try the oldest rust for win9x may be it will make. |
I have to switch to plain EWDK's |
Hell yes cmake unnecessary rely on msbiuld or unnecessary itself - modern fashion. |
@Feodor2 and x64 rust's libstd can't link:
|
Hmm.... did not get this. Do you use the same ewdk and llvm as i? |
it didn't even get pass stage1, and I can build x86-32 rustc.exe only |
This all mess about the rust lib so if you will not resolve the error preserve x86 lib then comment that code or cancel patch at all. |
@Feodor2 please tell us how to compile mypal68, i.e. using which MSVC compiler (or EWDK), which version of
rustc
andmozilla-build
.The text was updated successfully, but these errors were encountered: