Re: Modify GCC libraries path

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

 



stl <st.lambert02@xxxxxxxxx> writes:

> I would like to know if I can modify the path where GCC expects to
> find libraries,
> notably libraries from standard libc?
> If so, where should I change this path?

You can use a -L option on the command line.  You can use a shell script
to pass those -L options by default.  You can set the environment
variable LIBRARY_PATH.

If you really want to modify gcc itself, see gcc/cppdefault.c.

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