This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 237862

Summary: C++ Compiles Successfully but does not execute see [Bug 237722]
Product: cnd Reporter: aschwarz1309 <aschwarz1309>
Component: executionAssignee: ilia
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 7.4   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:
Attachments: IDE log

Description aschwarz1309 2013-10-31 14:20:09 UTC
Product Version = NetBeans IDE 7.4 RC1 (Build 201309162201)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.7.0_40
Runtime = Java HotSpot(TM) 64-Bit Server VM 24.0-b56

The history of this issue is developed in [Bug 237722]
> 2: There is a residual issue with executing compiled code with other 
> than the default Cygwin toolset.
Please, file separate bug with steps to reproduce.

In changing from the default cygwin compiler to another cygwin compiler, the code builds successfully (after modifying C++ Compiler->Tools) but the loading or execution fails. See Comment 6 of [Bug 237722]. The error message "RUN FAILED (exit value 127, total time: 30ms)" does not give enough information to tell whether this is a load failure or an execution failure.

To replicate the problem:
1: Download the 64-bit compiler toolsets from www.cygwin.com
2: In Tools->Options->C/C++ ->Add add a compiler other than the default compiler.
3: (for a known project) go to Properties->Build->Tool Collection and change to the new compiler.
4: (for the same project) go to Properties->C++ ->Tools and change the linker (this need not be done for a C project).
5: Build and run.
Comment 1 aschwarz1309 2013-10-31 14:20:13 UTC
Created attachment 141746 [details]
IDE log