bugGNUstep - Bugs: bug #15164, Building Tools on Darwin 8 with...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #15164: Building Tools on Darwin 8 with FSF GCC causes executable to link against Apple OBJC lib

Submitted by:  Emanuel Zephir <ezephir>
Submitted on:  Wed 07 Dec 2005 09:19:07 AM UTC  
 
Category: MakefilesSeverity: 3 - Normal
Item Group: BugStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Closed

Thu 17 Jan 2008 01:25:15 AM UTC, comment #1:

As far as I can see (and test) in the current gnustep-make,
RUNTIME_FLAG is automatically used when linking tools, so
-fgnu-runtime is passed to gcc even when linking, which is
reported to solve the problem that Emanuel was having. :-)

Thanks

Nicola Pero <nico>
Project Member
Wed 07 Dec 2005 09:19:07 AM UTC, original submission:

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.

Emanuel Zephir <ezephir>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by nico (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 17 Jan 2008 01:25:15 AM UTCnicoOpen/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1