ibotlog2html for #crosstool-ng

<< Previous 2014-03-29 Next >>

# 01:16:30 iFire quits : Ping timeout: 268 seconds
# 01:59:34 iFire joins #crosstool-ng
# 02:10:01 iFire quits : Read error: Connection reset by peer
# 02:10:29 iFire joins #crosstool-ng
# 06:31:10 djerome quits : Remote host closed the connection
# 09:12:40 y_morin joins #crosstool-ng
# 13:28:57 UukGoblin quits : Changing host
# 13:28:57 UukGoblin joins #crosstool-ng
# 15:42:41 diorcety joins #crosstool-ng
# 16:58:45 Martell joins #crosstool-ng
# 17:28:17 iFire y_morin: How would you create a smartos (solaris) target?
# 17:32:02 y_morin iFire: I wouldn't. ;-)
# 17:33:44 iFire Well I want to create a canadian cross tool chain for Windows that compiles to solaris
# 17:34:26 iFire y_morin: apparently there's some issues with /bin/sh and newer gcc versions
# 17:34:33 iFire /bin/bash
# 17:34:48 iFire for building a cross compiler
# 17:36:45 y_morin iFire: Do you mean you want to run the toolchain on Solaris, or the toolchain to generate code for Solaris?
# 17:37:03 y_morin iFire: crosstool-NG knows nothing about Solaris as a target.
# 17:37:43 iFire run the toolchain on windows to target solaris
# 17:38:26 y_morin iFire: Not possible with crosstool-NG. And I know nothing about Slowaris either, so I can't really help. Sorry... :-/
# 17:39:15 iFire well solaris zones should be faster than kvm virtualization
# 17:39:47 kos_tom iFire: use Linux containers.
# 17:40:05 y_morin kos_tom: +1
# 17:40:09 Martell iFire: https://github.com/diorcety/crosstool-ng
# 17:40:29 Martell Work is being done here that is hopefully merged upstream at some point
# 17:40:38 Martell with better windows host support
# 17:40:40 iFire What's the significance of this fork?
# 17:40:58 y_morin Martell: But still there's no support for Slowaris as a target.
# 17:41:33 Martell true but
# 17:41:36 Martell https://github.com/mingwandroid/ctng-firefox-builds
# 17:41:55 Martell ray has examples of different targets here that aren't standard
# 17:42:09 Martell steambox osx and ive ps3 in there
# 17:42:15 iFire oh?
# 17:42:31 Martell so if he wanted to add solaris that would be a good reference
# 17:43:10 iFire What does baremetal mean?
# 17:43:15 Martell iFire it wont be easy though
# 17:44:08 y_morin iFire: baremetal == no Operating System at all (eg. bootloaders)
# 17:44:30 Martell y_morin would be best to answer that :)
# 17:44:43 Martell O you just did :)
# 17:45:25 Martell iFire: I plan on doing BSD for the Playstation 4 next
# 17:45:43 Martell So feel free to drop me a line if you need some tips
# 17:45:57 iFire I'm trying to compile Unreal Engine by the way
# 17:46:17 iFire Martell: are you PST time zone?
# 17:46:23 Martell GMT
# 17:46:34 Martell it's 17:45 here now
# 17:46:56 iFire Martell: How does crosstools layout its platform specifc code
# 17:47:40 Martell What do you mean exactly by that?
# 17:47:58 iFire I don't know where you would add a target
# 17:48:02 Martell Also You may want to read the docs as y_morin often point me too
# 17:48:10 Martell part 8 that is in i think
# 17:48:32 Martell target OS or target processor?
# 17:48:57 iFire target os: smartos(solaris) target processor: x86_64
# 17:49:12 Martell okay well the processor is already there
# 17:49:28 Martell y_morin showed me how to add one the last day
# 17:49:39 Martell that is in part 8 of the docs :)
# 17:50:13 Martell in terms of the OS only mingwandroid is the only person I know who added one
# 17:50:21 Martell 1 sec and I dig up code
# 17:51:22 Martell you will have to look through the commits here
# 17:51:23 Martell https://github.com/diorcety/crosstool-ng/commits/master
# 17:51:36 Martell to see how he done it for ios and mac
# 17:52:11 Martell He usually hangs out on the msys2 channel on OFTC with myself and alexey
# 17:52:24 Martell If you want to ask him some questions yourself
# 17:52:36 iFire https://github.com/diorcety/crosstool-ng/blob/master/config/kernel/linux.in hmm
# 17:53:27 iFire I'd probably copy https://github.com/diorcety/crosstool-ng/blob/master/config/kernel/windows.in
# 17:54:04 Martell yup and an example would be
# 17:54:06 Martell https://github.com/diorcety/crosstool-ng/blob/master/config/kernel/darwin.in
# 17:56:03 iFire I wonder why it fetches a kernel source
# 17:57:49 iFire for kernel headers
# 17:58:42 iFire headers necessary for building libgcc and the crt files.
# 17:59:01 Martell glibc etc
# 17:59:04 iFire https://github.com/diorcety/crosstool-ng/blob/master/scripts/build/kernel/darwin.sh
# 17:59:09 Martell afaik
# 17:59:17 Martell y_morin may know more
# 17:59:56 Martell thats the darwin headers not the linux headers
# 18:00:13 Martell and the scripts have been reversed engineered from apple opensource
# 18:00:48 Martell I don't use any headers on PS3 because its a baremetal target with newlib
# 18:01:02 iFire Well Smartos has it own headers
# 18:01:20 iFire uh illumos
# 18:02:26 iFire https://github.com/illumos/illumos-gate/tree/master/usr/src/head
# 18:02:41 Martell I must say though I don't know why anyone would use Solaris
# 18:03:11 Martell yup that looks about right
# 18:06:52 iFire Martell: I was thinking I could use the dynamic tracer of solaris (but dtrace works for Linux too)
# 18:07:54 Martell what are you using as your host to build on?
# 18:07:58 Martell msys or cygwin
# 18:08:09 iFire Windows.. I think it's msys.. not sure
# 18:08:21 iFire it doesn't use cygwin though
# 18:08:43 Martell well you may want to look at msys2
# 18:08:56 Martell because it has a package manager pacman
# 18:09:10 iFire from arch?
# 18:09:23 Martell and you can install mingw-i686 and mingw-x86_64 toolchains
# 18:09:36 Martell yup its taken from arch linux
# 18:09:41 iFire I already compiled a cross tool chain on solaris
# 18:09:53 iFire not that it should matter
# 18:10:07 Martell there are two package locations mingw and msys
# 18:10:07 iFire ...
# 18:10:19 Martell I'm currently making a ct-ng package for it
# 18:11:19 Martell the scripts here
# 18:11:20 Martell https://github.com/mingwandroid/ctng-firefox-builds
# 18:11:34 Martell download ct-ng patch it and build the toolchain you want
# 18:11:45 Martell all from a msys2 shell
# 18:11:53 iFire Ah, I see.
# 20:55:30 djerome joins #crosstool-ng
# 21:47:16 diorcety quits : Read error: Connection reset by peer

Generated by ibotlog2html by Yann E. MORIN