Re: [arch-general] Adding LDFLAGS to /etc/makepkg.conf

2009-04-01 Thread Alexandre Bique
> Well i though it was implicit. > When you use -ftree-parallelize-loops=4, it enables OpenMP. > When gcc links, it needs to link against pthread and gomp. > That's why i added LDFLAGS="-lgomp". But i forgot -lpthread. So the error is "i can't find libgomp's symbols." -- Alexandre Bique

Re: [arch-general] Adding LDFLAGS to /etc/makepkg.conf

2009-04-01 Thread Alexandre Bique
On Wed, Apr 1, 2009 at 7:41 PM, Aaron Griffin wrote: > On Wed, Apr 1, 2009 at 1:17 PM, Alexandre Bique > wrote: >> Hi, >> >> I am trying these FLAGS: >> >> CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer -ftree-vectorize >> -ftree-parallelize-loops=4" >> CXXFLAGS="${CFLAGS}" >> >> And i need

Re: [arch-general] Adding LDFLAGS to /etc/makepkg.conf

2009-04-01 Thread Aaron Griffin
On Wed, Apr 1, 2009 at 1:17 PM, Alexandre Bique wrote: > Hi, > > I am trying these FLAGS: > > CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer -ftree-vectorize > -ftree-parallelize-loops=4" > CXXFLAGS="${CFLAGS}" > > And i need to link to libgomp so i tried to add > > LDFLAGS="-lgomp" > > But

[arch-general] Adding LDFLAGS to /etc/makepkg.conf

2009-04-01 Thread Alexandre Bique
Hi, I am trying these FLAGS: CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer -ftree-vectorize -ftree-parallelize-loops=4" CXXFLAGS="${CFLAGS}" And i need to link to libgomp so i tried to add LDFLAGS="-lgomp" But it doesn't work. What should i do doctor ? Thanks. -- Alexandre Bique