[OpenWrt-Users] error: C compiler cannot create executables

Jim Redman jredman at ergotech.com
Tue Mar 25 13:57:16 CET 2008


Georg,

Georg Lippold wrote:
> Jim Redman wrote:
>> I may have some more insight into this problem.
>> configure:2229: error: C compiler cannot create executables
>>
>> So, it seems that the problem is that the option '-Qy' is not understood 
>> by as.  I've been fighting this same problem all day building Angstrom. 
>>   No solution there, only a work-around.
>>
>> Anyone have any suggestions as to how to solve this?
> Pick one:
> 
> [ ] Contact RedHat support
> [ ] Compile gcc from scratch
> [ ] Install different linux distribution (works for me with Gentoo)

Interesting suggestions...

Since the complaint is about armeb-linux-uclibc-as:

/tmp/openwrt/trunk/staging_dir/toolchain-armeb_gcc4.1.2/bin/armeb-linux-uclibc-as: 
unrecognized option `-Qy'

I'm wondering why you would think that this is a RedHat problem, or a 
problem with the distro that I'm running.  Is there some connection 
between the options accepted by armeb-linux-uclibc-as and the tools of 
the OS?

armeb-linux-uclibc-as was (presumably) built as part of this toolchain, 
which involves a whole gcc compile.

FC8 would seem to be a pretty mainstream distro.  I could play distro 
bingo and go through options, but that doesn't seem to be the best way 
to solve a build problem.

Thanks,

Jim

-- 
Jim Redman
(505) 662 5156 x85
http://www.ergotech.com


More information about the openwrt-users mailing list