mingw-cross-env-list
[Top][All Lists]
Advanced

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

Re: [Mingw-cross-env-list] Problem compiling gcc


From: Information
Subject: Re: [Mingw-cross-env-list] Problem compiling gcc
Date: Wed, 2 Mar 2011 16:19:44 +0100
User-agent: KMail/1.13.5 (Linux/2.6.35-27-generic; KDE/4.5.1; i686; ; )

Hello Tony, 

I have found the solution to my problem, so I want to share it. 

Two packages were installed gcc-4.4 and gcc-4.5, and this causes the problem. 
I have removed gcc-4.5 and cleaned the PATH (by setting up a new user and 
compiling mingw-cross-env with that user), and everything compiles perfectly. 

Many thanks again for pointing the origin of the problem. 

Have a nice day,

  Marc

On Monday 14 February 2011 22:50:21 Tony Theodore wrote:
> On 15 February 2011 03:02, Information <address@hidden> wrote:
> > Hello Tony,
> >
> >> 1. do you have /usr/local/mingw-cross-env-2.18/usr/i686-pc-mingw32/bin
> >> in your PATH?
> >
> > My PATH starts with
> >
> >  /usr/local/mingw-cross-env/usr/bin:.:
> >
> > and in /usr/local/
> > there is the following link
> >   mingw-cross-env -> mingw-cross-env-2.18/
> >
> >> 2. is there a reason you're using /usr/local instead of your home 
directory?
> >
> > Well, this is probably an old habbit that keeps me from having any 
application
> > code developed by others in my own home directory.
> >
> >
> > However I just gave it a try with a cleaned PATH (no inclusion of
> > /usr/local/mingw-cross-env/usr/bin) and directly in my home directory.
> > Unfortunately, the "unrecognized option '-Qy'" error repeats itself.
> 
> Strange, the error:
> 
> /usr/local/mingw-cross-env-2.18-failed/usr/i686-pc-mingw32/bin/as:
> unrecognized option '-Qy'
> 
> looks like it's using the cross-assembler instead of the native one. I
> can't think of much else that would cause this.
> 
> Cheers,
> 
> Tony
> 
> 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]