Current-Users archive

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

Cannot cross-build sparc64 on Darwin



Hello,

I am having trouble cross-building NetBSD-current-sparc64 on Darwin.
With Clang enabled, I got:

[lib/csu]
error: unknown target triple 'sparc64--netbsd', please use -triple or -arch
error: unknown target triple 'sparc64--netbsd', please use -triple or -arch
error: unknown target triple 'sparc64--netbsd', please use -triple or -arch

With GCC:

[lib/libc]
In file included from 
/Users/adam/dist/src/obj.sparc64/destdir.sparc64/usr/include/rpc/rpc.h:75:0,
                 from 
/Users/adam/dist/src/lib/libc/compat/rpc/compat_pmap_rmtcall.c:50:
/Users/adam/dist/src/obj.sparc64/destdir.sparc64/usr/include/rpc/rpcb_clnt.h:68:17:
 error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
In file included from 
/Users/adam/dist/src/lib/libc/compat/rpc/compat_rpcb.c:50:0:
/Users/adam/dist/src/obj.sparc64/destdir.sparc64/usr/include/rpc/rpcb_clnt.h:68:17:
 error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token


Please, advice. :-)

Kind regards,
Adam


Home | Main Index | Thread Index | Old Index