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 182164 - mingw compilation takes too long
Summary: mingw compilation takes too long
Status: RESOLVED INCOMPLETE
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: PC Windows 7 x64
: P3 normal (vote)
Assignee: Andrew Krasny
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2010-03-17 03:02 UTC by normad
Modified: 2011-08-24 15:41 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description normad 2010-03-17 03:02:11 UTC
im used to developing java application using netbeans and when i had to use c for my uni work i installed the c/c++ plugin with mingw and msys instead of visual studio so that i can stick to one ide.. but most of the simple programs im working on ryt now takes long to run.. when compared to visual studio..
as in they both compile in the same time but when the shell executes it takes about 10 to 15 seconds for the application to start running.. for that 10-15 seconds you can only see the empty command window.. 

my machine is an i5 with 4gig ram so i dont think its something wrong with hardware.. please help me get over this.. because id really really like to stick to netbeans for c development aswell..
im using netbeans 6.8 with the latest version of mingw and msys

im not sure if this is a bug but i thought this is the best place for help :)

thanks in advance
Comment 1 Vladimir Voskresensky 2010-03-17 05:21:52 UTC
can you try following step:
in context menu of project Properties->Run->Console Type choose "Ouput Window"
Comment 2 normad 2010-03-17 08:55:47 UTC
nope that doesnt work. the project builds successfully but nothing appears on the output window. i waited for about 2 minutes and still nothing. i tried for two of my unrelated projects with the same result. when i tried cygwin before this i experienced the same problem. could this be something to do with cygwin,mingw problem with windows 7? im running windows7 x64. why hasnt netbeans embedded a compiler to the c plugin? i had to go through so much trouble to set up cygwin and mingw. shall i try with a different compiler? or could this be anything wrong with my programs?
Comment 3 Andrew Krasny 2010-05-04 09:32:00 UTC
normand, 

First question - do you still have this problem?

As far as I understand, you don't need to use any specific compiler, so I would suggest to use gcc from cygwin. In this case you don't need to install msys at all... 

Before starting a program, try to uncheck 'show profiling indicators during run' property checkbox in project's properties ('Profile' section)..
Comment 4 normad 2010-05-04 10:36:14 UTC
(In reply to comment #3)
> normand, 
> 
> First question - do you still have this problem?
> 
> As far as I understand, you don't need to use any specific compiler, so I would
> suggest to use gcc from cygwin. In this case you don't need to install msys at
> all... 
> 
> Before starting a program, try to uncheck 'show profiling indicators during
> run' property checkbox in project's properties ('Profile' section)..

yups.. i still have the problem.. and i had the same problem when i worked on cygwin aswell.. its there only for certain programs aswell.. although i couldnt isolate a particular property with the program..
ill try changing the profiling indicators thing..
am i the only one having this problem?
Comment 5 Andrew Krasny 2010-05-04 11:49:24 UTC
Hi again, normad.

> am i the only one having this problem?

Well.. I have not got this feedback from others.. 
Could you share one of that 'certain programs' with me? I'll try to reproduce the problem here then...
Comment 6 Alexander Simon 2011-08-24 15:41:28 UTC
no user response.