bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #15164] Building Tools on Darwin 8 with FSF GCC causes executable t


From: Emanuel Zephir
Subject: [bug #15164] Building Tools on Darwin 8 with FSF GCC causes executable to link against Apple OBJC lib
Date: Wed, 7 Dec 2005 04:19:08 -0500
User-agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/416.12 (KHTML, like Gecko) Safari/416.13

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/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]