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 759763
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T15:38:11+00:00 2026-05-14T15:38:11+00:00

I am an old Unix guy who is converting a makefile based project over

  • 0

I am an old Unix guy who is converting a makefile based project over to Microsoft Visual Studio, I got tasked with this because I understand the Makefile which chokes VS’s automatic import tools. I am sure there is a better way than what I am doing but we are making things fit into the customer’s environment and that is driving my choices. So gmake is not a valid answer, even if it is the right one 😉

I just have a couple of questions on terminology that I think will be easy for an experienced (or junior) user to answer.

Presently, a make all will generate several executables and a shared library. How should I structure this? Is it one “solution” with multiple projects? There is a body of common code (say 50%) that is shared between the various executable targets that is not in a formal library, if that matters.

I thought I could just set up the first executable and then add targets for the others, but that does not seem to work. I know I am working against the tool, so what is the right way?

I am also using Visual C++ 2010 Express to try and do this so that may also be a problem if support for multiple targets is not supported without using Visual C++ 2010 (insert superlative).

Thanks, this is really one of those questions that should be answerable by a quick chat with the resident Windows Developer at the water cooler. So, I am asking at the virtual water cooler, I’ll also spring for a virtual frosty beverage after work.

  • 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-05-14T15:38:11+00:00Added an answer on May 14, 2026 at 3:38 pm

    Visual Studio is in many ways concerned with outputs. In general it expects for a 1-1 mapping between projects and binary outputs (DLL’s, EXE’s, shared libs, etc …). Hence the best way to format your solution structure is to create one project per output.

    So

    • One project for the shared lib
    • One project for each of the executables

    Assuming the executables link against the shared lib, you’ll want to configure the build order to have the shared lib build first and the executables afterwards. This can be done by right clicking on the solution file and selecting “Build Configuration”. Also available under the build menu.

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

Sidebar

Related Questions

I'm working on converting an old C program (currently run on UNIX) into our
I am trying to hack an old unix kernel. I just want to implement
The old DEC Tru64 UNIX debugger had a feature (called watchpoints to monitor variables)
We're using an old application that stores dates in C / Unix format. C
I have inherited a 20-year-old interactive command-line unix application that is no longer supported
I was reading this article today on two different regular expression algorithms. According to
I write cross-platform software, so I like my Windows environment to be Un*x-like (I'm
What are the pros and cons of using a file for interprocess communication? Let
In the course of asking about catching 'divide by 0' exception, I found that

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.