#373 Wrong platfrom detectioin on 64bit platform

closed-accepted
nobody
None
3
2011-02-13
2011-01-25
No

I am using a 32 bit version console2 lates build 2.0.147.
Doing echo %PROCESSOR_ARCHITECTURE% on console gives X86

and doing the same on cmd prompt on my windows server 2003 64bit gives AMD64. <----- THIS IS CORRECT.

This affects lots of bat scripts :(.

Also tried on 64bit version of console2 (available on someone blog) and result is the same?

If someone can identiy the rootcause, I can build the 64bit version...

Discussion

  • Kirill

    Kirill - 2011-02-13

    When you run 32-bit Console, you're also running 32-bit cmd.exe, which rightlfully proclaim itself as x86.

    When you run cmd.exe (from the Run...), it's 64-bit.

    I'm not sure about your statement "tried on 64bit version of console2 and result is the same"? If the result is AMD64 (same as plain cmd.exe), then it's correct. If the result is x86 (same as 32-bit Console), then I can't reproduce the bug because in 64-bit Console on Win7 I get AMD64.

     
  • Kirill

    Kirill - 2011-02-13
    • priority: 5 --> 3
    • status: open --> pending-invalid
     
  • satya bodapati

    satya bodapati - 2011-02-13

    I see. I might have used a improper 64bit build of console. If possible, can you plz provide 64 bit build too? ( or instructions to build would do)

     
  • satya bodapati

    satya bodapati - 2011-02-13
    • status: pending-invalid --> open-invalid
     
  • satya bodapati

    satya bodapati - 2011-02-13

    I see. I might have used a improper 64bit build of console. If possible, can you plz provide 64 bit build too? ( or instructions to build would do)

     
  • satya bodapati

    satya bodapati - 2011-02-13

    I see. I might have used a improper 64bit build of console. If possible, can you plz provide 64 bit build too? ( or instructions to build would do)

     
  • satya bodapati

    satya bodapati - 2011-02-13

    Sorry, I just realised that 64bit builds are available. Hence closing. thanks for looking into this.

     
  • satya bodapati

    satya bodapati - 2011-02-13
    • status: open-invalid --> closed-accepted
     

Log in to post a comment.