bugGNUstep - Bugs: bug #25656, --with-thread-lib has no effect

Group
 
 

bug #25656: --with-thread-lib has no effect

Submitter:  Truls Becken <bogomipz>
Submitted:  Sat 21 Feb 2009 01:35:20 PM UTC
   
 
Category:  Makefiles Severity:  3 - Normal
Item Group:  Bug Status:  Invalid
Privacy:  Public Assigned to:  None
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 21 Feb 2009 02:45:50 PM UTC, comment #1: 


> In order to use GNUstep's version of libobjc, however,
> -make must be configured using --with-thread-lib
> because libobjc is not yet installed.


I don't think that statement is true.

IIRC the procedure for using GNUstep's libobjc is:
1. configure/build/install gnustep-make (no special options required)
2. build/install libobjc
3. go back and configure/build/install gnustep-make again

The --with-thread-lib option is to tell configure what thread library to try to use with libobjc.  If there is no libobjc installed then you can't use a thread library with ilibobjc.

Richard Frith-Macdonald <CaS>
Group Member
Sat 21 Feb 2009 01:35:20 PM UTC, original submission:  

When using GCC's libobjc, -make figures out what threading library to use from the already installed libobjc.

In order to use GNUstep's version of libobjc, however, -make must be configured using --with-thread-lib because libobjc is not yet installed.

My problem is that using --with-thread-lib="-lpthread" has no effect. $(GNUSTEP_MAKEFILES)/config.make ends up as;

ifndef objc_threaded
  objc_threaded:=
endif

Truls Becken <bogomipz>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by CaS (Posted a comment)
  • -email is unavailable- added by bogomipz (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-02-21 CaS StatusNone Invalid
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code