RE: Help building GNUstep from scratch

2020-07-15 Thread Michael Sullivan
now installing from source. From: Johannes Brakensiek<mailto:johan...@brakensiek.info> Sent: Wednesday, July 15, 2020 03:31 To: discuss-gnustep@gnu.org<mailto:discuss-gnustep@gnu.org> Subject: Re: Help building GNUstep from scratch On 15 Jul 2020, at 5:29, Patryk Laurent wrote

Re: Help building GNUstep from scratch

2020-07-15 Thread Johannes Brakensiek
On 15 Jul 2020, at 5:29, Patryk Laurent wrote: What OS/distribution are you building under, and what version of clang?  A few of us have put together build scripts that use the latest GNUstep source using all the modern Objective-C features at  — perh

Re: Help building GNUstep from scratch

2020-07-14 Thread Patryk Laurent
Hi Michael, > On Jul 14, 2020, at 19:13, Michael Lastname > wrote: > >  > Firstly I’d like to apologize for inadvertently sending this message to the > wrong mailing list, I’m very sorry about that. Welcome — I hope you still have all your limbs intact! :-) > Below is the same message, but

Help building GNUstep from scratch

2020-07-14 Thread Michael Lastname
Firstly I’d like to apologize for inadvertently sending this message to the wrong mailing list, I’m very sorry about that. Below is the same message, but this time in the correct list: I’m following the guide listed here http://wiki.gnustep.org/index.php/Building_GNUstep_with_Clang but on step

Re: building GNUstep from scratch

2018-08-22 Thread David Chisnall
On 22 Aug 2018, at 11:07, Andreas Fink wrote: > > git clone https://git.llvm.org/git/llvm.git/ > cd llvm/tools > git clone https://git.llvm.org/git/clang.git/ > cd ../projects > git clone https://git.llvm.org/git/compiler-rt.git/ > git clone https://git.llvm.org/git/openmp.git/ > git clone https:

Re: building GNUstep from scratch

2018-08-22 Thread Andreas Fink
I had good success with libojbc/clang under debian9 (stretch). I wouldn't want to go back to gcc due to non support of certain stuff I use every day (the stuff which apple introduced in what they called objc2.0). Part is working in recent gcc's though but I like clangs error reporting and better

Re: building GNUstep from scratch

2018-08-21 Thread Riccardo Mottola
Hi, On 08/22/18 00:34, Scott Christley wrote: Honestly, I'm not sure if I need the modern runtime or not. I do use NSInvocation stuff quite a bit but I don't think this code base needs the runtime introspection stuff... you need he modern runtime if you need modern features like blocks. Also

Re: building GNUstep from scratch

2018-08-21 Thread Ivan Vučica
For reference, this is one way to do it: cmake .. -DCMAKE_CXX_COMPILER=clang -DCMAKE_C_COMPILER=clang Though it should, I think, default to clang if installed. On Tue, Aug 21, 2018 at 9:24 PM Scott Christley wrote: > > No, it isn't using clang when compiling libobjc2. It is calling /usr/bin/cc >

Re: building GNUstep from scratch

2018-08-21 Thread Scott Christley
Thanks Riccardo, after awhile I had the same thought. I tried using GCC and everything seemed to go well, though I haven't tried my code yet but will soon. Honestly, I'm not sure if I need the modern runtime or not. I do use NSInvocation stuff quite a bit but I don't think this code base needs

Re: building GNUstep from scratch

2018-08-21 Thread Riccardo Mottola
Hi, On 21/08/2018 21:29, Scott Christley wrote: I installed a bunch of dependencies which was fine, including libdispatch and libblockruntime which are hope are not too old. Next, I installed clang 6.0.1 binaries, then tried to compile libobjc2 1.8.1 which is where I've run into trouble. I'm

Re: building GNUstep from scratch

2018-08-21 Thread Scott Christley
No, it isn't using clang when compiling libobjc2. It is calling /usr/bin/cc which is pointing to gcc. I'll figure out how to get that to point to clang and give it another try. thanks! Scott On Aug 21, 2018, at 02:43 PM, Ivan Vučica wrote: Are you sure it’s actually using Clang? Try "make VE

Re: building GNUstep from scratch

2018-08-21 Thread Ivan Vučica
Are you sure it’s actually using Clang? Try "make VERBOSE=1” according to https://stackoverflow.com/a/2673355 On 21 August 2018 at 19:30:40, Scott Christley (schrist...@mac.com) wrote: Hello All, It's awhile since I've built GNUstep from scratch, and I'm having trouble with my initial attempts,

building GNUstep from scratch

2018-08-21 Thread Scott Christley
Hello All, It's awhile since I've built GNUstep from scratch, and I'm having trouble with my initial attempts, so I hope somebody can give me some pointers. I only need to get as far as gnustep-base for my code to work. Some quick background: * I'm working on a supercomputer which has quite ol