Re: gcc compiling problem
- From: Mike Stroyan <mike.stroyan@xxxxxx>
- Date: 19 May 2006 14:14:44 -0600
Yinghui Zhang <y.zhang@xxxxxxxxxxxxxx> wrote:
I am trying to compile a C programm on a hp c3000, the program is very
simple it creates a glut window and that's all. I compile it using gcc
4.1 and got some problems:
------------------------------
/opt/graphics/OpenGL/include/GL/glHPInt:33:error: thread-local storage
not supported for this target
------------------------------
The gl.h header file includes glHpInt.h, which uses macros to make
faster calls to OpenGL functions. The macros call through an array of
function pointers that is declared as thread local storage.
gcc can't cope with the __thread storage type. You can avoid the
entire macro mechanism and use normal function calls by compiling with
"-D__glHpInt_h__" to ifdef away the body of glHpInt.h.
.
- Follow-Ups:
- Re: gcc compiling problem
- From: Yinghui Zhang
- Re: gcc compiling problem
- References:
- gcc compiling problem
- From: Yinghui Zhang
- gcc compiling problem
- Prev by Date: Re: gcc compiling problem
- Next by Date: c3600 scsi disk problem
- Previous by thread: Re: gcc compiling problem
- Next by thread: Re: gcc compiling problem
- Index(es):
Relevant Pages
|
|