Re: IOS support status

2018-06-07 Thread Joakim via Digitalmars-d
On Thursday, 7 June 2018 at 05:58:48 UTC, makedgreatagain wrote: The last IOS cross compiler https://github.com/smolt/ldc-iphone-dev/releases based on 0.17.0-alpha1, which is 3 years old. I want to ask for suggestion, how can i build a cross LDC2 compiler with just betterC function to work.

Re: IOS support status

2018-06-07 Thread makedgreatagain via Digitalmars-d
On Thursday, 7 June 2018 at 07:58:19 UTC, Joakim wrote: On Thursday, 7 June 2018 at 05:58:48 UTC, makedgreatagain wrote: The last IOS cross compiler https://github.com/smolt/ldc-iphone-dev/releases based on 0.17.0-alpha1, which is 3 years old. I want to ask for suggestion, how can i build a c

Re: IOS support status

2018-06-07 Thread Joakim via Digitalmars-d
On Thursday, 7 June 2018 at 11:58:58 UTC, makedgreatagain wrote: On Thursday, 7 June 2018 at 07:58:19 UTC, Joakim wrote: [...] Thanks for you suggestion Joakim. I try follow your suggestion, get all commit from origin branch (116 commit by Dan Olson fro IOS brnach). When I try cherry pick

Re: IOS support status

