Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8543457
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T12:18:22+00:00 2026-06-11T12:18:22+00:00

I work in Linux with c++, using eclipse. But i have worked with Visual

  • 0

I work in Linux with c++, using eclipse. But i have worked with Visual Studio too. They haven’t got (or at least I don´t know how to do it) a button to relink a project.

Example:

I have a big project (1), with hundreds of cpp. That project uses a small library (2) to do foo. If I change foo behavior, and compile it, generating a library, I need to clean the big proyect (1), re-compile, that links the external libraries (2) and works.

The problem is the big project doesn’t change, but with hundreds of cpps, its compile time is about 5 min. 5 min is a small change in a second library.

Is possible to avoid this problem?

Thanks in advance

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T12:18:23+00:00Added an answer on June 11, 2026 at 12:18 pm

    You would generally use make with a makefile for this.

    With this method, you can generate your own rules for building code, including bypassing compilation of lots of source files if you only thing needed is relinking.

    For example, the makefile:

    prog: main.o other.o makefile
        gcc -o prog main.o other.o
    
    main.o: main.c makefile
        gcc -c -o main.o main.c
    
    other.o: other.c makefile
        gcc -c -o other.o other.c
    

    would not recompile main.c if the only file you changed was other.c. It would simply compile other.c to make other.o, then link other.o and main.o together to create prog.

    That’s generally how it’s done in the “command line” world. It’s likely that it’s also how it’s done behind the curtains in many IDEs as well, just hidden from you.

    What you’ll need to find out is why the dependency checking is not working as expected. Without further information on how your project is set up, it’s a little hard to be definitive.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have eclipse 3.7.2 to work on PHP projects that are on remote Linux
I have a project being ported to work on Linux under Mono. The project
I have a python program that must work on Windows and Linux. There are
I have a set of changes which work perfectly against a certain linux version,
I have been using eclipse-pdt in conjunction with xdebug and apache without problems, for
I am using GNU/Linux (Ubuntu + Gnome). I have been using netbeans on windows
I use Linux as primary operating system and I also have to work on
I realize that there have been similar questions, but they seem to have been
So far I have been able to compile my Java programs in Linux using
I'm using Eclipse CDT on Linux. My F5 / F6 / F7 / F8

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.