This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: I would like to build a gcc that don's search /lib and /usr/lib when compiling others.
- From: Ian Lance Taylor <iant at google dot com>
- To: duanxun at yahoo dot com dot cn
- Cc: gcc-help at gcc dot gnu dot org
- Date: Tue, 24 Mar 2009 10:18:52 -0700
- Subject: Re: I would like to build a gcc that don's search /lib and /usr/lib when compiling others.
- References: <563791.61156.qm@web15308.mail.cnb.yahoo.com>
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