Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Relaunch of 'product based eclipse' workspace is getting building every time

Hi Austin,

We have integrated a custom toolchain (GNU based) and projects are using the MBS/external make builder. We notice that everytime Eclipse is closed/re-opened, the following files are re-generated: 
makefile, 
objects.mk, 
sources.mk and 
subdir.mk. 

They have identical contents as they originally had. It looks like the following things happen: 
    1. The makefiles listed above are regenerated. 
    2. The final target .x is deleted, and make all is called again. 

I'm seeing that only the linker is called again.

More info:
When we perform the build and try to re-build the same again. "Nothing to be build" message will be displayed. However, the above listed make files will be regenerated with identical contents with updated timestamp.

Thanks
Hari

-----Original Message-----
From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Austin Morgan
Sent: Monday, September 06, 2010 9:01 PM
To: CDT General developers list.
Subject: Re: [cdt-dev] Relaunch of 'product based eclipse' workspace is getting building every time

It will also do a full rebuild if the makefile is newer than the
binaries.  Therefore if you have something in your project that can
change the timestamp on the makefile then it will rebuild your project.

On Mon, Sep 06, 2010 at 04:48:55PM +0530, HariBabu M wrote:
> Hi,
> 
> I am having an issue with my eclipse based product.
> 
> Every time the project inside my workspace is getting build upon relaunch, even though they are already built.
> 
> As per my understanding to rebuild a project, make file will understand the timestamp and decides to build if timestamp changes. However, I have observer that none of the files timestamps got change before I close the workspace and after I opened the workspace.
> 
> Thanks in advance
> -Haribabu
> 

> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/cdt-dev

_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev




Back to the top