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 - C++ Compiles Successfully but does not execute see [Bug 237722]
Summary: C++ Compiles Successfully but does not execute see [Bug 237722]
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: execution (show other bugs)
Version: 7.4
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: ilia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-31 14:20 UTC by aschwarz1309
Modified: 2015-05-14 08:26 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (32.35 KB, text/plain)
2013-10-31 14:20 UTC, aschwarz1309
Details

Note You need to log in before you can comment on or make changes to this bug.
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