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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T02:04:27+00:00 2026-06-10T02:04:27+00:00

I am cross-compiling gettext-0.18.2 for Windows but running into some problems. During the linking

  • 0

I am cross-compiling gettext-0.18.2 for Windows but running into some problems. During the linking stages of one of the shared libraries, libtool gives me the following error message:

/bin/bash ../libtool --tag=CXX ...
libtool: link: unsupported hardcode properties
libtool: link: See the libtool documentation for more information.
libtool: link: Fatal configuration error.

You can see the full build log including the libtool command here (the error is at the very bottom of the page).

What would cause this error and what does it mean? I can’t seem to find any information about this error in the documentation, despite the claim in the error message.

Also of note: the thing that really makes this weird is that the build succeeded without error on Ubuntu 12.10 (Quantal)… but it’s failing on Ubuntu 12.04, the current LTS release.


Additional: I did a diff of the line invoking libtool between the build that succeeded and the build that failed. The diff looks something like this:

enter image description here

So apparently the C++ compiler is being omitted from the command. Could this cause the above error?

  • 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-10T02:04:29+00:00Added an answer on June 10, 2026 at 2:04 am

    Aha!

    The problem turned out to be extremely subtle. The mingw-w64 Install mingw-w64 package in Ubuntu 12.10 (Quantal) lists g++-mingw-w64 Install g++-mingw-w64 as a dependency – but this is not the case in Ubuntu 12.04 (Precise). So all I needed to do was to specify g++-mingw-w64 as a build dependency.

    The reason for the actual error message above was because the configure script couldn’t find the C++ compiler for the cross-compiler toolchain:

    Quantal:

    checking for g++... i686-w64-mingw32-g++
    checking whether the C++ compiler (...) works... yes
    

    Precise:

    checking for g++... i686-w64-mingw32-g++
    checking whether the C++ compiler (...) works... no
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm cross-compiling some C code for Windows 7 and linking to libpng12.dll found here
I'm cross-compiling an application, but linking blows up with an error that it cannot
I'm cross-compiling kernel modules and some libraries on x86 for ppc. Is it possible
Clarification When I mention cross compiling I mean from one language to another (think
my program compiles and runs fine under Linux. Cross-compiling it for Windows also is
I need to cross-compile some C/C++ library. The library depends on several C/C++ libraries.
Is there a manual for cross-compiling a C++ application from Linux to Windows? Just
I've made some cross-compiling in the past and I’ve always wondered what the --target
I'm trying to get a working cross-compiler running under Linux (Debian squeeze amd64) but
I have some basic knowledge about compiling C but need to get a couple

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.