Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Windows 64Bit: Program is not a recognized executable
Windows 64Bit: Program is not a recognized executable [message #209338] Thu, 07 February 2008 05:39 Go to next message
Eclipse UserFriend
Originally posted by: marco.pesarese.sap.com

Hello,

I am trying to create under Eclipse CDT in a Windows XP 64 Bit environment
a new debugging session "C/C++ Attach to Local Application". The .exe file
I am attaching to is a 64 Bit executable. This does not work, I get the
error

"Program is not a recognized executable."

I have already switched the binary parser to "PE Windows Parser" (which is
the only active one).

Does anybody have an idea how I can get this working? Thanks a lot in
advance!

Best regards,
Marco
Re: Windows 64Bit: Program is not a recognized executable [message #209362 is a reply to message #209338] Thu, 07 February 2008 10:20 Go to previous messageGo to next message
Eclipse UserFriend
Marco Pesarese wrote:
> Hello,
>
> I am trying to create under Eclipse CDT in a Windows XP 64 Bit
> environment a new debugging session "C/C++ Attach to Local Application".
> The .exe file I am attaching to is a 64 Bit executable. This does not
> work, I get the error
>
> "Program is not a recognized executable."
>
> I have already switched the binary parser to "PE Windows Parser" (which
> is the only active one).
>
> Does anybody have an idea how I can get this working? Thanks a lot in
> advance!
>
> Best regards,
> Marco
>
>

I don't think the binary parser supports 64-bit yet unfortunately. You
might have to hack it to just look at the file extension and declare all
.exe files as binaries, although if you do this some of the debugging
features will still likely not work properly.

--
Chris Recoskie
Team Lead, IBM CDT Team
IBM Toronto
http://www.eclipse.org/cdt
Re: Windows 64Bit: Program is not a recognized executable [message #226619 is a reply to message #209362] Tue, 11 November 2008 04:33 Go to previous messageGo to next message
Eclipse UserFriend
Hi:
I'm curious how to run CDT on win64, too

It's quite a big big big challange to fix the issue described below (It
seems that CDT is using XOFFParser instead of PEParser to analyse ".exe"
files on win64)

Any information?

Thanks

Regards
Charlie

"Chris Recoskie" <recoskie@ca.ibm.com> wrote in message
news:fof7kk$ss3$1@build.eclipse.org...
> Marco Pesarese wrote:
>> Hello,
>>
>> I am trying to create under Eclipse CDT in a Windows XP 64 Bit
>> environment a new debugging session "C/C++ Attach to Local Application".
>> The .exe file I am attaching to is a 64 Bit executable. This does not
>> work, I get the error
>>
>> "Program is not a recognized executable."
>>
>> I have already switched the binary parser to "PE Windows Parser" (which
>> is the only active one).
>>
>> Does anybody have an idea how I can get this working? Thanks a lot in
>> advance!
>>
>> Best regards,
>> Marco
>>
>>
>
> I don't think the binary parser supports 64-bit yet unfortunately. You
> might have to hack it to just look at the file extension and declare all
> .exe files as binaries, although if you do this some of the debugging
> features will still likely not work properly.
>
> --
> Chris Recoskie
> Team Lead, IBM CDT Team
> IBM Toronto
> http://www.eclipse.org/cdt
Re: Windows 64Bit: Program is not a recognized executable [message #226649 is a reply to message #226619] Wed, 12 November 2008 03:28 Go to previous messageGo to next message
Eclipse UserFriend
See also

https://bugs.eclipse.org/bugs/show_bug.cgi?id=235019

Cheers,
Toni

xing yun wrote:
> Hi:
> I'm curious how to run CDT on win64, too
>
> It's quite a big big big challange to fix the issue described below (It
> seems that CDT is using XOFFParser instead of PEParser to analyse ".exe"
> files on win64)
>
> Any information?
>
> Thanks
>
> Regards
> Charlie
>
> "Chris Recoskie" <recoskie@ca.ibm.com> wrote in message
> news:fof7kk$ss3$1@build.eclipse.org...
>> Marco Pesarese wrote:
>>> Hello,
>>>
>>> I am trying to create under Eclipse CDT in a Windows XP 64 Bit
>>> environment a new debugging session "C/C++ Attach to Local Application".
>>> The .exe file I am attaching to is a 64 Bit executable. This does not
>>> work, I get the error
>>>
>>> "Program is not a recognized executable."
>>>
>>> I have already switched the binary parser to "PE Windows Parser" (which
>>> is the only active one).
>>>
>>> Does anybody have an idea how I can get this working? Thanks a lot in
>>> advance!
>>>
>>> Best regards,
>>> Marco
>>>
>>>
>> I don't think the binary parser supports 64-bit yet unfortunately. You
>> might have to hack it to just look at the file extension and declare all
>> .exe files as binaries, although if you do this some of the debugging
>> features will still likely not work properly.
>>
>> --
>> Chris Recoskie
>> Team Lead, IBM CDT Team
>> IBM Toronto
>> http://www.eclipse.org/cdt
>
>


--
Anton Leherbauer
Wind River Systems, Austria
CDT Committer - http://www.eclipse.org/cdt
DSDP/DD Committer - http://www.eclipse.org/dsdp/dd
Re: Windows 64Bit: Program is not a recognized executable [message #226673 is a reply to message #226649] Wed, 12 November 2008 04:11 Go to previous message
Eclipse UserFriend
Got it
Thanks

Xing Yun
"Anton Leherbauer" <anton.leherbauer@windriver.com> wrote in message
news:gfe43f$m6u$1@build.eclipse.org...
> See also
>
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=235019
>
> Cheers,
> Toni
>
> xing yun wrote:
>> Hi:
>> I'm curious how to run CDT on win64, too
>>
>> It's quite a big big big challange to fix the issue described below
>> (It seems that CDT is using XOFFParser instead of PEParser to analyse
>> ".exe" files on win64)
>>
>> Any information?
>>
>> Thanks
>>
>> Regards
>> Charlie
>>
>> "Chris Recoskie" <recoskie@ca.ibm.com> wrote in message
>> news:fof7kk$ss3$1@build.eclipse.org...
>>> Marco Pesarese wrote:
>>>> Hello,
>>>>
>>>> I am trying to create under Eclipse CDT in a Windows XP 64 Bit
>>>> environment a new debugging session "C/C++ Attach to Local
>>>> Application". The .exe file I am attaching to is a 64 Bit executable.
>>>> This does not work, I get the error
>>>>
>>>> "Program is not a recognized executable."
>>>>
>>>> I have already switched the binary parser to "PE Windows Parser" (which
>>>> is the only active one).
>>>>
>>>> Does anybody have an idea how I can get this working? Thanks a lot in
>>>> advance!
>>>>
>>>> Best regards,
>>>> Marco
>>>>
>>>>
>>> I don't think the binary parser supports 64-bit yet unfortunately. You
>>> might have to hack it to just look at the file extension and declare all
>>> .exe files as binaries, although if you do this some of the debugging
>>> features will still likely not work properly.
>>>
>>> --
>>> Chris Recoskie
>>> Team Lead, IBM CDT Team
>>> IBM Toronto
>>> http://www.eclipse.org/cdt
>>
>>
>
>
> --
> Anton Leherbauer
> Wind River Systems, Austria
> CDT Committer - http://www.eclipse.org/cdt
> DSDP/DD Committer - http://www.eclipse.org/dsdp/dd
Previous Topic:CDT and Java projects
Next Topic:Delete old Includes from CDT project
Goto Forum:
  


Current Time: Tue May 13 23:28:26 EDT 2025

Powered by FUDForum. Page generated in 0.03825 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top