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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T01:41:21+00:00 2026-05-23T01:41:21+00:00

I am trying to compile gcc version gcc4.3.2 using gcc version 4.1.2 20080704 (Red

  • 0

I am trying to compile gcc version gcc4.3.2 using gcc version 4.1.2 20080704 (Red Hat 4.1.2-50) on a CentOS 5.5 os. Initially the compiler complained about needing gmp and mpfr libraries which were then downloaded, compiled and installed successfully.

After the installation, the new configure command that was used was:

../gcc4.3.2/gcc-4.3.2/configure –prefix=/home/shahw/gccdir/ –with-gmp=/usr/local/ –with-mpfr=/usr/local/

I now encounter the following error:

checking for x86_64-unknown-linux-gnu-strip... strip
checking whether ln -s works... yes
checking for x86_64-unknown-linux-gnu-gcc... /home/shahw/gccobj/./gcc/xgcc -
B/home/shahw/gccobj/./gcc/ -B/home/shahw/gccdir//x86_64-unknown-linux-gnu/bin/               
B/home/shahw/gccdir//x86_64-unknown-linux-gnu/lib/ -isystem /home/shahw/gccdir//x86_64-    
unknown-linux-gnu/include -isystem /home/shahw/gccdir//x86_64-unknown-linux-gnu/sys-include
checking for suffix of object files... configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
make[2]: *** [configure-stage1-target-libgcc] Error 1
make[2]: Leaving directory `/home/shahw/gccobj'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/home/shahw/gccobj'
make: *** [all] Error 2

config.log contains the following at the end:

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#endif
#ifdef __cplusplus
extern "C" void std::exit (int) throw (); using std::exit;

configure: exit 0

Any hint towards a potential solution would be greatly appreciated.

  • 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-23T01:41:22+00:00Added an answer on May 23, 2026 at 1:41 am

    Here is a link that seems good to start with:
    http://www.linuxquestions.org/questions/linux-from-scratch-13/why-cannot-compute-suffix-of-object-files-350753/

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

Sidebar

Related Questions

While trying to compile a 64 bit linux kernel using gcc, I see the
I'm getting a totally bizzare error trying to compile a C program using GCC.
I'm trying to make my project compile under GCC (Visual Studio compiles it flawlessly).
I am trying to compile my C program in Ubuntu 9.10 (gcc 4.4.1). I
I'm trying to compile the zpipe.c example in my Linux(Ubuntu 8.04) with gcc, but
I'm trying to compile SDL_Image 1.2.10 with MinGW + MSys (gcc 4.5.0) on Windows,
Trying to use the RHEL5.3 GCC 4.3.2 compiler to build my software on that
I am trying to cross-compile GCC on Mac OS 10.5.7. I used this command
I'm just trying to compile the hello world example of boost.python WITHOUT using all
I recently updated to a new version of the GNAT compiler.. I am trying

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.