dave@apu>/usr/local/GNUstep/System/Tools/gnustep-config --objc-libs
-rdynamic -L/usr/local/lib -fstack-protector -pthread -fexceptions -fobjc-runtime=gnustep-1.8 -fblocks -L/home/dave/GNUstep/Library/Libraries -L/usr/local/GNUstep/Local/Library/Libraries -L/usr/local/GNUstep/System/Library/Libraries -L/usr/local/lib -lobjc -fobjc-nonfragile-abi -lm
dave@apu>/usr/local/GNUstep/System/Tools/gnustep-config --objc-flags
-MMD -MP -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNUSTEP_RUNTIME=1 -D_NONFRAGILE_ABI=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing -fexceptions -fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS -pthread -fPIC -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -O2 -pipe -fstack-protector -fno-strict-aliasing -O2 -pipe -fstack-protector -fno-strict-aliasing -Wno-import -I/usr/local/include -fobjc-runtime=gnustep-1.8 -fblocks -fconstant-string-class=NSConstantString -I. -I/home/dave/GNUstep/Library/Headers -I/usr/local/GNUstep/Local/Library/Headers -I/usr/local/GNUstep/System/Library/Headers -I/usr/local/include
dave@apu>pkg info |grep -i gnustep
gnustep-base-1.26.0_1 GNUstep Foundation library
gnustep-make-2.7.0_3 GNUstep makefile package
dave@apu>uname -v
FreeBSD 11.2-RELEASE-p8 #0: Tue Jan 8 21:35:12 UTC 2019 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC
Von meinem iPhone gesendet
I reinstalled a fresh new FreeBSD VM and did install the package gnustep-base again.
Now /usr/local/GNUstep/System/Tools/gnustep-config returns absolutely nothing:
$ /usr/local/GNUstep/System/Tools/gnustep-config --objc-libs
$ /usr/local/GNUstep/System/Tools/gnustep-config --objc-flags
WTF. Like every time I try to use gnustep on any system there is some magic thing happening <somewhere> which screws up my builds. I've now tried on 6 different OS versions/build environments. I think the gnustep-make / build environment is so delicate that it's time to rethink it seriously. Otherwise Gnustep can never become mainstream.
It's a mystic combination of compiler version, linker, environment-variables, gnustep-make config files. This is a recipe for failure.
And I'm only talking about gnustep-base/libobjc2 , not even gui or anymore difficult dependencies. Just really basic stuff.
On 11/02/2019 15:56, Andreas Fink wrote:
[root@freebsd /etc]# /usr/local/GNUstep/System/Tools/gnustep-config --objc-libs
-rdynamic -L/usr/local/lib -fstack-protector -pthread -fexceptions -fobjc-runtime=gnustep-1.8 -fblocks -L/root/GNUstep/Library/Libraries -L/usr/local/GNUstep/Local/Library/Libraries -L/usr/local/GNUstep/System/Library/Libraries -L/usr/local/lib -lobjc -fobjc-nonfragile-abi -lm
You probably still have some stuff in /etc or /usr/local/etc from your previous gnustep-make install that it's picking up (e.g. a GNUstep.conf?).
David
Andreas Fink
------------------------------------------------------------------
Fink Telecom Services, Paradieshofstrasse 101, 4054 Basel, Switzerland
Mobile: +41-78-6677333
------------------------------------------------------------------