Le 05-07-25 à 11:03, Andrew Pinski a écrit :


BTW, this version now builds with gcc-4.0.1 on MacOSX -- thanks to  
whoever fixed this !

the only pitfall is that since gcc-4 has libobjc-gnu, A big cleanup  
must be made or else some -lobjc flags remain that link to Apple's  
while, strangely, -lobjc-gnu sometimes causes linking errors when no  
symbol from it are required (could be worse !)


If you link with -fgnu-runtime, it will just work, changing -lobjc
to -lobjc-gnu.

-- Pinski
The person who fixed this.

Thanks a lot, but it did not happen that way for me.  Here is an example :

gcc-dp-4.0 GSSSLHandle.m -c \
      -MMD -MP -DGNUSTEP_INSTALL_PREFIX=/opt/local/GNUstep/System -DGNUSTEP_LOCAL_ROOT=/opt/local/GNUstep/Local -DGNUSTEP_NETWORK_ROOT=/opt/local/GNUstep/Local -DGNUSTEP_TARGET_DIR=\".\" -DGNUSTEP_TARGET_CPU=\"powerpc\" -DGNUSTEP_TARGET_OS=\"darwin8.2.0\" -DLIBRARY_COMBO=\"gnu-gnu-gnu\" -Wall -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-common -DGSWARN -DGSDIAGNOSE -O2 -fno-strict-aliasing -fgnu-runtime -fconstant-string-class=NSConstantString -I./. -I../Source/. -I../Headers/Additions -I../Headers -I. -I/opt/local/include/libxml2 -I/opt/local/include \
       -o shared_obj/GSSSLHandle.o
/usr/bin/ld -bundle /usr/lib/bundle1.o        -flat_namespace -undefined warning \
        -o ./SSL.bundle/./SSL \
        ./shared_obj/GSSSLHandle.o \
         -L../Source/./shared_obj -L./shared_obj -lssl -lcrypto -lgnustep-base -lobjc

Though I'm not sure when this peculiar build happened regarding my patching efforts (maybe abusive sed scripts broke it)

I'll look at it from the begining

yves


_______________________________________________
Discuss-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to