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: "cannot run C compiled programs" error


Hi,

Actually I have another clue. I'm getting the following errors earlier in
config.log, regarding unrecognised options -V and -qversion. But the
configure script keeps going?


configure:3028: /Users/anna/Documents/programs/GCC/GCC/build/./gcc/xgcc
-B/Users/anna/Documents/programs/GCC/GCC/build/./gcc/
-B/Users/anna/Documents/programs/GCC/GCC/install/i386-apple-darwin10.7.0/bin
/ 
-B/Users/anna/Documents/programs/GCC/GCC/install/i386-apple-darwin10.7.0/lib
/ -isystem 
/Users/anna/Documents/programs/GCC/GCC/install/i386-apple-darwin10.7.0/inclu
de -isystem 
/Users/anna/Documents/programs/GCC/GCC/install/i386-apple-darwin10.7.0/sys-i
nclude  -m64 -V >&5
xgcc: error: unrecognized option '-V'
xgcc: fatal error: no input files
compilation terminated.
configure:3039: $? = 1
configure:3028: /Users/anna/Documents/programs/GCC/GCC/build/./gcc/xgcc
-B/Users/anna/Documents/programs/GCC/GCC/build/./gcc/
-B/Users/anna/Documents/programs/GCC/GCC/install/i386-apple-darwin10.7.0/bin
/ 
-B/Users/anna/Documents/programs/GCC/GCC/install/i386-apple-darwin10.7.0/lib
/ -isystem 
/Users/anna/Documents/programs/GCC/GCC/install/i386-apple-darwin10.7.0/inclu
de -isystem 
/Users/anna/Documents/programs/GCC/GCC/install/i386-apple-darwin10.7.0/sys-i
nclude  -m64 -qversion >&5
xgcc: error: unrecognized option '-qversion'
xgcc: fatal error: no input files
compilation terminated.

Regards,
Anna


On 20/04/11 20/04/11 10:46 AM, "kevin diggs" <diggskevin38@gmail.com> wrote:

> Hi,
> 
> Sorry, I'm outta ideas.
> 
> If it were me I would grab binutils and build it. Then use the new one
> with the new compiler.
> 
> Building stuff is a total hoot. Even if it doesn't work you get the
> fun and excitement of building more stuff!
> 
> Either that or get some holy water. Put it in one of those plant
> sprayers. And give your "really old" macbook a light misting.
> 
> Good Luck! We're all counting on you!
> May the force be with you!
> <other campy movie lines here>
> 
> kevin


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