Re: I would like to build a gcc that don's search /lib and /usr/lib when compiling others.

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

 



duanxun <duanxun@xxxxxxxxxxxx> 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@xxxxxxxxxx> 写道:
>
>> 发件人: Ian Lance Taylor <iant@xxxxxxxxxx>
>> 主题: Re: I would like to build a gcc that don's search /lib and /usr/lib when compiling others.
>> 收件人: duanxun@xxxxxxxxxxxx
>> 抄送: gcc-help@xxxxxxxxxxx
>> 日期: 2009年3月25日,周三,上午1:18
>> duanxun <duanxun@xxxxxxxxxxxx>
>> 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 of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux