# 00:32:48 |
smartin |
quits |
# 08:54:34 |
kyku |
joins #crosstool-ng |
# 08:55:33 |
kyku |
hello, what do I do to have lib/ and include/ from top-level installation prefix be used by gcc? |
# 10:08:30 |
y_morin |
joins #crosstool-ng |
# 10:23:49 |
kyku |
quits : Ping timeout: 248 seconds |
# 10:57:49 |
smartin |
joins #crosstool-ng |
# 12:09:11 |
smartin |
quits : Ping timeout: 245 seconds |
# 12:24:58 |
smartin |
joins #crosstool-ng |
# 12:39:10 |
smartin_ |
joins #crosstool-ng |
# 12:40:01 |
smartin |
quits : Ping timeout: 245 seconds |
# 13:10:20 |
kyku |
joins #crosstool-ng |
# 13:20:36 |
smartin_ |
is now known as: smartin |
# 13:24:47 |
kyku |
hello, what do I do to have lib/ and include/ from top-level installation prefix be used by gcc? |
# 13:32:00 |
y_morin |
kyku: what do you mean by "to-level installation prefix" ? |
# 13:33:11 |
kyku |
for example i have installed ct-ng to /usr/local/cross, then there are /usr/local/cross/lib and /usr/local/include, but the are not taken into account by gcc when searching for headers and libs |
# 13:34:20 |
y_morin |
you mean the cross-gcc? |
# 13:35:41 |
y_morin |
Anyway, those two lib/ and include/ directories are for internal use by gcc. |
# 13:35:58 |
y_morin |
include/ should not contain anything |
# 13:36:53 |
y_morin |
The lib/ and include/ directories that matter are those in the sysroot. |
# 13:45:40 |
kyku |
it is slightly inconvenient to install additional packages to sysroot/include and sysroot/lib... |
# 13:48:26 |
kyku |
in a normal linux system, if i have gcc in /usr/bin then in normally uses /usr/include and /usr/lib... i wonder if ct-ng can use a similar pattern... |
# 13:48:33 |
y_morin |
kyku: indeed, nothing should be installed in the sysroot. |
# 13:48:44 |
y_morin |
kyku: no, it is not meant to be used that way. |
# 13:48:52 |
y_morin |
kyku: just a sec... |
# 13:49:48 |
y_morin |
kyku: Look at the documentation for how to use the toolchain: docs/5 - Using the toolchain.txt |
# 14:22:55 |
kyku |
from the docs i see that i used ct-ng installation dir a staging directory... |
# 14:23:27 |
kyku |
i used stow package manager so as not to polute install-prefix/usr and install-prefix/include directories |
# 14:24:21 |
kyku |
frankly speaking i like it that way, but i needed to generate and edit gcc specs file to have those two dirs added to -I and -L |
# 14:26:06 |
kyku |
i thought that there was an option to do so without editing the specs |
# 14:53:37 |
kyku |
btw. are going to support gcc 4.7 anytime soon? |
# 15:31:43 |
y_morin |
kyku: 4.7 is in the pipe. Look at the ML archives. The patch has been applied locally, but I am waiting for more info from the submitter. |
# 15:32:40 |
y_morin |
kyku: but every new (major) version of gcc is a PITA to integrate, so probably integration will not be finished before the next ct-ng stable release |
# 15:35:16 |
kyku |
thx |
# 15:37:57 |
kyku |
quits : Quit: Wychodzi |
# 21:22:48 |
y_morin |
quits : Quit: Back in a few minutes... |
# 21:28:53 |
djerome |
joins #crosstool-ng |
# 21:57:58 |
y_morin |
joins #crosstool-ng |
# 23:03:01 |
smartin |
quits |
# 23:14:50 |
djerome |
quits : Remote host closed the connection |
# 23:40:45 |
y_morin |
quits : Quit: Night! |
# 23:44:15 |
mnt_real |
joins #crosstool-ng |