On Tuesday 29 May 2012 08:41:11 Olivier Smedts wrote: > 2012/5/29 Franci Nabalanci <lum...@gmail.com>: > > I will try to build with clang when I came home. > > Is it: > > > > CC=clang > > CXX=clang++ > > CPP=clang-cpp > > > > enough to put in make.conf to build with clang, please? > > More simply, just comment out or remove the CC=/usr/local/bin/gcc46 > line which should be in your /etc/make.conf, and do the same for the > rest of the configuration you used for gcc46. > > I think that your gcc46 setup is at fault. > > If this works, you can still use gcc46 for all ports but some with a test > like : .if !${.CURDIR:M/usr/ports/devel/kdebindings4-perl-perlqt*} > CC=/usr/local/bin/gcc46 > [put here the rest of the config you use for gcc46 like CXX and CPP] > .endif > > > On Tue, May 29, 2012 at 6:00 AM, Olivier Smedts <oliv...@gid0.org> wrote: > >> Hello, > >> > >> 2012/5/28 ajtiM <lum...@gmail.com>: > >> > I forgot to "make clean" first. Here is another one. > >> > > >> > Mitja > >> > -------- > >> > http://jpgmag.com/people/lumiwa > >> > >> I see the compiler you're using is gcc46, from ports. You may have set > >> it up from /etc/make.conf. Can you try building this port with the > >> base system's default compiler, or even clang ? > >> > >> Cheers > >> > >> -- > >> Olivier Smedts _ > >> ASCII ribbon campaign ( ) > >> e-mail: oliv...@gid0.org - against HTML email & vCards X > >> www: http://www.gid0.org - against proprietary attachments / \ > >> > >> "Il y a seulement 10 sortes de gens dans le monde : > >> ceux qui comprennent le binaire, > >> et ceux qui ne le comprennent pas."
I did put CC=clang CXX=clang++ CPP=clang-cpp and make but it still use gcc46. I did as you wrote and it is the same result. I didn't have anything in /etc/make.conf about gcc. Mitja -------- http://jpgmag.com/people/lumiwa _______________________________________________ kde-freebsd mailing list kde-freebsd@kde.org https://mail.kde.org/mailman/listinfo/kde-freebsd See also http://freebsd.kde.org/ for latest information