Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Run: Program not a recognized executable.

Hi Christina,

You may want to take a look on the following bug:

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

Alain had commented on the similar issue:

 ------- Additional Comment #1 From Alain Magloire  2005-03-20 17:52 
[reply] -------

You have to choose the right binary parser.

Go in the project property choose
Make project --> and in the tab Binary Parser
choose :
"PE binary parser"
or
"Cygwin PE binary parser"



Thanks,
sumit

On 5/26/05, Christina Han <milkwayboat@xxxxxxxxx> wrote:
> Sorry if this is a stupid question. But I realized tried what i can
> and it still doesn't work.
> it is only a helloworld function. Here is the make file. I tried to
> run it in Eclipse and set the "main.exe" as the c/c++ application. but
> it only throws out the following errors:
> can anybody tell me why?
> Thanks for your information!
> 
> makefile:
> main:main.o
>         g++ -o main main.o -L C:/MinGW/lib/gcc-lib/mingw32/3.2.3/ -lstdc++
> main.o:main.c
>         g++ -ggdb -c main.c
> all:
>         ${MAKE} main
> clean:
>         -del main.o
> 
> Errors:
> Program not a recognized executable.
> java.io.FileNotFoundException: Program not Binary
> org.eclipse.cdt.launch.AbstractCLaunchDelegate.verifyBinary(AbstractCLaunchDelegate.java:747)
> org.eclipse.cdt.launch.internal.LocalRunLaunchDelegate.launch(LocalRunLaunchDelegate.java:59)
> org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:569)
> org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:788)
> org.eclipse.debug.internal.ui.DebugUIPlugin$6.run(DebugUIPlugin.java:955)
> org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)
>   Program not Binary
> java.io.FileNotFoundException: Program not Binary
> org.eclipse.cdt.launch.AbstractCLaunchDelegate.verifyBinary(AbstractCLaunchDelegate.java:747)
> org.eclipse.cdt.launch.internal.LocalRunLaunchDelegate.launch(LocalRunLaunchDelegate.java:59)
> org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:569)
> org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:788)
> org.eclipse.debug.internal.ui.DebugUIPlugin$6.run(DebugUIPlugin.java:955)
> org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/cdt-dev
>


Back to the top