public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c/5226: -mthreads not available in gcc 3.0.3 but still in doc
@ 2001-12-31  3:36 jzago
  0 siblings, 0 replies; 2+ messages in thread
From: jzago @ 2001-12-31  3:36 UTC (permalink / raw)
  To: gcc-gnats


>Number:         5226
>Category:       c
>Synopsis:       -mthreads not available in gcc 3.0.3 but still in doc
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Dec 31 03:36:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Jerome Zago
>Release:        3.0.3
>Organization:
>Environment:
System: AIX laursf8 3 4 005607BA4C00


	
host: powerpc-ibm-aix4.3.3.0
build: powerpc-ibm-aix4.3.3.0
target: powerpc-ibm-aix4.3.3.0
configured with: /users/ie/jza/src/orig/gcc-3.0.3/configure --prefix=/users/ie/jza --exec-prefix=/users/ie/jza/arch/laursf8 --enable-shared --enable-threads=posix
>Description:
	The -mthreads option isn't accepted by gcc anymore (i.e. it was for 
	release 2.95.3) although it's still documented in the texinfo file.
>How-To-Repeat:
	$ cat test.c
	#include <pthread.h>

	int main(int argc, char **argv)
	{
	   pthread_exit(NULL);
	   return 0;
	}
	$ make
	gcc -mthreads   -c -o test.o test.c
	cc1: Invalid option `threads'
	make: *** [test.o] Error 1
>Fix:
	Maybe the documentation should replace -mthreads by -pthread ?
>Release-Note:
>Audit-Trail:
>Unformatted:


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: c/5226: -mthreads not available in gcc 3.0.3 but still in doc
@ 2002-01-02 20:39 rodrigc
  0 siblings, 0 replies; 2+ messages in thread
From: rodrigc @ 2002-01-02 20:39 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, jzago, nobody

Synopsis: -mthreads not available in gcc 3.0.3 but still in doc

State-Changed-From-To: open->closed
State-Changed-By: rodrigc
State-Changed-When: Wed Jan  2 20:39:39 2002
State-Changed-Why:
    Fixed in gcc 3.1 mainline:
    http://gcc.gnu.org/ml/gcc-patches/2002-01/msg00021.html

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5226


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-01-03  4:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-31  3:36 c/5226: -mthreads not available in gcc 3.0.3 but still in doc jzago
2002-01-02 20:39 rodrigc

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).