You are not logged in.

#1 2008-10-21 16:37:05

lnzju
Member
Registered: 2006-02-20
Posts: 30

makepkg error with gcc-3.3

I put two line under the build() function in PKGBUILD

  export CC=/usr/bin/gcc-3.3
  export CXX=/usr/bin/g++-3.3

what I want is to compile the package with gcc3-4. However, when I makepkg, an error come up as the following:

configure:2739: error: C compiler cannot create executables
See `config.log' for more details.

Is this a bug of makepkg ?


I come from the past to save the future....

Offline

#2 2008-10-21 16:43:33

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: makepkg error with gcc-3.3

You'll need to strip -mtune=generic from CFLAGS and CXXFLAGS, gcc 3.3 doesn't understand it.

Offline

#3 2008-10-22 12:17:19

lnzju
Member
Registered: 2006-02-20
Posts: 30

Re: makepkg error with gcc-3.3

get it. thx


I come from the past to save the future....

Offline

Board footer

Powered by FluxBB