On Jun 4, 2004, at 11:09 AM, Vladimir Leven wrote:

If someone can help with the following problem, I'd appreciate it. I am trying to generate a statically linked executable. Building a dynamically linked executable works, but when I add the "-static" flag to my linker, it fails, saying gnustep-base cannot be found:

[EMAIL PROTECTED] ObjCRTUDemo]# make
gcc -o WRXScheduler main.o WRXScheduler.o -lgnustep-base -lobjc -L/usr/GNUstep/System/Library/Libraries -static
/usr/bin/ld: cannot find -lgnustep-base
collect2: ld returned 1 exit status
make: *** [WRXScheduler] Error 1



Do you have a statically linked gnustep-base library (gnustep-base.a)? Should get this with


make shared=no

although I'm not even sure static GNUstep libraries work.



_______________________________________________
Help-gnustep mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/help-gnustep

Reply via email to