# 01:27:49 |
djerome |
joins #crosstool-ng |
# 03:25:30 |
djerome |
quits : Remote host closed the connection |
# 05:16:22 |
tlwoerner |
joins #crosstool-ng |
# 06:48:49 |
smik1982 |
joins #crosstool-ng |
# 07:10:34 |
aalv |
joins #crosstool-ng |
# 07:26:45 |
guillaume_ |
joins #crosstool-ng |
# 08:41:54 |
guillaume__ |
joins #crosstool-ng |
# 10:30:13 |
guillaume__ |
quits : Read error: Connection reset by peer |
# 10:30:13 |
guillaume_ |
quits : Read error: Connection reset by peer |
# 10:41:42 |
guillaume_ |
joins #crosstool-ng |
# 10:41:49 |
guillaume__ |
joins #crosstool-ng |
# 11:14:06 |
smik1982 |
quits : Ping timeout: 255 seconds |
# 11:25:25 |
smik1982 |
joins #crosstool-ng |
# 12:12:20 |
guillaume_ |
quits : Remote host closed the connection |
# 12:12:20 |
guillaume__ |
quits : Remote host closed the connection |
# 12:14:46 |
Martell |
joins #crosstool-ng |
# 14:31:50 |
ccole |
quits : Remote host closed the connection |
# 15:03:15 |
smik1982 |
quits : Remote host closed the connection |
# 15:42:45 |
y_morin |
joins #crosstool-ng |
# 15:54:19 |
Martell |
hey guys |
# 15:54:28 |
Martell |
i hope there is a sed expert here |
# 15:54:40 |
Martell |
seems ct-ng is all bash |
# 15:54:46 |
Martell |
find . -type d -path ./desktop -path -prune -o |
# 15:55:01 |
Martell |
that will exclude the ./desktop dir from the results |
# 15:55:12 |
Martell |
but how do i remove the '.' path also |
# 15:56:09 |
y_morin |
Martell: wild suggestion: find . -type d \( -path ./desktop -o -path . \) -prune -o |
# 15:56:24 |
y_morin |
Martell: but nothing bash or sed in there. |
# 15:56:36 |
Martell |
sorry my bad |
# 15:56:38 |
Martell |
i meant find |
# 15:56:42 |
y_morin |
;-) |
# 15:58:43 |
Martell |
close but no luck :( |
# 15:59:02 |
Martell |
find . -type d \( -path ./desktop -o -path . \) -prune -o |
# 15:59:09 |
Martell |
I don't understand the brackets |
# 15:59:20 |
Martell |
sorry for being a bash noob |
# 15:59:56 |
y_morin |
Martell: Not bash, just plain find. The parenthesis is becasue you want to -prune either './desktop' or '.' |
# 16:00:15 |
Martell |
i want to prune both |
# 16:00:23 |
Martell |
ahh i see |
# 16:00:36 |
y_morin |
Martell: Since the default in 'find' is '-a', the above is eqivalent to: find . -type d -a \( -path ./desktop -o -path . \) -a -prune -o |
# 16:00:38 |
Martell |
who is the -o before -path |
# 16:00:54 |
y_morin |
Martell: -o is 'or' and '-a' is 'and' |
# 16:01:05 |
Martell |
ahh |
# 16:01:32 |
y_morin |
Martell: See: man find |
# 16:01:34 |
y_morin |
;-) |
# 16:02:37 |
Martell |
ahh i see now |
# 16:02:46 |
Martell |
thank you for the help :) |
# 16:02:55 |
y_morin |
;-) |
# 16:03:33 |
Martell |
I dont think i can use -path . in there |
# 16:03:42 |
Martell |
because all the paths begine with . |
# 16:06:55 |
ekami |
joins #crosstool-ng |
# 16:07:03 |
ekami |
Hello everyone |
# 16:08:31 |
ekami |
Could someone help me? |
# 16:08:49 |
ekami |
I have the following error when I try tobuild crosstool. http://pastebin.com/yJXBAmwp |
# 16:09:16 |
ekami |
Apparently it's an error comming from eglibc, but I don't know how to fix it |
# 16:19:22 |
y_morin |
ekami: Yes, I think it is because you have too recent versions of autotools. |
# 16:19:33 |
y_morin |
ekami: What version of eglibc are you trying to build? |
# 16:20:13 |
y_morin |
ekami: Ah, no, sorry, too recent _make_ |
# 16:20:40 |
y_morin |
ekami: I guess you have make-4.0 or make-3.82. Can you check with: make --version ? |
# 16:21:28 |
ekami |
y_morin: I have make 4.0 |
# 16:21:52 |
y_morin |
ekami: Yeah, right. What version of eglibc are you trying to build ? |
# 16:22:32 |
ekami |
y_morin: 2.17 |
# 16:23:29 |
y_morin |
ekami: That's a known issue. The workaround is described in: "docs/B - Known issues.txt", the same as for: "glibc start files and headers fail with: [/usr/include/limits.h] Error 1" |
# 16:23:42 |
ekami |
y_morin: Apparently I'm not the only one having this error, I found a patch on the net (http://colocsbar.blogspot.fr/2014/01/crosstool-ng-1190-et-make-40.html), sorry it's in french, but I can't find a way to apply this patch |
# 16:24:01 |
y_morin |
ekami: I think I can read french. ;-) |
# 16:24:27 |
ekami |
y_morin: Ok, thank you, I'll take a look at this documentation. |
# 16:24:29 |
y_morin |
ekami: But see the workaround I pointed to, above. |
# 16:24:33 |
y_morin |
ekami: OK. |
# 16:24:33 |
ekami |
y_morin: Oh cool :) |
# 16:26:06 |
y_morin |
But if you want to build a toolchain for the raspbeery pi, there is a sample already available in ct-ng: ct-ng armv6-rpi-linux-gnueabi; ct-ng biuld |
# 16:26:11 |
y_morin |
ekami: ^^^ |
# 16:26:24 |
y_morin |
s/biuld/build/ |
# 16:27:39 |
ekami |
y_morin: :o thanks a lot!! |
# 16:33:54 |
Martell |
ahh y_morin I found my issue |
# 16:34:30 |
Martell |
i have a folder called platform |
# 16:34:33 |
Martell |
cd "${pkgdir}${MINGW_PREFIX}/include" |
# 16:34:34 |
Martell |
find platform -type d \( -path platform -o -path platform/desktop \) -prune -o -not -name "*.h*" -print |
# 16:34:57 |
Martell |
platform is supposed to have several subfolders i want to remove |
# 16:35:10 |
Martell |
but i want to keep platform and platform/desktop |
# 16:35:20 |
Martell |
would i be better off using ls for this? |
# 16:35:46 |
Martell |
with \( -path platform -o -path platform/desktop \) |
# 16:35:51 |
y_morin |
Martell: find platform -type d -not \( -path platform -o -path platform/desktop \) -prune -o -not -name "*.h*" -print |
# 16:36:08 |
y_morin |
Martell: sonething like that, maybe... |
# 16:36:20 |
Martell |
sorry for bothering you with this btw :( |
# 16:36:56 |
y_morin |
Martell: Well, this is slightly off-topic, indeed. |
# 16:37:10 |
Martell |
errr yeah |
# 16:38:50 |
Martell |
That was very close though |
# 16:38:54 |
Martell |
that printed out |
# 16:38:58 |
Martell |
platform |
# 16:38:58 |
Martell |
platform/desktop |
# 16:39:06 |
Martell |
so i just need the inverse lol |
# 16:39:35 |
Martell |
If it helps its for a project that uses ct-ng :) |
# 16:40:01 |
Martell |
although nearly any program could use a cross compiler lol |
# 16:43:07 |
y_morin |
Martell: find platform \( -name dir1-to-exclude -o -name dir2-to-exclude \) -prune -o -print <- works for me |
# 16:43:42 |
y_morin |
Martell: dir1-to-exclude and dir2-to-exclude are only the names, not the full path. |
# 16:44:01 |
Martell |
ahh -name and not -path |
# 16:44:44 |
y_morin |
Martell: If you want to use full paths, you must use -wholename: find platform \( -wholename platform/dir1-to-exclude -o -sholename platform/dir2-to-exclude \) -prune -o -print |
# 16:53:20 |
Martell |
y_morin the issue is i want to exclude platform itself also via "-wholename platform" |
# 16:53:32 |
Martell |
but doing that stops all the subdirs |
# 16:53:44 |
Martell |
i think ill just have to find another way :/ |
# 16:54:04 |
Martell |
I did learn a lot though thank you :) |
# 16:57:52 |
Martell |
-mindepth 1 |
# 16:57:53 |
Martell |
:) |
# 16:57:58 |
Martell |
I found it xD |
# 17:07:08 |
ekami |
y_morin: I still have the same error with ct-ng armv6-rpi-linux-gnueabi :( |
# 17:08:02 |
y_morin |
ekami: The workaround I pointed above is still valid. |
# 17:08:49 |
ekami |
y_mori: oki |
# 17:30:38 |
ccole |
joins #crosstool-ng |
# 17:45:45 |
djerome |
joins #crosstool-ng |
# 18:17:27 |
diorcety |
joins #crosstool-ng |
# 18:19:02 |
diorcety |
quits : Read error: Connection reset by peer |
# 18:19:08 |
diorcety1 |
joins #crosstool-ng |
# 18:29:39 |
diorcety1 |
quits : Read error: Connection reset by peer |
# 18:30:19 |
diorcety |
joins #crosstool-ng |
# 18:42:18 |
diorcety |
quits : Read error: Connection reset by peer |
# 18:42:38 |
diorcety |
joins #crosstool-ng |
# 18:55:51 |
diorcety1 |
joins #crosstool-ng |
# 18:55:51 |
diorcety |
quits : Read error: Connection reset by peer |
# 19:08:21 |
diorcety1 |
quits : Read error: Connection reset by peer |
# 19:08:35 |
diorcety |
joins #crosstool-ng |
# 19:12:21 |
diorcety1 |
joins #crosstool-ng |
# 19:13:42 |
Martell |
quits : Quit: Leaving |
# 19:16:03 |
diorcety |
quits : Ping timeout: 272 seconds |
# 19:31:03 |
diorcety1 |
quits : Read error: Connection reset by peer |
# 19:31:31 |
diorcety |
joins #crosstool-ng |
# 19:42:39 |
diorcety1 |
joins #crosstool-ng |
# 19:42:59 |
diorcety |
quits : Ping timeout: 264 seconds |
# 19:47:03 |
diorcety |
joins #crosstool-ng |
# 19:49:35 |
diorcety1 |
quits : Ping timeout: 264 seconds |
# 19:56:58 |
diorcety |
quits : Read error: Connection reset by peer |
# 19:59:04 |
diorcety |
joins #crosstool-ng |
# 20:01:29 |
loide |
joins #crosstool-ng |
# 20:05:52 |
aalv |
quits : Quit: Leaving. |
# 20:08:14 |
diorcety |
quits : Read error: Connection reset by peer |
# 20:09:23 |
diorcety |
joins #crosstool-ng |
# 20:20:03 |
doc2 |
joins #crosstool-ng |
# 20:44:02 |
diorcety |
quits : Read error: Connection reset by peer |
# 20:51:12 |
diorcety |
joins #crosstool-ng |
# 21:03:48 |
diorcety |
quits : Read error: Connection reset by peer |
# 21:04:39 |
diorcety |
joins #crosstool-ng |
# 21:13:53 |
diorcety |
quits : Read error: Connection reset by peer |
# 21:16:30 |
diorcety |
joins #crosstool-ng |
# 21:19:13 |
diorcety |
quits : Read error: Connection reset by peer |
# 21:19:47 |
diorcety |
joins #crosstool-ng |
# 21:28:45 |
larks |
joins #crosstool-ng |
# 21:29:13 |
RushPL_ |
joins #crosstool-ng |
# 21:30:28 |
diorcety |
quits : Read error: Connection reset by peer |
# 21:32:33 |
diorcety |
joins #crosstool-ng |
# 21:34:55 |
larks_ |
quits : Ping timeout: 240 seconds |
# 21:35:19 |
loide |
quits : Ping timeout: 248 seconds |
# 21:35:58 |
RushPL |
quits : Ping timeout: 240 seconds |
# 22:10:12 |
diorcety |
quits : Ping timeout: 260 seconds |
# 22:37:33 |
doc2 |
quits : Remote host closed the connection |
# 22:44:58 |
y_morin |
quits : Quit: Nighty Night! ;-) |
# 23:07:36 |
RushPL_ |
quits : Ping timeout: 260 seconds |
# 23:08:08 |
RushPL |
joins #crosstool-ng |