I am trying to build a "libgnustep-base.a" file in 64bit so I can possibly compile Objective-c code in cygwin86_64 using gcc, in the "gnustep-base-1.26.0" folder there is a make file that only includes this string "@echo You need to use GNU make to compile the GNUstep Base Library", well firstly I found this pretty unconventional and odd, there's also the folder named "gnustep-make-2.7.0", the manual says that this is the first build that needs to be done, I've gone thru the "./configure--->make---->make install", this actually does nothing but extremely long scans of C include files to check if some very usual function (e.g printf) exists.
for what I see you need first to download, configure and install in
Of course you need to install the
make and some other packages
$ wget https://github.com/gnustep/tools-make/releases/download/make-2_8_0/gnustep-make-2.8.0.tar.gz $ tar -xf gnustep-make-2.8.0.tar.gz $ cd gnustep-make-2.8.0 $ ./configure LDFLAGS="-Wl,--allow-multiple-definition" $ make install $ cd ..
than you can do the same with the base
$ wget https://github.com/gnustep/libs-base/releases/download/base-1_27_0/gnustep-base-1.27.0.tar.gz $ tar -xf gnustep-base-1.27.0.tar.gz $ cd gnustep-base-1.27.0 $ ./configure LDFLAGS="-Wl,--allow-multiple-definition"
#define TRUE 1 #define FALSE 1
unfortunately the build will fail later at linking stage for
relocation truncated to fit: R_X86_64_PC32 against undefined symbol `object_getRetainCount_np'
At first glance it seems that portion is part of
that does not like to be built with
gcc and ask for
For what I see Cygwin clang has not the
objC portion, but I could be wrong.