Skip to content
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

Make configure.bat work with VC9 #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

guysoft
Copy link

@guysoft guysoft commented Aug 12, 2014

%PROCESSOR_ARCHITECTURE% is not defined in VC9

@weltling
Copy link
Contributor

I'm running this in a pure cmd

"C:\Program Files\Microsoft SDKs\Windows\v6.1\Bin\SetEnv.Cmd" /debug /x86 /xp
and then can see both

CPU=i386
PROCESSOR_ARCHITECTURE=AMD64

so looks like it's set. On the other hand, CPU is set to i386 but not x86, so that wouldn't catch.

But i also have to mention we're in 2.6.0 mpir release and that's what we use for VC11, but 2.5.1 for VC9. There are also no build scripts for VC9 in the distro, or have you back ported the VS projects?

@guysoft
Copy link
Author

guysoft commented Aug 12, 2014

Hey,
So two things.

  1. I am using SDK 7.0.
  2. It fails for me now on VC11 as well.

It seems to me that making the configure script depend on an environment variable, that the builder can't set is bad practice.
You are setting --cpu x86 which you require in the docs anyway, then that should be sufficient.

@pierrejoye
Copy link

Do you call it from a SDK console?
On Aug 12, 2014 5:27 PM, "Guy Sheffer" [email protected] wrote:

Hey,
So two things.

  1. I am using SDK 7.0.
  2. It fails for me now on VC11 as well.

It seems to me that making the configure script depend on an environment
variable, that the builder can't set is bad practice.
You are setting --cpu x686 which you require in the docs anyway, then
that should be sufficient.


Reply to this email directly or view it on GitHub
#1 (comment).

@weltling
Copy link
Contributor

Guy,

I'm not sure why you even need that file. It's actually

cd build.vc11
prebuild gc win32
devenv mpir.sln /build "Release|Win32" /project dll_mpir_gc

or open the sln directly. What do i miss?

@guysoft
Copy link
Author

guysoft commented Aug 19, 2014

@weltling I use it here to build. seems to work. Both for VC9 and VC11. So works for me. I guess I can try your way when I get to it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants