# 00:44:10 |
mingwandroid1 |
joins #crosstool-ng |
# 00:45:56 |
mingwandroid |
quits : Ping timeout: 248 seconds |
# 01:47:17 |
mingwandroid1 |
parts #crosstool-ng |
# 05:03:20 |
alan_o |
quits : Quit: Leaving |
# 06:52:53 |
crazedpsyc |
quits : Quit: ZNC - http://znc.in |
# 06:53:25 |
crazedpsyc |
joins #crosstool-ng |
# 07:39:40 |
diorcety |
quits : Quit: Leaving. |
# 07:40:30 |
smartin |
joins #crosstool-ng |
# 07:41:02 |
plfiorini |
quits : Quit: Leaving |
# 08:47:41 |
Net147 |
joins #crosstool-ng |
# 08:48:07 |
diorcety |
joins #crosstool-ng |
# 09:28:54 |
diorcety |
quits : Read error: Connection reset by peer |
# 09:30:22 |
diorcety |
joins #crosstool-ng |
# 09:52:04 |
Joker-2 |
quits : Quit: Leaving |
# 11:37:45 |
tuxx_ |
joins #crosstool-ng |
# 11:38:12 |
tuxx_ |
hey guys... i have built a cross gcc / binutils in linux for windows which generates code for linux |
# 11:38:49 |
tuxx_ |
the toolchain works fine however it has trouble with linkerscripts |
# 11:39:11 |
tuxx_ |
because when it opens the linker scripts the paths referred to therein are not prepended with the $sysroot |
# 11:40:11 |
tuxx_ |
so if /opt/emlix/ews/sysroot/usr/lib/libc.so contains implicit references to /lib/libc.so.6 and such it tries to open /lib/libc.so.6 instead of c:/mingw/msys/1.0/opt/emlix/ews/sysroot/lib/libc.so.6 as it does for all the other files |
# 11:40:30 |
tuxx_ |
the linker command is called by gcc and uses the following flags |
# 11:40:35 |
tuxx_ |
i686-unknown-linux-gnu-ld.exe --sysroot=C:/mingw/msys/1.0/opt/emlix/ews/sysroot/ --eh-frame-hdr -m elf_i386 -dynamic-linker /lib/ld-linux.so.2 -o a.out C:/ |
# 11:40:38 |
tuxx_ |
mingw/msys/1.0/opt/emlix/ews/sysroot//usr/lib/crt1.o C:/mingw/msys/1.0/opt/emlix/ews/sysroot/usr/lib/crti.o c:/mingw/msys/1.0/opt/emlix/ews/mingw/bin/../lib/gc |
# 11:40:41 |
tuxx_ |
c/i686-unknown-linux-gnu/4.6.3/crtbegin.o -Lc:/mingw/msys/1.0/opt/emlix/ews/mingw/bin/../lib/gcc/i686-unknown-linux-gnu/4.6.3 -Lc:/mingw/msys/1.0/opt/emlix/ews |
# 11:40:44 |
tuxx_ |
/mingw/bin/../lib/gcc -Lc:/mingw/msys/1.0/opt/emlix/ews/mingw/bin/../lib/gcc/i686-unknown-linux-gnu/4.6.3/../../../../i686-unknown-linux-gnu/lib -LC:/mingw/msy |
# 11:40:47 |
tuxx_ |
s/1.0/opt/emlix/ews/sysroot//lib -LC:/mingw/msys/1.0/opt/emlix/ews/sysroot//usr/lib main.o -lgcc -lc -lgcc c:/mingw/msys/1.0/opt/emlix/ews/mingw/bin/../lib/gcc |
# 11:40:50 |
tuxx_ |
/i686-unknown-linux-gnu/4.6.3/crtend.o C:/mingw/msys/1.0/opt/emlix/ews/sysroot//usr/lib/crtn.o --verbose |
# 11:40:53 |
tuxx_ |
damnit.. sorry about the line breaks |
# 11:41:51 |
lazzer |
joins #crosstool-ng |
# 11:42:07 |
tuxx_ |
CC=i586-mingw32msvc-gcc CC_FOR_TARGET=i586-mingw32msvc-gcc GCC_FOR_TARGET=i586-mingw32msvc-gcc ../binutils-2.23/configure --prefix=/opt/emlix/ews/mingw --build=i686-unknown-linux-gnu --host=mingw32 --target=i686-unknown-linux-gnu --with-lib-path=/opt/emlix/ews/sysroot/usr/lib:/opt/emlix/ews/sysroot/lib --disable-nls --enable-shared --disable-multilib --with-sysroot=C:/mingw/msys/1.0//opt/emlix/ews/sysroot/ --with-build-sysroot=C:/mingw/msys/1.0//opt/emlix/ews/sys |
# 11:42:14 |
tuxx_ |
thats the configure of binutils |
# 11:42:32 |
tkil |
tuxx_ -- and just to set expectations, the previous message here was 16 hours ago. :) |
# 11:42:42 |
tuxx_ |
tkil: :D |
# 11:42:47 |
tkil |
tuxx_ -- and with this much verbiage, a post to the mailing list might be more appropriate. |
# 11:43:02 |
tuxx_ |
tkil: of crosstool-ng you mean? |
# 11:43:16 |
tkil |
and you might get dinged because you're not using ct-ng itself. just make it clear that you're asking for help with cross-compiling in general; that's on topic for the ml, and generally tolerated here. |
# 11:43:36 |
lazzer |
hi, just noticed that OpenWRT has a lot of patches for uClibc, https://dev.openwrt.org/browser#trunk/toolchain/uClibc/patches-0.9.33.2 which not are applied at crosstool-ng builds. |
# 11:43:37 |
tkil |
and either way, it's early morning hours in usa, and lunchtime in europe, so you might not get much traffic anywhere for a few hours yet. |
# 11:43:58 |
tuxx_ |
tkil: alright thanks |
# 11:51:56 |
smartin_ |
joins #crosstool-ng |
# 11:52:33 |
smartin |
quits : Ping timeout: 276 seconds |
# 11:56:22 |
diorcety |
parts #crosstool-ng |
# 12:00:00 |
diorcety |
joins #crosstool-ng |
# 13:40:20 |
Net147 |
quits : Quit: HydraIRC -> http://www.hydrairc.com <- Chicks dig it |
# 14:52:47 |
alan_o |
joins #crosstool-ng |
# 15:57:59 |
TheBrayn |
joins #crosstool-ng |
# 15:58:02 |
TheBrayn |
hi |
# 15:59:06 |
diorcety |
hi |
# 16:17:09 |
diorcety |
quits : Quit: Leaving. |
# 16:39:19 |
TheBrayn |
http://codepad.org/Ht8pM3cG <- I'm trying to install powerpc-e500v2-linux-gnuspe |
# 16:59:46 |
crazedpsyc |
[ERROR] configure: error: python is missing or unusable |
# 16:59:52 |
crazedpsyc |
that one looks pretty obvious ;) |
# 17:06:41 |
codyps |
quits : Ping timeout: 248 seconds |
# 17:18:37 |
smartin_ |
quits : Quit: leaving |
# 17:18:42 |
diorcety |
joins #crosstool-ng |
# 17:38:32 |
codyps |
joins #crosstool-ng |
# 17:38:53 |
y_morin |
joins #crosstool-ng |
# 17:47:42 |
plfiorini |
joins #crosstool-ng |
# 18:49:59 |
smartin |
joins #crosstool-ng |
# 21:18:31 |
crazedpsyc |
http://i.imgur.com/mtTQkyO.png :D |
# 21:22:12 |
TheBrayn |
diorcety: how can I only install python? |
# 21:23:13 |
crazedpsyc |
TheBrayn: what do you mean? You just need python on the host machine to configure some things |
# 21:23:23 |
TheBrayn |
python is installed |
# 21:23:41 |
crazedpsyc |
and is python --version python 2, not 3? |
# 21:24:06 |
TheBrayn |
I have both but âpythonâ is python-2.7 |
# 21:24:17 |
TheBrayn |
2.7.3 to be more exact |
# 21:24:35 |
crazedpsyc |
hmm. that should work, weird |
# 21:25:46 |
TheBrayn |
are there any precompiled toolchains for this cpu? |
# 21:26:45 |
crazedpsyc |
oh, wait, do you have the actual python libraries? |
# 21:26:52 |
TheBrayn |
which python libs? |
# 21:26:59 |
crazedpsyc |
the development headers |
# 21:27:05 |
TheBrayn |
not sure |
# 21:27:29 |
TheBrayn |
nope |
# 21:27:54 |
crazedpsyc |
ahh, that's it. apparently gdb actually links to python, unless it's disabled |
# 21:28:16 |
crazedpsyc |
you probably want to disable that, to avoid compiling the whole of python |
# 21:28:32 |
TheBrayn |
is duma part of the debug step? |
# 21:28:49 |
crazedpsyc |
yup, it's an option |
# 21:28:50 |
TheBrayn |
because I don't want to run it all over again |
# 21:30:26 |
TheBrayn |
how can I disable linking python? |
# 21:31:51 |
braunr |
parts #crosstool-ng |
# 21:34:10 |
crazedpsyc |
pass --without-python to GDB's configure. no idea how to do that from ct-ng, but if you do it manually within ct-ng's gdb build dir, it should be fine |
# 21:34:56 |
TheBrayn |
I disabled it with menuconfig |
# 21:35:37 |
TheBrayn |
ct-ng build +debug |
# 21:35:44 |
TheBrayn |
this is the right syntax, isn't it? |
# 21:36:03 |
TheBrayn |
I think the last time I did this (gcc didn't run through) it started all over again |
# 21:42:24 |
TheBrayn |
oh nvm |
# 21:42:36 |
TheBrayn |
I failed to read it properly |
# 22:43:42 |
TheBrayn |
http://codepad.org/pfj4Dl8G <- another error |
# 22:51:24 |
smartin |
quits : Quit: leaving |
# 22:54:38 |
TheBrayn |
I think I found a workaround |
# 22:57:59 |
TheBrayn |
but why the fuck does it start all over again? |
# 23:24:21 |
y_morin |
quits : Quit: Nighty Night! |