public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/26683]  New: sparc-solaris likes -pthreads, linux likes -pthread
@ 2006-03-14 18:39 leisner at rochester dot rr dot com
  2006-03-14 18:42 ` [Bug target/26683] " pinskia at gcc dot gnu dot org
  2006-03-14 22:35 ` ebotcazou at gcc dot gnu dot org
  0 siblings, 2 replies; 3+ messages in thread
From: leisner at rochester dot rr dot com @ 2006-03-14 18:39 UTC (permalink / raw)
  To: gcc-bugs

Did a search -- didn't see this...I'm porting threaded software between
solaris and linux and came across this...

bash2 :2 mleisner@santa 01:30:15; gcc -v
Reading specs from
/usr/local/gcc-3.4.5/lib/gcc/sparc-sun-solaris2.8/3.4.5/specs
Configured with: /usr/local/src/gnu/gcc-3.4.5/configure
--prefix=/usr/local/gcc-3.4.5 --disable-multilib --with-as=/usr/local/bin/as
--with-ld=/usr/local/bin/ld --enable-threads=posix --disable-nls
--enable-languages=c,c++
Thread model: posix
gcc version 3.4.5
bash2 :2 mleisner@santa 01:30:18; gcc -pthread
gcc: unrecognized option `-pthread'
gcc: no input files
bash2 :2 mleisner@santa 01:30:21; gcc -pthreads
gcc: no input files


:1 mleisner@linuxcom-00 01:30:44; gcc -v
Reading specs from /u/mleisner/lib/gcc/i686-pc-linux-gnu/3.4.5/specs
Configured with: ../../src/gcc-3.4.5/configure --prefix=/u/mleisner
--enable-__cxa_atexit --disable-nls --enable-languages=c,c++
Thread model: posix
gcc version 3.4.5
:1 mleisner@linuxcom-00 01:30:46; gcc -pthread
gcc: no input files
:1 mleisner@linuxcom-00 01:30:53; gcc -pthreads
gcc: unrecognized option `-pthreads'
gcc: no input files

Its different in the spec files -- its spelled -pthread in the documentation...


-- 
           Summary: sparc-solaris likes -pthreads, linux likes -pthread
           Product: gcc
           Version: 3.4.5
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: leisner at rochester dot rr dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26683


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

* [Bug target/26683] sparc-solaris likes -pthreads, linux likes -pthread
  2006-03-14 18:39 [Bug c/26683] New: sparc-solaris likes -pthreads, linux likes -pthread leisner at rochester dot rr dot com
@ 2006-03-14 18:42 ` pinskia at gcc dot gnu dot org
  2006-03-14 22:35 ` ebotcazou at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-03-14 18:42 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2006-03-14 18:42 -------
Fixed in 4.2.0 by saying -pthread on solaris is now the same as -pthreads.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
          Component|c                           |target
         Resolution|                            |FIXED
   Target Milestone|---                         |4.2.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26683


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

* [Bug target/26683] sparc-solaris likes -pthreads, linux likes -pthread
  2006-03-14 18:39 [Bug c/26683] New: sparc-solaris likes -pthreads, linux likes -pthread leisner at rochester dot rr dot com
  2006-03-14 18:42 ` [Bug target/26683] " pinskia at gcc dot gnu dot org
@ 2006-03-14 22:35 ` ebotcazou at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2006-03-14 22:35 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from ebotcazou at gcc dot gnu dot org  2006-03-14 22:35 -------
> Fixed in 4.2.0 by saying -pthread on solaris is now the same as -pthreads.

In fact in 4.1.0 too.


-- 

ebotcazou at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ebotcazou at gcc dot gnu dot
                   |                            |org
   Target Milestone|4.2.0                       |4.1.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26683


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

end of thread, other threads:[~2006-03-14 22:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-14 18:39 [Bug c/26683] New: sparc-solaris likes -pthreads, linux likes -pthread leisner at rochester dot rr dot com
2006-03-14 18:42 ` [Bug target/26683] " pinskia at gcc dot gnu dot org
2006-03-14 22:35 ` ebotcazou at gcc dot gnu dot org

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).