2018-06-10 Thread makedgreatagain via Digitalmars-d
On Thursday, 7 June 2018 at 14:12:15 UTC, Joakim wrote: On Thursday, 7 June 2018 at 11:58:58 UTC, makedgreatagain wrote: On Thursday, 7 June 2018 at 07:58:19 UTC, Joakim wrote: [...] Thanks for you suggestion Joakim. I try follow your suggestion, get all commit from origin branch (116 comm

Re: IOS support status

2018-06-10 Thread Joakim via Digitalmars-d
On Monday, 11 June 2018 at 02:58:28 UTC, makedgreatagain wrote: On Thursday, 7 June 2018 at 14:12:15 UTC, Joakim wrote: On Thursday, 7 June 2018 at 11:58:58 UTC, makedgreatagain wrote: On Thursday, 7 June 2018 at 07:58:19 UTC, Joakim wrote: [...] Thanks for you suggestion Joakim. I try foll

Re: IOS support status

2018-06-11 Thread Joakim via Digitalmars-d
On Monday, 11 June 2018 at 04:02:15 UTC, Joakim wrote: On Monday, 11 June 2018 at 02:58:28 UTC, makedgreatagain wrote: On Thursday, 7 June 2018 at 14:12:15 UTC, Joakim wrote: [...] Thanks for your help. The side thing is betterC change also base on d based branch, which is very hard to bac

Re: IOS support status

2018-06-12 Thread makedgreatagain via Digitalmars-d
On Tuesday, 12 June 2018 at 04:23:51 UTC, Joakim wrote: On Monday, 11 June 2018 at 04:02:15 UTC, Joakim wrote: On Monday, 11 June 2018 at 02:58:28 UTC, makedgreatagain wrote: On Thursday, 7 June 2018 at 14:12:15 UTC, Joakim wrote: [...] Thanks for your help. The side thing is betterC change

Re: IOS support status

2018-06-12 Thread makedgreatagain via Digitalmars-d
On Tuesday, 12 June 2018 at 04:23:51 UTC, Joakim wrote: On Monday, 11 June 2018 at 04:02:15 UTC, Joakim wrote: On Monday, 11 June 2018 at 02:58:28 UTC, makedgreatagain wrote: On Thursday, 7 June 2018 at 14:12:15 UTC, Joakim wrote: [...] Thanks for your help. The side thing is betterC change

Re: IOS support status

2018-06-12 Thread Joakim via Digitalmars-d
On Wednesday, 13 June 2018 at 02:18:55 UTC, makedgreatagain wrote: On Tuesday, 12 June 2018 at 04:23:51 UTC, Joakim wrote: On Monday, 11 June 2018 at 04:02:15 UTC, Joakim wrote: On Monday, 11 June 2018 at 02:58:28 UTC, makedgreatagain wrote: On Thursday, 7 June 2018 at 14:12:15 UTC, Joakim wro

Re: IOS support status

2018-06-14 Thread makedgreatagain via Digitalmars-d
On Wednesday, 13 June 2018 at 02:33:22 UTC, Joakim wrote: On Wednesday, 13 June 2018 at 02:18:55 UTC, makedgreatagain wrote: When I cherry pick the commit 08041422, git report the IOS branch dose not have function `getCAssertFunctionName` , `DtoCAssert` there seems missing some old commit fr

Re: IOS support status

2018-06-14 Thread makedgreatagain via Digitalmars-d
On Friday, 15 June 2018 at 05:26:57 UTC, makedgreatagain wrote: On Wednesday, 13 June 2018 at 02:33:22 UTC, Joakim wrote: On Wednesday, 13 June 2018 at 02:18:55 UTC, makedgreatagain wrote: When I cherry pick the commit 08041422, git report the IOS branch dose not have function `getCAssertFunc

Re: IOS support status

2018-06-14 Thread Joakim via Digitalmars-d
On Friday, 15 June 2018 at 05:35:02 UTC, makedgreatagain wrote: On Friday, 15 June 2018 at 05:26:57 UTC, makedgreatagain wrote: [...] I use git apply --reject --whitespace=fix to patch and it working now. [...] Not sure about llvm, but rather than use his script, it should work with CMak

Re: IOS support status

2018-06-15 Thread makedgreatagain via Digitalmars-d
On Friday, 15 June 2018 at 05:42:48 UTC, Joakim wrote: On Friday, 15 June 2018 at 05:35:02 UTC, makedgreatagain wrote: On Friday, 15 June 2018 at 05:26:57 UTC, makedgreatagain wrote: [...] I use git apply --reject --whitespace=fix to patch and it working now. [...] Not sure about llvm, b

Re: IOS support status

2018-06-15 Thread Joakim via Digitalmars-d
On Friday, 15 June 2018 at 11:25:11 UTC, makedgreatagain wrote: On Friday, 15 June 2018 at 05:42:48 UTC, Joakim wrote: On Friday, 15 June 2018 at 05:35:02 UTC, makedgreatagain wrote: On Friday, 15 June 2018 at 05:26:57 UTC, makedgreatagain wrote: [...] I use git apply --reject --whitespace=f

Re: IOS support status

2018-06-15 Thread makedgreatagain via Digitalmars-d
On Friday, 15 June 2018 at 11:30:40 UTC, Joakim wrote: On Friday, 15 June 2018 at 11:25:11 UTC, makedgreatagain wrote: On Friday, 15 June 2018 at 05:42:48 UTC, Joakim wrote: Cmake build recent LLVM is ok, but not the ios llvm for d, report same error. You're using his llvm 3.6.2 branch with

Re: IOS support status

2018-06-15 Thread Joakim via Digitalmars-d
On Friday, 15 June 2018 at 13:18:25 UTC, makedgreatagain wrote: On Friday, 15 June 2018 at 11:30:40 UTC, Joakim wrote: On Friday, 15 June 2018 at 11:25:11 UTC, makedgreatagain wrote: On Friday, 15 June 2018 at 05:42:48 UTC, Joakim wrote: Cmake build recent LLVM is ok, but not the ios llvm for

Re: IOS support status

2018-06-16 Thread makedgreatagain via Digitalmars-d
On Friday, 15 June 2018 at 14:50:08 UTC, Joakim wrote: On Friday, 15 June 2018 at 13:18:25 UTC, makedgreatagain wrote: On Friday, 15 June 2018 at 11:30:40 UTC, Joakim wrote: Sounds like something wrong in your environment then, as I just checked out his last llvm ios-release_362 branch in a l

Re: IOS support status

2018-06-16 Thread Joakim via Digitalmars-d
On Saturday, 16 June 2018 at 08:10:35 UTC, makedgreatagain wrote: On Friday, 15 June 2018 at 14:50:08 UTC, Joakim wrote: [...] Thanks a lot, after I modify llvm/autoconf/AutoRegen.sh (to allow use the version of my pc), and regenerate config.guess, cmake build start to working. and now I

Re: IOS support status

2018-06-16 Thread makedgreatagain via Digitalmars-d
On Saturday, 16 June 2018 at 10:40:44 UTC, Joakim wrote: On Saturday, 16 June 2018 at 08:10:35 UTC, makedgreatagain wrote: On Friday, 15 June 2018 at 14:50:08 UTC, Joakim wrote: [...] Thanks a lot, after I modify llvm/autoconf/AutoRegen.sh (to allow use the version of my pc), and regenerate

Re: IOS support status

2018-06-16 Thread makedgreatagain via Digitalmars-d
On Saturday, 16 June 2018 at 12:59:48 UTC, makedgreatagain wrote: On Saturday, 16 June 2018 at 10:40:44 UTC, Joakim wrote: I dont know what to deal with global.params.targetTriple.isOSDarwin and global.params.targetTriple.isMacOSX when I try merge it into ldc/master. should I keep both or jus

Re: IOS support status

2018-06-16 Thread Joakim via Digitalmars-d
On Saturday, 16 June 2018 at 13:18:34 UTC, makedgreatagain wrote: On Saturday, 16 June 2018 at 12:59:48 UTC, makedgreatagain wrote: On Saturday, 16 June 2018 at 10:40:44 UTC, Joakim wrote: I dont know what to deal with global.params.targetTriple.isOSDarwin and global.params.targetTriple.isMacO

Re: IOS support status

2018-06-16 Thread Uknown via Digitalmars-d
On Saturday, 16 June 2018 at 12:59:48 UTC, makedgreatagain wrote: On Saturday, 16 June 2018 at 10:40:44 UTC, Joakim wrote: On Saturday, 16 June 2018 at 08:10:35 UTC, makedgreatagain wrote: On Friday, 15 June 2018 at 14:50:08 UTC, Joakim wrote: [...] I dont know what to deal with global.params

Re: IOS support status

2018-06-18 Thread makedgreatagain via Digitalmars-d
On Sunday, 17 June 2018 at 01:50:14 UTC, Uknown wrote: On Saturday, 16 June 2018 at 12:59:48 UTC, makedgreatagain Darwin can generally imply either macOS, tvOS or iOS, as far as I can tell. Thanks for tips. @Joakim I speed the weekend on this and with no good results. abi-ios is not work

Re: IOS support status

2018-06-19 Thread Joakim via Digitalmars-d
On Monday, 18 June 2018 at 07:02:44 UTC, makedgreatagain wrote: On Sunday, 17 June 2018 at 01:50:14 UTC, Uknown wrote: On Saturday, 16 June 2018 at 12:59:48 UTC, makedgreatagain Darwin can generally imply either macOS, tvOS or iOS, as far as I can tell. Thanks for tips. @Joakim I speed th

Re: IOS support status

2018-06-20 Thread makedgreatagain via Digitalmars-d
On Wednesday, 20 June 2018 at 05:26:25 UTC, Joakim wrote: Do you mean ltsmaster or master? There shouldn't be much change with the former. master branch. The TLS patches shouldn't be needed after llvm 3.8 or so, ie you should be able to use a stock llvm for iOS: https://forum.dlang.org/thre

Re: IOS support status

2018-06-21 Thread Joakim via Digitalmars-d
On Wednesday, 20 June 2018 at 07:25:37 UTC, makedgreatagain wrote: On Wednesday, 20 June 2018 at 05:26:25 UTC, Joakim wrote: Do you mean ltsmaster or master? There shouldn't be much change with the former. master branch. The TLS patches shouldn't be needed after llvm 3.8 or so, ie you should

Re: IOS support status

2018-06-28 Thread elvisxzhou via Digitalmars-d
On Wednesday, 20 June 2018 at 07:25:37 UTC, makedgreatagain wrote: On Wednesday, 20 June 2018 at 05:26:25 UTC, Joakim wrote: [...] master branch. [...] this is great. [...] the origin ldc with your patch is working. but I find it is very limit betterC support with old version(some co