pkgsrc-Users archive

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

Re: evbarm/netbsd: bus error building python



On Wed, May 03, 2017 at 10:27:16PM +0200, Jean-Yves Moulin wrote:
> Is there a way to know which architecture gcc has chosen for pkgsrc ?

If there are no -mcpu/-march flags passed in the pkg build, you can try
by making it output assembly:

$ cd /tmp
$ touch test.c
$ cc -v -S test.c
$ cat test.s
        .cpu arm926ej-s
        .fpu softvfp
[..]

and with -march=armv5 I get:
        .arch armv5
        .fpu softvfp

(this is with netbsd-current and gcc 5.4)

Martin


Home | Main Index | Thread Index | Old Index