This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GCC 4.2 ARM build fails (Link tests are not allowed after GCC_NO_EXECUTABLES)


On Fri, Jun 15, 2007 at 04:55:25PM +0400, Sergey Stasishin wrote:
> 
> Hi, folks!
> 
> I've tried to build gcc 4.2 (snapshot 20070530) for ARM 920T platform on 
> i386, and got a next error, generated by libstdc++-v3:
> checking for ld that supports -Wl,--gc-sections... configure: error: 
> Link tests are not allowed after GCC_NO_EXECUTABLES.
> 
> I haven't any ideas, what is the reason of this....

   The reason is that the newly built compiler isn't able to link
executables. That's because the linker can't find the startup code or a
target library.

   In your case, you should have target header files and libraries
already, so use --sysroot to specify where they are.

   If you run into the same with a newlib target, look at
<URL:http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32154>.

-- 
Rask Ingemann Lambertsen


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]