# 00:25:25 |
devcoder |
quits : Quit: devcoder |
# 00:26:32 |
codyps |
quits : Ping timeout: 252 seconds |
# 03:17:06 |
bhundven |
is now known as: bhundven|afk |
# 07:00:34 |
smartin |
joins #crosstool-ng |
# 07:02:19 |
bhundven|afk |
is now known as: bhundven |
# 07:05:19 |
bhundven |
is now known as: bhundven|afk |
# 08:15:03 |
ddvlad |
joins #crosstool-ng |
# 08:16:29 |
ddvlad |
Hi, I'm trying to build a cross compiler that runs on x86 and generates powerpc code. My build machine is x86_64. Do I need a canadian cross in this case or is there a simpler way to generate a toolchain that runs on 32-bit x86? |
# 08:30:27 |
kos_tom |
I would recommend building in a chroot |
# 08:30:43 |
kos_tom |
you create a 32 bits chroot, in which you build your toolchain with crosstool-ng. |
# 08:31:43 |
sspiff |
quits : Remote host closed the connection |
# 08:38:15 |
sspiff |
joins #crosstool-ng |
# 08:38:15 |
sspiff |
quits : Changing host |
# 08:38:15 |
sspiff |
joins #crosstool-ng |
# 08:39:56 |
smartin |
i agree with kos_tom about the chroot, it will be a lot faster, and less painful ;) |
# 08:40:29 |
ddvlad |
Ok, I'll look into that, thanks for the tips! |
# 09:11:38 |
Net147 |
joins #crosstool-ng |
# 09:21:11 |
Net147 |
quits : Quit: HydraIRC -> http://www.hydrairc.com <- IRC with a difference |
# 09:42:47 |
sspiff |
quits : Remote host closed the connection |
# 09:50:13 |
sspiff |
joins #crosstool-ng |
# 09:50:14 |
sspiff |
quits : Changing host |
# 09:50:14 |
sspiff |
joins #crosstool-ng |
# 09:55:17 |
Net147 |
joins #crosstool-ng |
# 09:55:35 |
Net147 |
quits : Client Quit |
# 10:11:19 |
sspiff |
quits : Ping timeout: 260 seconds |
# 10:27:03 |
sh4rm4 |
quits : Remote host closed the connection |
# 10:29:12 |
sh4rm4 |
joins #crosstool-ng |
# 10:50:33 |
sspiff |
joins #crosstool-ng |
# 10:50:33 |
sspiff |
quits : Changing host |
# 10:50:33 |
sspiff |
joins #crosstool-ng |
# 11:06:45 |
sspiff |
quits : Ping timeout: 276 seconds |
# 12:21:38 |
sspiff |
joins #crosstool-ng |
# 12:21:38 |
sspiff |
quits : Changing host |
# 12:21:38 |
sspiff |
joins #crosstool-ng |
# 13:32:04 |
mnt_real |
joins #crosstool-ng |
# 13:44:48 |
sh[4]rm4 |
joins #crosstool-ng |
# 13:46:39 |
sh4rm4 |
quits : Ping timeout: 276 seconds |
# 13:49:42 |
sh[4]rm4 |
is now known as: sh4rm4 |
# 13:52:37 |
imMute |
technically that's a canadian cross (building the TC on x86_64 meant to be run on x86 that compiles code for ppc), but since x86_64 and x86 are so similar, it's possible to setup a chroot on x86_64 that's x86 only and do a regular cross |
# 13:53:10 |
imMute |
but doing the chroot is definitely easier than a real canadian. |
# 14:40:02 |
sspiff |
quits : Remote host closed the connection |
# 14:58:09 |
bhundven|afk |
is now known as: bhundven |
# 15:19:39 |
bhundven |
is now known as: bhundven|afk |
# 15:22:31 |
codyps |
joins #crosstool-ng |
# 15:26:46 |
soulne4ny-luch |
quits : Quit: ChatZilla 0.9.88.2 [SeaMonkey 2.11/20120715041107] |
# 15:39:05 |
bhundven|afk |
is now known as: bhundven |
# 15:40:05 |
sspiff |
joins #crosstool-ng |
# 15:40:06 |
sspiff |
quits : Changing host |
# 15:40:06 |
sspiff |
joins #crosstool-ng |
# 15:49:46 |
ddvlad |
imMute: Yup, I set up the chroot relatively easily, now I'm working around a kernel that doesn't have the headers_install target |
# 15:50:08 |
kos_tom |
ddvlad: you should upgrade your kernel |
# 15:50:18 |
kos_tom |
ddvlad: headers_install has been around since 2.6.12, IIRC |
# 15:50:31 |
kos_tom |
any kernel older than that should be upgraded rather than worked around :) |
# 15:50:44 |
ddvlad |
kos_tom: Unfortunately, I'm required to keep the old kernel :( |
# 15:51:16 |
ddvlad |
I suspect this is probably the greatest difficulty I will encounter. |
# 15:51:35 |
bhundven |
I doubt it. I assume you will run into other problems. |
# 15:52:00 |
bhundven |
if not a completely broken toolchain, in the end. |
# 15:52:20 |
kos_tom |
ddvlad: what platform are you targetting? |
# 15:52:44 |
ddvlad |
Hmm, I meant "the greatest source of problems", working around the headers is easy enough I hope :) |
# 15:52:49 |
ddvlad |
kos_tom: powerpc |
# 15:53:12 |
bhundven |
the better question may be: what are the requirements for using a kernel older then 2.6.12? |
# 15:54:05 |
ddvlad |
I'll dig around, maybe I can also upgrade the kernel. |
# 15:54:34 |
ddvlad |
Gotta go now, thanks for your suggestions. |
# 16:01:32 |
kos_tom |
ddvlad: PowerPC is an architecture, and there are gazillions of different SoCs that use the PowerPC architecture |
# 16:25:07 |
bhundven |
pulls his SoCs up |
# 17:14:39 |
mnt_real |
quits : Ping timeout: 276 seconds |
# 17:25:47 |
sspiff |
quits : Remote host closed the connection |
# 17:27:19 |
sspiff |
joins #crosstool-ng |
# 17:27:19 |
sspiff |
quits : Changing host |
# 17:27:19 |
sspiff |
joins #crosstool-ng |
# 17:40:45 |
mnt_real |
joins #crosstool-ng |
# 17:46:30 |
sspiff |
quits : Ping timeout: 276 seconds |
# 17:55:15 |
y_morin |
joins #crosstool-ng |
# 18:19:09 |
codyps |
quits : Quit: Leaving. |
# 18:19:57 |
codyps |
joins #crosstool-ng |
# 18:21:54 |
bhundven |
is now known as: bhundven|afk |
# 18:55:22 |
sspiff |
joins #crosstool-ng |
# 18:55:28 |
sspiff |
quits : Changing host |
# 18:55:28 |
sspiff |
joins #crosstool-ng |
# 19:26:08 |
sspiff |
quits : Remote host closed the connection |
# 19:28:53 |
smartin |
quits : Quit: back laater |
# 19:37:53 |
alan_o |
joins #crosstool-ng |
# 20:04:12 |
imMute |
kos_tom: I know in the case of the AM35xx SoCs from TI, you're kinda limited to 2.6.36 because that's what their dev kit thing is at. |
# 20:04:30 |
imMute |
a newer kernel might work depending on the application, and how good you are at porting TI's changes. |
# 20:07:41 |
smartin |
joins #crosstool-ng |
# 20:10:32 |
alan_o |
imMute: For beagle bone, you can use a newer kernel by using https://github.com/beagleboard/kernel/tree/beaglebone-3.6/ |
# 20:10:38 |
alan_o |
It's not complete yet, but functional |
# 20:11:08 |
alan_o |
It's really about 30 patches or so on top of mainline |
# 20:11:13 |
alan_o |
but not everything works perfectly yet |
# 20:11:42 |
alan_o |
(it's more patches than that, but many are for the device tree) |
# 20:14:41 |
alan_o |
imMute: just realized you said am35xx and not am335x. Nevermind then :) |
# 20:15:07 |
alan_o |
and actually I think I just caught the end of the conversation after I logged in. |
# 20:33:23 |
bhundven|afk |
is now known as: bhundven |
# 20:59:53 |
ddvlad |
parts #crosstool-ng |
# 21:06:19 |
y_morin |
quits : Quit: Nighty Night! |
# 21:40:53 |
Juv1228 |
joins #crosstool-ng |
# 23:16:48 |
devcoder |
joins #crosstool-ng |
# 23:44:50 |
smartin |
quits : Quit: leaving |