Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 04-26-2012, 02:40 AM   #1
Registered: Sep 2011
Location: Las Vegas!
Distribution: Ubuntu n' Flavors, ReactOS, MINIX3, FreeDOS, Arch
Posts: 339

Rep: Reputation: Disabled
Link tests are not allowed after GCC_NO_EXECUTABLES!

This is honestly the farthest in the gcc build prosess I have gotten to in a while, but I'm still rosted.
Here ya go:
checking whether the /home/todd/lang/gcc-build/./gcc/xgcc -B/home/todd/lang/gcc-build/./gcc/ -B/usr/local/lang/i586-elf/bin/ -B/usr/local/lang/i586-elf/lib/ -isystem /usr/local/lang/i586-elf/include -isystem /usr/local/lang/i586-elf/sys-include    linker (/home/todd/lang/gcc-build/./gcc/collect-ld) supports shared libraries... yes
checking dynamic linker characteristics... no
checking how to hardcode library paths into programs... immediate
checking for shl_load... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES.
make[1]: *** [configure-target-libstdc++-v3] Error 1
make[1]: Leaving directory `/home/todd/lang/gcc-build'
make: *** [all] Error 2
Now the stuff I found On This On google was outdated and had no clear fix path.
Ubuntu 11.10 (12.04 Tomarrow!) AMD64
Building GCC 4.6.3 Cross Compileing To i586-elf (Like Ususal)
Binutils 2.22
--disable-shared and --disable-nls used on both configure scripts.
How can I clean up this mess?
Old 04-27-2012, 12:06 PM   #2
Registered: May 2002
Location: dracut MA
Distribution: Fedora, RHEL
Posts: 600

Rep: Reputation: 109Reputation: 109
Originally Posted by Zssfssz View Post
Building GCC 4.6.3 Cross Compileing To i586-elf (Like Ususal)
How can I clean up this mess?
First - why are you building i586? gcc that comes with ubuntu should have multilib support, and should produce 32-bit code via -m32?

Second - that error indicates that you didn't tell the compiler what platform it should be targeting. Without that information, the compiler will complain that it cannot link executables (which is the behavior you're seeing).

Third - Check out the linux from scratch documentation for information on building an i586 cross compiler


building, gcc

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Apache 2 error - symbolic link not allowed zedmelon Linux - Server 12 02-21-2016 11:35 AM
symbolic link not allowed or link target not accessible paullaubscher Linux - Newbie 4 03-10-2010 07:47 AM
Symbolic link not allowed when file is bigger then 4GB PowerChaos Linux - Server 11 02-24-2010 10:39 AM
error 403 Forbidden symbolic link not allowed vree13 Linux - Software 8 02-14-2008 09:58 PM
Symbolic link not allowed gambrinus777 Linux - Server 3 09-07-2007 07:16 AM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 08:26 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration