Hello John and Erick,

Actually everything is running fine, so far :)

On Aug 28, 2006, at 5:25 PM, skaller wrote:

>> In flx_config_builders.ipk, the system tries to discover the correct
>> pthreads package.  The problem is, simple pthreaded programs work
>> without -lpthread, so the PTHREAD_SWITCH is set to ' '.  This may
>> work for simple programs but I don't know about more complex
>> programs-- adding -lpthread may set certain flags; I haven't checked
>> that carefully, yet).

[Erick, this is also posted for the benefit of list members]
On Darwin (Mac OS X) you do not need to link to the pthread library  
because the system library, libSystem.dylib already contains the  
pthread symbols.  Since libSystem.dylib is linked implicitly by Apple- 
gcc 4.0.1, you don't need to pass -lpthread.

> I don't think so. What you're thinking of is that on some
> systems you have to use an actual switch like -pthread

I understand the flag problem, but there could always be an odd  
system that recognised the linkage of libpthread or required certain  
symbols as a setting for flags.  My confusion came from the gcc  
documentation and the gcc complaint on Darwin if (as when porting a  
program from linux) the Makefile uses -pthread: gcc complains that  
you should use -lpthread...

> So you may be right, some functions may fail .. I doubt the
> issue is one of complexity so much as additional functions
> required.

I do know that the Mach kernel implementation of pthreads does not  
have shared barriers.

> So although the build process AND configuration is
> now fairly modular, we're not all the way there yet.
> I keep throwing in new stuff to try to get enough
> cases to force a refactoring.

Do you think you could use Scons?  You could still put it all  
together with Interscript and then run the Sconscript files after  
unpacking, I guess.

> OpenGL didn't support some of the functions.

OpenGL is notorious :(



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Felix-language mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/felix-language

Reply via email to