URL:
  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=15164>

                 Summary: Building Tools on Darwin 8 with FSF GCC causes
executable to link against Apple OBJC lib 
                 Project: GNUstep
            Submitted by: ezephir
            Submitted on: Wed 12/07/05 at 04:19
                Category: Makefiles
                Severity: 3 - Normal
              Item Group: Bug
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open

    _______________________________________________________

Details:

It seems that the GNUStep makefiles (GNUMake 1.11.1), upon making a tool,
actually link against Apple's objective-c libraries by specifying -lobjc to
the linker. This causes make_services and other similar tools to crash while
compiling GNUStep.

I fixed this by adding RUNTIME_FLAG to the linker rule in the tool.make
Instance makefile. This way -fgnu-runtime gets specified, which results in
the gnu objc library being linked regardless of -lobjc.






    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=15164>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



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

Reply via email to