Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » U++ Developers corner » Windows XP64
Windows XP64 [message #9465] Wed, 09 May 2007 20:49 Go to next message
arturbac is currently offline  arturbac
Messages: 91
Registered: May 2007
Location: Reda, Poland
Member

I tried to build for Winx64 with MSVC8
I fight for 2h for compile my App with succes but
I canot link for x64 it shows me that target machine x86 conflicts with x64

Any suggestions ?

  • Attachment: MSC8x64.bm
    (Size: 1.07KB, Downloaded 307 times)
Re: Windows XP64 [message #9468 is a reply to message #9465] Thu, 10 May 2007 09:12 Go to previous messageGo to next message
fallingdutch is currently offline  fallingdutch
Messages: 258
Registered: July 2006
Experienced Member
I am Sorry but had to delete my x64 due to no support by siemens ... else i would like to check the problems here.


Bas
Re: Windows XP64 [message #9469 is a reply to message #9468] Thu, 10 May 2007 10:19 Go to previous messageGo to next message
arturbac is currently offline  arturbac
Messages: 91
Registered: May 2007
Location: Reda, Poland
Member

1)
There is a lot wrong size casts


C:\upp\uppsrc\Core/String.h(625) : warning C4244: 'argument' : conversion from '__int64' to 'int', possible loss of data
C:\upp\uppsrc\CtrlLib\LineEdit.cpp(231) : warning C4244: 'argument' : conversion from '__int64' to 'int', possible loss of data
C:\upp\uppsrc\CtrlLib\DocEdit.cpp(58) : warning C4244: 'argument' : conversion from '__int64' to 'const int', possible loss of data
but i can handle this

2) I had to correct many things in Core like assembler inlines
but i started from this
#ifdef PLATFORM_WIN32
#define DIR_SEP '\\'
#define DIR_SEPS "\\"
#define PLATFORM_PATH_HAS_CASE 0
#ifndef PLATFORM_WINCE
#include <io.h>
#endif
#ifndef PLATFORM_MFC // just mini Windows headers
#ifdef COMPILER_MSC
#ifndef CPU_ARM
#ifndef _AMD64_
#ifndef _X86_
#define _X86_
#endif
#endif

I have inserted here
#ifndef _AMD64_ before #define _X86_ and i added -D _AMD64_ to compilation flags

At the end of succesfull compilattion
Linking...
C:\upp\out\MapMaker\MSC8x64.Debug_full.Gui.Main\$blitz.obj : fatal error LNK1112: module machine type 'x64' conflicts with target machine
type 'X86'

There were errors. (0:23.85)

Is You can see earlier file i supplyed in configuration, paths to x64 linker and compiller
I think there is lack of support for x64 in msvcbuilder.cpp
and IDE tries to link for x86 with x64 linker or something

Any suggestions how i can build for WIN64 with AMD64

PS. You dont have to have x64 windows to build for it, just download PlatformSDk and use x86_64 croostools
Re: Windows XP64 [message #9470 is a reply to message #9468] Thu, 10 May 2007 15:22 Go to previous messageGo to next message
Ulti is currently offline  Ulti
Messages: 108
Registered: September 2006
Experienced Member
fallingdutch wrote on Thu, 10 May 2007 03:12

I am Sorry but had to delete my x64 due to no support by siemens ... else i would like to check the problems here.


Bas

SIEMENS guy?
I was a SIEMENS guy
Re: Windows XP64 [message #9471 is a reply to message #9465] Thu, 10 May 2007 15:24 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
arturbac wrote on Wed, 09 May 2007 14:49

I tried to build for Winx64 with MSVC8
I fight for 2h for compile my App with succes but
I canot link for x64 it shows me that target machine x86 conflicts with x64

Any suggestions ?




Hi,

It is great to hear this. I was planning this (Win64) support for some time but never really got to that. However, I believe it should be quite simple now, as it works in 64-bit Linux without problems.

I believe that solution to the problem will be the introduction of new "MSC8_64" builder with fixed linker options. I believe it should be possible for you to do this; for starters search for "MSC8ARM" in uppsrc, that will reveal all places where original "MSC8" builder had to be fixed to support PocketPC... (and then please report patches Smile

Mirek
Re: Windows XP64 [message #9472 is a reply to message #9471] Thu, 10 May 2007 18:22 Go to previous messageGo to next message
arturbac is currently offline  arturbac
Messages: 91
Registered: May 2007
Location: Reda, Poland
Member

MapMaker: 20 file(s) built in (0:11.07), 553 msecs / file, duration = 15562 msecs, parallelization 99%
Linking...
C:\upp\out\MSC8x64.Debug_full.Gui\MapMaker.exe (5278720 B) linked in (0:09.40)

OK. (0:21.93)

Thanks for Help
works Smile

Could You include changes in future releases of TheIde ?
Re: Windows XP64 [message #9474 is a reply to message #9472] Thu, 10 May 2007 20:54 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Ide hopefully fixed (but you have used somewhat older version, so I hope I have merged it OK).

I will have to download x64 compiler soon to fix the rest.

Thanks.
Re: Windows XP64 [message #9476 is a reply to message #9470] Thu, 10 May 2007 23:43 Go to previous message
fallingdutch is currently offline  fallingdutch
Messages: 258
Registered: July 2006
Experienced Member
Ulti wrote on Thu, 10 May 2007 15:22

SIEMENS guy?
I was a SIEMENS guy


No, thank god not,

just need their Software,

Bas
Previous Topic: Socket review and reimplementation
Next Topic: Speaking about Mac OS X Carbon...
Goto Forum:
  


Current Time: Fri Mar 29 06:16:53 CET 2024

Total time taken to generate the page: 0.01643 seconds