public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Problems with egcs and POSIX threads on AIX
@ 1999-05-25 12:48 Tom Williams
  1999-05-25 13:52 ` David Edelsohn
  1999-05-31 21:36 ` Tom Williams
  0 siblings, 2 replies; 4+ messages in thread
From: Tom Williams @ 1999-05-25 12:48 UTC (permalink / raw)
  To: egcs

Hi!  I've been having problems compiling programs on AIX 4.3.1 that use
POSIX threads.  I'm currently using egcs-19990517 and I am building
egcs-19990524 at the time of this writing.  I was trying to build
glib-1.2.3 and it found the POSIX thread support and headers files and
stuff just fine, but it chocked when trying to compile a module that
included /usr/include/pthread.h because it encountered a parsing error and
it complained about mismatched curly braces.  I'll try building egcs-1.1.2
to see if the problem still occurs, but I was just wondering if there are
any other AIX users out there who have had problems with POSIX threads on
AIX and egcs?  I was able to get glib-1.2.3 compiled using cc (IBM's
compiler), but not with gcc (egcs).

Any ideas?

Thanks in advance for your time!

Peace.....

Tom Williams
tom.williams@diversifiedsoftware.com


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

* Re: Problems with egcs and POSIX threads on AIX
  1999-05-25 12:48 Problems with egcs and POSIX threads on AIX Tom Williams
@ 1999-05-25 13:52 ` David Edelsohn
  1999-05-31 21:36   ` David Edelsohn
  1999-05-31 21:36 ` Tom Williams
  1 sibling, 1 reply; 4+ messages in thread
From: David Edelsohn @ 1999-05-25 13:52 UTC (permalink / raw)
  To: Tom Williams; +Cc: egcs

	Are you invoking XLC with cc_r or xlc_r?  Are you invoking EGCS
with "gcc -mthreads"?  You need to invoke either compiler with re-entrant
thread support enabled.

David

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

* Problems with egcs and POSIX threads on AIX
  1999-05-25 12:48 Problems with egcs and POSIX threads on AIX Tom Williams
  1999-05-25 13:52 ` David Edelsohn
@ 1999-05-31 21:36 ` Tom Williams
  1 sibling, 0 replies; 4+ messages in thread
From: Tom Williams @ 1999-05-31 21:36 UTC (permalink / raw)
  To: egcs

Hi!  I've been having problems compiling programs on AIX 4.3.1 that use
POSIX threads.  I'm currently using egcs-19990517 and I am building
egcs-19990524 at the time of this writing.  I was trying to build
glib-1.2.3 and it found the POSIX thread support and headers files and
stuff just fine, but it chocked when trying to compile a module that
included /usr/include/pthread.h because it encountered a parsing error and
it complained about mismatched curly braces.  I'll try building egcs-1.1.2
to see if the problem still occurs, but I was just wondering if there are
any other AIX users out there who have had problems with POSIX threads on
AIX and egcs?  I was able to get glib-1.2.3 compiled using cc (IBM's
compiler), but not with gcc (egcs).

Any ideas?

Thanks in advance for your time!

Peace.....

Tom Williams
tom.williams@diversifiedsoftware.com


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

* Re: Problems with egcs and POSIX threads on AIX
  1999-05-25 13:52 ` David Edelsohn
@ 1999-05-31 21:36   ` David Edelsohn
  0 siblings, 0 replies; 4+ messages in thread
From: David Edelsohn @ 1999-05-31 21:36 UTC (permalink / raw)
  To: Tom Williams; +Cc: egcs

	Are you invoking XLC with cc_r or xlc_r?  Are you invoking EGCS
with "gcc -mthreads"?  You need to invoke either compiler with re-entrant
thread support enabled.

David

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

end of thread, other threads:[~1999-05-31 21:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-05-25 12:48 Problems with egcs and POSIX threads on AIX Tom Williams
1999-05-25 13:52 ` David Edelsohn
1999-05-31 21:36   ` David Edelsohn
1999-05-31 21:36 ` Tom Williams

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