Port-sparc archive

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

Re: CPUFLAGS



Le 10/03/2014 14:33, Valery Ushakov a écrit :
On Mon, Mar 10, 2014 at 11:10:44 +0100, Jo?l BERTRAND wrote:

        I'm trying to rebuild distribution with -mcpu=v8 flag and I suppose
        I have done a mistake as ./build.sh produces v7 executables.

        I have added in /etc/mk.conf the following lines :

CPUFLAGS=-mcpu=hypersparc -mtune=hypersparc
COPT=-O2
TOOLDIR=/usr/netbsd-sparcv8/tools
MAKEOBJDIR=/usr/netbsd-sparcv8/obj

but gcc is called with :
/usr/libexec/cc1 -quiet -I . -I ./include -I /usr/src/tools/compat -I
/usr/src/tools/compat/sys -D HAVE_NBTOOL_CONFIG_H=1 -D
_FILE_OFFSET_BITS=64 -D __DBINTERFACE_PRIVATE
/usr/src/tools/compat/../../lib/libc/gen/getcap.c -quiet -dumpbase
getcap.c -mcpu=v7 -auxbase-strip getcap.lo.o -O -o /var/tmp//ccJPa2RD.s

Does NetBSD build call cc1 explicitely or do you quote something else?

        Nope. I have obtained this line with ps auwwx to check gcc arguments.

        Regards,

        JKB




Home | Main Index | Thread Index | Old Index