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 try to build a new gcc that do not search the library path: /usr/lib and /lib 
> That means I when I run: gcc --print-search-dirs. 
> The libraries show no path. 
>
> But I don’t know how to config it. 
> Version: 4.3.3 
>
> Could you please help me? 

You could try building a cross compiler by passing a --target option to
configure.

Ian


[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