tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Why is linked with bare cc, not ${CC}?

On Fri, Dec 17, 2010 at 09:49:45PM +0900, OBATA Akio wrote:
> Hi,
> In configure script of python, for many platforms, like,
>  LDSHARED='${CC} -shared'" ${LDFLAGS}"jjjjj
> but for NetBSD and DragonFly
>  LDSHARED="cc -shared ${LDFLAGS}"
> Why not ${CC} for NetBSD and DragonFly?
> "-pthread" flag is added to ${CC}, and is using 
> pthread_create(3).
> For NetBSD, -lpthread is added to LIBS, so libpython.os will be linked with 
> libpthread,
> but not for DragonFly, then, is missing reference to 
> pthread_create(3).
> python executable is linked with ${CC}, so not broken.
> At least, for DragonFly, using ${CC} for ${LDSHARED} resolve PR#42598,
> so OK to change for DragonFly if anyone have objection for NetBSD?

Not from me. I already reported it upstream agains 2.7.

Nicolas Joly

Biological Software and Databanks.
Institut Pasteur, Paris.

Home | Main Index | Thread Index | Old Index