All Forums |
Register |
Login |
Search |
Subscriptions |
My Profile |
Inbox |
Tool Warehouse |
FAQs |
Resources |
Help |
Member List |
Address Book |
Logout |
|
|
Sorry (-m64 support in GCC on Vista Beta 2)
|
Logged in as: Guest |
Users viewing this topic: none |
|
Login  |
|
|
Sorry (-m64 support in GCC on Vista Beta 2) - Jul. 5, '06, 4:01:46 AM
|
|
|
gbyers
Posts: 3
Joined: Jun. 3, '06,
Status: offline
|
The download page for the SUA Utilities for Vista B2 says that the release "enables 64-bit application development for SUA."
After downloading and installing all components of the AMD64 version on a copy of Vista B2 for X64, I found:
shell> gcc -m64 hello.c
cc1: sorry, unimplemented: 64-bit mode not compiled in
I'm at least as sorry about this as cc1 is ...
I this just a packaging problem, or does the phrase "enables 64-bit ... development" refer to something else, like the cl.exe frontend ?
|
|
|
RE: Sorry (-m64 support in GCC on Vista Beta 2) - Jul. 5, '06, 1:39:06 PM
|
|
|
Rodney
Posts: 3728
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
|
There is no 64-bit gcc support with SUA (R2 or Vista).
The 64-bit compiler to use is c89/cc that fronts for MSVC.
You need to get and install the 64-bit MSVC (by default, even on the 64-bit boxes)
the 32-bit gets installed. The 64-bit compiler is not available as a free download;
only the 32-bit MSVC is. Note that the X86/64-bit and the IA/64-bit are different
bundles from Microsoft.
|
|
|
RE: Sorry (-m64 support in GCC on Vista Beta 2) - Jul. 5, '06, 3:10:30 PM
|
|
|
gbyers
Posts: 3
Joined: Jun. 3, '06,
Status: offline
|
Thanks.
I imagine that there are lots of people wondering whether it'd be more expedient to port GCC and its toolchain to Win64 or to wait for someone else to do it. It sounds like waiting for such a port to appear as part of SUA would not be a good short term option.
|
|
|
RE: Sorry (-m64 support in GCC on Vista Beta 2) - Jul. 5, '06, 3:49:21 PM
|
|
|
Rodney
Posts: 3728
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
|
It's certainly a non-trivial task. It's weeks of fulltime work if you
know what you are doing (we checked with some experts over a year ago).
One of the MS developers responsed to this question a couple of weeks ago
here in the /Tools Forum (yup, they drop by occationally). The thread is
How to build 64-bit GCC on SUA?
where he wrote:
quote:
it is not an easy task. But I can tell you how it can be done.
1) First you need to port GNU Tool Chain.
2) This involves supporting libBFD to read and write PE32+
3) That will make the (1) possible.
4) Once you have the Tool chain ported, recompile your GCC with that.
Happy porting !! ( This is *NOT* as easy as it sounds though)
regards
Anu
|
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
|
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts |
|
|
|