What if you added -fPIC to OPT_CFLAGS in 'packages/linux_make/Makefile'?  The miXed build system will get the flags from that OPT_CFLAGS.  Plus I think that setting it in OPT_CFLAGS would then set it everywhere.

.hc


On Jul 12, 2008, at 10:02 PM, Sergi Lario wrote:

Hi list,

I added the -fPIC cflag in all makefiles I get errors compiling on a 64 bits machine ( http://lists.puredata.info/pipermail/pd-list/2008-07/063706.html ) with coders of these externals agree.

But not with the miXed makefile.

sll at sll-cube:/home/pd-extended/externals/*miXed*$ vim Makefile.common
Line: 119
CFLAGS = *-fPIC* $(WARN_CFLAGS) $(OPT_CFLAGS) $(DEFINES) $(INCLUDES)

The -fPIC flag lets compile over 64 bit machines. With this changes I complied pd-extened with no problems.

Who can make this change?

Greetings,

Sergi.


_______________________________________________
Pd-dev mailing list
Pd-dev@iem.at
http://lists.puredata.info/listinfo/pd-dev



----------------------------------------------------------------------------

As we enjoy great advantages from inventions of others, we should be glad of an opportunity to serve others by any invention of ours; and this we should do freely and generously.         - Benjamin Franklin