# 00:13:46 |
mingwandroid |
quits : Ping timeout: 260 seconds |
# 01:22:24 |
mahmutov |
anybody? |
# 02:40:20 |
mahmutov |
hi |
# 03:29:24 |
jyelloz |
joins #crosstool-ng |
# 03:42:39 |
jyelloz |
Hi, does anybody have any information on how I would use crosstool-ng to build a toolchain for the freescale FRDM k64f (https://developer.mbed.org/platforms/FRDM-K64F/) to build MBED projects? |
# 03:45:25 |
jyelloz |
I have built a toolchain based on "arm-bare_newlib_cortex_m3_nommu-eabi" with some newlib-nano changes. Unfortunately, the nano.specs file references some libraries that aren't distributed with the eventual build (libc_nano, etc.). |
# 03:45:38 |
jyelloz |
quits : Quit: leaving |
# 03:45:55 |
jyelloz |
joins #crosstool-ng |
# 03:54:01 |
mahmutov |
hey jyelloz |
# 03:59:07 |
mahmutov |
parts #crosstool-ng |
# 06:56:33 |
mingwandroid |
joins #crosstool-ng |
# 07:52:22 |
diorcety |
joins #crosstool-ng |
# 08:13:34 |
diorcety |
parts #crosstool-ng |
# 08:43:39 |
mingwandroid |
quits : Read error: Connection reset by peer |
# 09:01:58 |
diorcety |
joins #crosstool-ng |
# 11:09:15 |
blueness_ |
quits : Ping timeout: 240 seconds |
# 11:12:00 |
blueness_ |
joins #crosstool-ng |
# 11:15:03 |
bhundven |
jyelloz: can you paste a log somewhere? (pastebin.osuosl.org, etc...) |
# 11:17:17 |
bhundven |
looks like there is an update for newlib as well. |
# 11:17:49 |
bhundven |
jyelloz: also pastebin your config, and I'll test it with the new newlib release to see if that fixes it. |
# 11:36:55 |
blueness_ |
quits : Ping timeout: 240 seconds |
# 11:45:47 |
Triskelios |
quits : Ping timeout: 265 seconds |
# 11:50:52 |
blueness_ |
joins #crosstool-ng |
# 11:57:38 |
bhundven |
jyelloz: although I have a sneaking suspicion what the problem is. |
# 11:58:01 |
bhundven |
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;a=blob;f=newlib/README;h=bcabfba25892bcd69b895f0b0f281e86558bb7e7;hb=HEAD#l375 |
# 11:58:19 |
bhundven |
5) As a rule, no features from outside of C89 standard will be considered in this implementation. |
# 11:59:07 |
bhundven |
https://gcc.gnu.org/gcc-5/changes.html |
# 11:59:12 |
bhundven |
The default mode for C is now -std=gnu11 instead of -std=gnu89. |
# 12:01:16 |
Triskelios |
joins #crosstool-ng |
# 12:09:21 |
bhundven |
I have two solutions for that problem |
# 12:09:33 |
bhundven |
1) provide a c89 wrapper to gcc |
# 12:10:52 |
bhundven |
2) force --enable-newlib-nano-formatted-io to `depends on !CC_GCC_5_or_later` |
# 12:11:13 |
bhundven |
I think #1 is more pragmatic. |
# 13:10:15 |
bhundven |
quits : Ping timeout: 240 seconds |
# 13:14:05 |
bhundven |
joins #crosstool-ng |
# 14:25:00 |
bhundven |
jyelloz: try https://github.com/crosstool-ng/crosstool-ng/pull/320 |
# 14:31:39 |
bhundven |
coffeeholic: I pushed changes to use wbx's elf2flt tree until the arm changes are upstream. I know you're busy right now, but I just wanted you to know. |
# 14:50:08 |
coffeeholic |
bhundven: Thank you very much. |
# 14:53:04 |
coffeeholic |
bhundven: I assume that you pushed them to crosstool-ng, did you? |
# 14:53:17 |
bhundven |
coffeeholic: yes |
# 14:53:42 |
bhundven |
coffeeholic: it is the latest commit: https://github.com/crosstool-ng/crosstool-ng/commits/master |
# 14:55:33 |
wbx |
bhundven: you could also use git protocol... |
# 14:55:49 |
wbx |
bhundven: if you like it more then http |
# 14:56:05 |
bhundven |
wbx: I hear from more and more users that they are behind proxies, and I'm constantly asked to use http(s) instead. |
# 14:56:40 |
bhundven |
wbx: so I just prefer to use the http(s) urls instead to keep the support issues down. |
# 14:57:07 |
bhundven |
wbx: I have another plan in the works after gcc 2-pass support is done to add proper version control support to ct-ng. |
# 14:57:25 |
bhundven |
https://github.com/crosstool-ng/crosstool-ng/issues/219 |
# 14:57:43 |
wbx |
bhundven: ah okay. fine. |
# 14:58:47 |
bhundven |
wbx: by proper, I mean that we can move the URLs for version control out of the scripts and into a kconfig option, and users can choose to use the version control protocol or http(s) |
# 14:59:25 |
bhundven |
as well as choose from other version control mechanisms |
# 15:10:00 |
coffeeholic |
That sounds like a very reasonable choice. |
# 15:42:09 |
bhundven |
Ok, I got to bail for a while. I'll be back this evening. |
# 15:42:35 |
bhundven |
If anyone feels like it, I posted updates to newlib: https://github.com/crosstool-ng/crosstool-ng/pull/320 |
# 15:43:18 |
bhundven |
Code-reviews, critiques, feedback, testing, slander... welcome! |
# 15:43:25 |
bhundven |
:D |
# 15:46:32 |
bhundven |
s/welcome/requested or wanted ;) |
# 15:46:54 |
bhundven |
quits : Quit: bbl |
# 15:55:48 |
jyelloz |
bhundven: Here's the config I had used earlier: https://pastebin.osuosl.org/36466/ . I will test your pull request later today. |
# 15:58:37 |
jyelloz |
Anyway, when trying to build the toolchain, I used this script (https://pastebin.osuosl.org/36471/) from the ARM GCC Embedded project (https://launchpad.net/gcc-arm-embedded). |
# 16:05:35 |
jyelloz |
I used that script as a reference to add some custom options to the ct-ng build, check line 364+ if you're unfamiliar with that project. |
# 16:06:57 |
jyelloz |
Anyway, that script seems to build regular newlib and newlib-nano from the same newlib source archive and installs both of them into the same toolchain. |
# 17:16:35 |
diorcety |
quits : Ping timeout: 276 seconds |
# 17:23:40 |
y_morin |
joins #crosstool-ng |
# 17:52:34 |
diorcety |
joins #crosstool-ng |
# 18:08:30 |
ovf |
quits : K-Lined |
# 18:08:33 |
roolebo |
quits : K-Lined |
# 18:19:53 |
roolebo |
joins #crosstool-ng |
# 18:21:03 |
ovf |
joins #crosstool-ng |
# 18:28:09 |
blueness |
quits : Quit: blueness |
# 19:33:22 |
bhundven |
joins #crosstool-ng |
# 19:49:29 |
bhundven |
gcc 2-pass status: linux cross-compile [works], bare-metal cross-compile [works], mingw-w64 cross-compile [untested], linux-linux-linux cross-canadian (x86_64-build_pc-linux-gnu, powerpc-e500v2-linux-gnuspe, arm-unknown-linux-gnueabi) [works], linux-linux-bare-metal cross-canadian [broke, working on this issue now], linux-linux-mingw-w64 cross-canadian [untested] |
# 19:50:34 |
bhundven |
after I fix the linux-linux-bare-metal, I'm going to start on the mingw-w64 variants. |
# 19:52:03 |
diorcety1 |
joins #crosstool-ng |
# 19:59:34 |
diorcety2 |
joins #crosstool-ng |
# 20:01:50 |
diorcety1 |
quits : Ping timeout: 256 seconds |
# 20:06:11 |
blueness |
joins #crosstool-ng |
# 21:12:16 |
bhundven |
quits : Remote host closed the connection |
# 23:34:55 |
y_morin |
quits : Quit: Nighty Night! |