Re: checking for suffix of object files failed when build gcc4.3.2 in ubuntu

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks.

I have solved the problem.  The reason why i encounter the error is I
seted  the wrong configure options.

On Tue, Oct 7, 2008 at 10:52 PM, Eus <eus@xxxxxxxxxxxxxx> wrote:
> Hi Ho!
>
> On Sunday, October 5, 2008, "simon Ye" <kuangye19840410@xxxxxxxxx> wrote:
>
>> checking for suffix of object files failed when build gcc4.3.2 in ubuntu
>>
>> Hi, all.
>> I am a newbie to ubuntu and gcc.
>> When I tried to build gcc4.3.2, I encountered the following compilation error:
>> .....
>> Checking multilib configuration for libgcc...
>> Configuring stage 1 in i686-pc-linux-gnu/libgcc
>> configure: loading cache ./config.cache
>> checking for --enable-version-specific-runtime-libs... no
>> checking for a BSD-compatible install... /usr/bin/install -c
>> checking for gawk... gawk
>> checking build system type... i686-pc-linux-gnu
>> checking host system type... i686-pc-linux-gnu
>> checking for i686-pc-linux-gnu-ar... ar
>> checking for i686-pc-linux-gnu-lipo... lipo
>> checking for i686-pc-linux-gnu-nm... /home/simon/gcc/gcc-4.3.2/objdir/./gcc/nm
>> checking for i686-pc-linux-gnu-ranlib... ranlib
>> checking for i686-pc-linux-gnu-strip... strip
>> checking whether ln -s works... yes
>> checking for i686-pc-linux-gnu-gcc...
>> /home/simon/gcc/gcc-4.3.2/objdir/./gcc/xgcc
>> -B/home/simon/gcc/gcc-4.3.2/objdir/./gcc/
>> -B/usr/local/gcc-4.3.2/i686-pc-linux-gnu/bin/
>> -B/usr/local/gcc-4.3.2/i686-pc-linux-gnu/lib/ -isystem
>> /usr/local/gcc-4.3.2/i686-pc-linux-gnu/include -isystem
>> /usr/local/gcc-4.3.2/i686-pc-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.
>
> Go to /home/simon/gcc/gcc-4.3.2/objdir/./gcc/xgcc and open the `config.log' there for more details.
>
>> make[2]: *** [configure-stage1-target-libgcc] Error 1
>> make[2]: Leaving directory `/home/simon/gcc/gcc-4.3.2/objdir'
>> make[1]: *** [stage1-bubble] Error 2
>> make[1]: Leaving directory `/home/simon/gcc/gcc-4.3.2/objdir'
>> make: *** [all] Error 2
>> -----------------
>>
>> Is there anybody encountering the error too.
>
> Here I modified a bit what Brian Dessent has ever written before:
> http://www.google.com/search?q=site%3Agcc.gnu.org+inurl%3Aml+inurl%3A%22gcc-help%22+%22compute suffix of object files%22
>
>> Any hint to solve this problem is appreciated.
>
> It depends on what is written on your /home/simon/gcc/gcc-4.3.2/objdir/./gcc/xgcc/config.log
>
> Your search with Google should give you an answer in case the same problem as reported in your `config.log' has ever been encountered before.
>
> Best regards,
> Eus
>
>
>
>



-- 
miss you!

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux