# 01:19:56 |
mingwandroid |
quits : Remote host closed the connection |
# 02:58:13 |
smartin |
quits : Ping timeout: 248 seconds |
# 03:02:21 |
smartin |
joins #crosstool-ng |
# 03:24:19 |
dzan |
quits : Ping timeout: 252 seconds |
# 04:30:39 |
dzan |
joins #crosstool-ng |
# 04:31:54 |
djerome |
quits : Remote host closed the connection |
# 04:47:30 |
dzan |
quits : Ping timeout: 246 seconds |
# 04:50:08 |
dzan |
joins #crosstool-ng |
# 05:15:52 |
b_rare |
quits : Quit: leaving |
# 05:16:13 |
b_rare |
joins #crosstool-ng |
# 05:19:08 |
mnt_real_ |
quits : Quit: Leaving |
# 06:45:50 |
mnt_real |
joins #crosstool-ng |
# 08:13:42 |
aalv |
joins #crosstool-ng |
# 09:21:52 |
aalv |
quits : Read error: Connection reset by peer |
# 09:22:51 |
aalv |
joins #crosstool-ng |
# 09:38:20 |
smartin |
quits : Quit: brb |
# 09:41:36 |
smartin |
joins #crosstool-ng |
# 10:00:11 |
aalv |
quits : Quit: Leaving. |
# 10:02:04 |
aalv |
joins #crosstool-ng |
# 13:28:01 |
falstaff_ |
joins #crosstool-ng |
# 13:30:33 |
falstaff |
quits : Ping timeout: 272 seconds |
# 16:10:40 |
breiker |
quits : Ping timeout: 264 seconds |
# 16:12:57 |
breiker |
joins #crosstool-ng |
# 16:17:21 |
breiker |
quits : Ping timeout: 246 seconds |
# 16:18:27 |
breiker |
joins #crosstool-ng |
# 16:46:19 |
breiker |
quits : Ping timeout: 260 seconds |
# 16:47:00 |
breiker |
joins #crosstool-ng |
# 17:07:01 |
aalv |
quits : Quit: Leaving. |
# 17:11:03 |
muep |
quits : Ping timeout: 260 seconds |
# 17:11:11 |
muep |
joins #crosstool-ng |
# 17:12:15 |
breiker |
quits : Ping timeout: 246 seconds |
# 17:14:03 |
breiker |
joins #crosstool-ng |
# 17:24:21 |
muep |
quits : Ping timeout: 272 seconds |
# 17:25:32 |
muep |
joins #crosstool-ng |
# 18:42:28 |
breiker |
quits : Ping timeout: 264 seconds |
# 18:44:42 |
breiker |
joins #crosstool-ng |
# 19:16:13 |
mingwandroid |
joins #crosstool-ng |
# 19:22:33 |
rZr |
is now known as: RzR |
# 19:37:12 |
breiker |
quits : Ping timeout: 246 seconds |
# 19:43:18 |
breiker |
joins #crosstool-ng |
# 19:44:17 |
mingwandroid |
parts #crosstool-ng |
# 20:23:47 |
breiker |
quits : Ping timeout: 260 seconds |
# 20:26:24 |
breiker_ |
joins #crosstool-ng |
# 20:28:11 |
diorcety |
joins #crosstool-ng |
# 20:31:08 |
breiker_ |
is now known as: breiker |
# 20:39:51 |
y_morin |
joins #crosstool-ng |
# 20:51:51 |
ayaka |
joins #crosstool-ng |
# 20:52:05 |
ayaka |
I have place the library in sysroot/usr/lib |
# 20:52:40 |
ayaka |
when I use configure file to do cross compile, it will told me that library is not find |
# 20:53:01 |
ayaka |
what is the problem? |
# 20:53:25 |
diorcety |
y_morin: i submit again the gcc/cc split :) |
# 20:53:38 |
y_morin |
ayaka: What library are you talking about? |
# 20:54:01 |
y_morin |
diorcety: OK, I'll look at it when I get it! :-) |
# 20:54:03 |
breiker |
quits : Ping timeout: 260 seconds |
# 20:54:44 |
ayaka |
y_morin, http://paste.debian.net/68950/ the x264 |
# 20:55:25 |
breiker |
joins #crosstool-ng |
# 20:55:31 |
y_morin |
ayaka: And what program are you trying to build? |
# 20:56:08 |
ayaka |
y_morin, a program is wroten by me |
# 20:56:10 |
ayaka |
http://paste.debian.net/68951/ |
# 20:57:02 |
ayaka |
does will cross ld read the ld.so.conf in sysroot/etc ? |
# 20:57:07 |
ayaka |
will cross ld read the ld.so.conf in sysroot/etc ? |
# 20:58:25 |
y_morin |
ayaka: No, ld.so.conf is parsed at runtime, not at build time. |
# 20:58:43 |
y_morin |
ayaka: How do you check for the libx264 presence (can you share your configure.ac)? |
# 20:59:07 |
ayaka |
y_morin, http://paste.debian.net/68953/ |
# 20:59:45 |
ayaka |
I think I find the problem, as I place libx264 in sysroot/usr/lib/arm-linux-gnueabihf |
# 20:59:53 |
ayaka |
I want to use multiarch |
# 21:00:30 |
y_morin |
ayaka: No, you should place it in sysroot/usr/lib |
# 21:00:55 |
y_morin |
ayaka: multilib is experimental and most probably broken in no-so-subtle ways. |
# 21:01:27 |
y_morin |
ayaka: Also, you should use pkgconfig to test for the library, since libx264 install a x264.pc file |
# 21:01:53 |
y_morin |
ayaka: Shen you install your library, just run: make DESTDIR=/path/to/sysroot install |
# 21:02:05 |
y_morin |
ayaka: But Installing in the sysroot is ugly! |
# 21:02:27 |
y_morin |
ayaka: It means your toolchain gets poluted, and you won;t be able to re-use it. |
# 21:02:45 |
y_morin |
ayaka: Best to use an automatic system builder, like, say, Buildroot. |
# 21:03:07 |
ayaka |
y_morin, yes, but I don't know how to use buildroot |
# 21:03:34 |
y_morin |
ayaka: It's very easy! |
# 21:03:52 |
ayaka |
y_morin, I have place libx264 in sysroot/usr/lib, but it doesn't work, I don't get pc file for it |
# 21:04:02 |
y_morin |
ayaka: And it helps tremendously in cross-compilation. Just hop to #buildroot for help |
# 21:04:40 |
y_morin |
ayaka: What do you get with: ls -l /path/to/sysroot/libx264* |
# 21:04:42 |
ayaka |
y_morin, thank you |
# 21:05:21 |
ayaka |
then another problem, if I have build the toolchain using croostool-ng, but I mess sysroot |
# 21:05:41 |
ayaka |
is there a way to reinstall crosstool-ng without build again |
# 21:06:08 |
y_morin |
ayaka: No, it;s not possible. If you know _exactly_ what you put there, you can remove it, otherwise you;re screwed. |
# 21:06:29 |
ayaka |
y_morin, I have put too much things in it |
# 21:06:38 |
y_morin |
ayaka: But if you _realy_ want to tinker with the content of the sysroot, then I'd suggest you do: |
# 21:06:47 |
y_morin |
1) build a toolchain from scratch |
# 21:07:02 |
y_morin |
2) create a tarball of that toolchain |
# 21:07:30 |
y_morin |
3) When you need to start again from a clean toolchain, remove the tainted one, and extract the tarball |
# 21:08:31 |
ayaka |
y_morin, about buildroot, it seems that it can do what crosstool-ng do. so what is crosstool-ng used for? |
# 21:09:28 |
y_morin |
ayaka: corsstool-NG is only about building a toolchain; Buildroot is about building a complete system |
# 21:09:54 |
y_morin |
ayaka: Buildroot is very limited in the versions it can build, while crosstool-NG is (tries to be) very versatile. |
# 21:11:00 |
ayaka |
y_morin, yes buildroot seems that it can only build for uclibc, but my platform is eglic |
# 21:13:42 |
y_morin |
ayaka: No, Buildroot can build with glibc. eglibc and uClibc (and musl, too). |
# 21:13:54 |
ayaka |
y_morin, I see thank you |
# 21:14:00 |
y_morin |
ayaka: And Buildroot recently gained the ability to build (e)glibc-based toolchains, too. |
# 21:20:38 |
sh4rm4 |
quits : *.net *.split |
# 21:22:52 |
nandub |
joins #crosstool-ng |
# 21:23:06 |
nandub |
quits : Client Quit |
# 21:28:19 |
nandub |
joins #crosstool-ng |
# 21:28:41 |
ayaka |
y_morin, thank you |
# 21:29:16 |
ayaka |
but there is still a problem, buildroot doesn't support too as many packages as debian |
# 21:29:27 |
ayaka |
y_morin, I have to use that way |
# 21:29:41 |
y_morin |
ayaka: You mean you're trying to build for an existing system? |
# 21:29:59 |
ayaka |
y_morin, yep |
# 21:30:13 |
sh4rm4 |
joins #crosstool-ng |
# 21:30:15 |
y_morin |
ayaka: So you should use the tools of that system. |
# 21:30:46 |
ayaka |
y_morin, well, I don't know which tools I shall use |
# 21:31:18 |
y_morin |
ayaka: Look at the Debian documentation. |
# 21:31:29 |
ayaka |
y_morin, thank you |
# 21:31:43 |
y_morin |
ayaka: And by the way, try to hit them on the head for doing their insane multiarch thingy at the same time! :-) |
# 21:31:53 |
y_morin |
ayaka: Cheers! |
# 21:32:48 |
ayaka |
y_morin, if I don't use sysroot, where shall I place the builded libraries? |
# 21:34:02 |
y_morin |
ayaka: That's the whole point of using a buildsystem rather than manually compiling: it does all of this for you. |
# 21:34:27 |
y_morin |
ayaka: You can install wherever you like, and then pass -L flags to tell were you installed them. |
# 21:34:53 |
ayaka |
y_morin, if i use -L, I shall use -rpath as the same time |
# 21:37:40 |
ayaka |
y_morin, " Also, you should use pkgconfig to test for the library, since libx264 install a x264.pc file" means that my way to check libraries is wrong? |
# 21:55:00 |
protomouse |
quits : Quit: this is not a drill |
# 22:07:05 |
ayaka |
, does sysroot is in search path of default crosstool |
# 22:09:53 |
y_morin |
ayaka: Yes, the cross-compiler will search the sysroot. |
# 22:10:32 |
mingwandroid_ |
joins #crosstool-ng |
# 22:11:11 |
ayaka |
y_morin, the it is the problem of gnu autoconf |
# 22:11:40 |
ayaka |
y_morin, as it is in search path, but it doesn't find libraries in sysroot/usr/lib |
# 22:12:21 |
ayaka |
modify pc file is too difficults, there are two many |
# 22:13:11 |
y_morin |
ayaka: Then you should really try to either use the tools for Debian, or use a buildsystem like Buildroot. |
# 22:15:37 |
ayaka |
y_morin, but the debian way is using multiarch but it is not done yet |
# 22:16:02 |
ayaka |
y_morin, well but I wonder why it will casue problem |
# 22:17:26 |
y_morin |
ayaka: The Debian tools do support multiarch (mind you, multiarch != multilib). |
# 22:19:04 |
breiker |
quits : Ping timeout: 264 seconds |
# 22:20:05 |
breiker |
joins #crosstool-ng |
# 22:29:12 |
mingwandroid_ |
is now known as: mingwandroid |
# 22:30:12 |
mingwandroid |
y_morin: I got a patch for multilib support btw. |
# 22:41:54 |
smartin_ |
joins #crosstool-ng |
# 22:51:41 |
nandub |
quits : Remote host closed the connection |
# 23:05:04 |
y_morin |
quits : Quit: leaving |
# 23:17:27 |
RzR |
is now known as: rZr |
# 23:28:24 |
smartin_ |
quits : Quit: leaving |