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

  • Home
  • SEARCH
  • 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 170655
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T12:50:51+00:00 2026-05-11T12:50:51+00:00

I have a C++ static library that supports both x32 and x64 platforms. My

  • 0

I have a C++ static library that supports both x32 and x64 platforms.

My question is: should I name the .lib file different depending on which platform?

i.e. MyLib32.lib vs MyLib64.lib

Intel Math library and TBB handle this using folder name to differentiate between the 2 libraries instead.

i.e. x32\Math.lib vs x64\Math.lib

Is there a better way compared to the other?

I think explicitly naming the lib to correspond to the intended platform should be better? That way we dont depend on folder name and the lib is self-documenting.

  • 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. 2026-05-11T12:50:52+00:00Added an answer on May 11, 2026 at 12:50 pm

    Be nice to your users and add 32 or 64 to the end like you propose. It’s absolutely 100% clear what it means at first glance and you’ll never mix them up.

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

Sidebar

Related Questions

I was given an static library (.a extension file) that I have to use
I have a static C library that I can build with different compile time
I have a static library (let's call it S) that uses a category (NSData+Base64
I have a Visual Studio 2008 C++ project that outputs a static library and
gcc 4.5.1 Fedora 14 Linux I have this static library that was build from
I have been given a static library to work with that accepts arguments as
I have a static library that depends on some of the Apple frameworks though
I have created a static library following this link . But I am facing
I have a static C library (say mylib.a ) and I was wondering if
i have made my custom Static Library (.a) successfully. i have tested it in

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.