They want that pthreads flags and libs to be specified namely to the program it is compiling.
Ok. I guess this is due to some system-wide configuration option? Where is the option specified?
I have some patches and tryed some works on CVS but it cannot use the specified flags and libs.
So what flags are needed to compile with threads on a recent FreeBSD machine?
/Xavier
/ Henrik Grubbström (Lysator)
Previous text:
2004-03-13 23:15: Subject: Flags and libs for pthread support nightmarre on FreeBSD ports
Hello there,
I am experencing a nightmarre with FreeBSD ports.
They want that pthreads flags and libs to be specified namely to the program it is compiling.
I have some patches and tryed some works on CVS but it cannot use the specified flags and libs.
So I have 2 choices :
- I find a way to specify that (and that's why I am asking that on
pike-devel ml)
- I give up and I let pike maintainance on freebsd to someone want
it... (personaly I still want to use and work with pike so...)
So I am asking for help from people that understand well how pike detect and use pthreads to help me to add a couple of flags to automake like :
--with-named-thread-lib= --with-named-threds-flags=
Notice that current one I have add into 7.5 doesn't honor the libs I specify...
/Xavier PS: If it is working, I really like to backport that on 7.4 as well
-- Xavier Beaudouin - Unix System Administrator & Projects Leader. President of Kazar Organization : http://www.kazar.net/ Please visit http://caudium.net/, home of Caudium & Camas projects
/ Brevbäraren