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: I would like to build a gcc that don's search /lib and /usr/lib when compiling others.


duanxun <duanxun@yahoo.com.cn> writes:

> I tried to using --target=i686-pc-linux-gnu --host=i586-pc-linux-gnu

Don't use --host without also using --build.  I didn't spell it out, but
I recommended using either --target, or specifying all of --host,
--target, and --build.  Using --host without --build gets you into
trouble, because autoconf decides that you are doing a Canadian Cross.

Ian

> --- 09å3æ25æïåä, Ian Lance Taylor <iant@google.com> åéï
>
>> åää: Ian Lance Taylor <iant@google.com>
>> äé: Re: I would like to build a gcc that don's search /lib and /usr/lib when compiling others.
>> æää: duanxun@yahoo.com.cn
>> æé: gcc-help@gcc.gnu.org
>> ææ: 2009å3æ25æ,åä,äå1:18
>> duanxun <duanxun@yahoo.com.cn>
>> writes:
>> 
>> > When passing --target option: i686-pc-linux-gnu, this
>> macro will not be defined, Because my pc is the same.
>> 
>> So, pass something else, e.g., --target=i386-pc-linux-gnu
>> . Or use
>> explicit --build, --host and --target options, and make
>> --build and
>> --host the same but --target different.
>> 
>> Ian
>> 
>
>
>       ___________________________________________________________ 
>   åçèåçäåïéçèååæäçï 
> http://card.mail.cn.yahoo.com/


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