pkgsrc-Users archive

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

Re: Bootstrap pkgsrc cvs from 05 November 2021 UnixWare 7



Hello thank you,

On Friday 2021-11-12 07:39, nia wrote:
${MACHINE_GNU_ARCH}-${LOWER_VENDOR}-${LOWER_OPSYS:C/[0-9]//g}${APPEND_ELF}${LOWER_OPSYS_VERSUFFIX}${APPEND_ABI}

It looks to me like MACHINE_GNU_ARCH is not being computed properly
by pkgsrc.

Perhaps UnixWare uses an uncommon uname, which pkgsrc is not
able to match to GNU_ARCH. Maybe you can play with bsd.prefs.mk.

gcc --version
gcc (Xinuos GCC) 7.3.0
Copyright (C) 2017 Free Software Foundation, Inc.

gcc uses a define "defined(__svr5__)" to know you are using gcc on UnixWate 7 Definitive.


uname -a == uname -s, -n, -r, -v, -m, -p os_provider os_base

$ uname -a
UnixWare blgduw7d 5 7.1.4 i386 x86at SCO UNIX_SVR5



I am trying to get --build and --host as follows

Preferred

i386-unknown-sysv5UnixWare7.1.4

Acceptable
i686-unknown-sysv5UnixWare7.1.4


i686-unknown-sysv5UnixWare{7.1.4}
i686-unknown-sysv5UnixWare

i386-sco-sysv5

Adding these to mk/bsd.prefs.mk"

.elif ${OPSYS} == "UnixWare"
HOST_MACHINE_ARCH?=	${UNAME} -m

I have tried LOWER_VENDOR?= unknown
LOWER_VENDOR?=          sysv5

....

.elif ${OPSYS} == "UnixWare"
 OBJECT_FMT=     ELF
.endif

Not sure how to get the derired results.

I have been trying variuos options but not getting what I desire.

Any ideas what I should add?

Thanks,

--
Boyd Gerber <gerberb%zenez.com@localhost> 801 849-0213
ZENEZ   1042 East Fort Union #135, Midvale Utah  84047



Home | Main Index | Thread Index | Old Index