Port-playstation2 archive

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

I'm getting better!

With the addition of "cross/{binutils,gcc}-mips-current" to pkgsrc-HEAD
and updates to the source tree, it should be possible to once again build
NetBSD/playstation2-6.99.39+ .  It'll be an interesting jump from 1.5ZA.

After some false starts, I've figured out a good bit of how to build with
an external toolchain.  The variable descriptions in "/usr/src/BUILDING"
are pretty good, but some examples would be useful.

So, in the "/etc/mk.conf" file on my build host (netbsd-5/i386), I put:

.if "${MACHINE}" == "playstation2"

The mechanism that evaluates "EXTERNAL_TOOLCHAIN" assumes that the tools
reside in a "bin" subdirectory under the path value of the variable, so
one does not need to specify a longer path.

The cross tools are installed with names in the pattern:


but the build system expects the tools to be named in the pattern:


So I went into "/usr/pkg/bin" and created symlinks with the expected
names pointing to the corresponding tool.  This allowed the build to

It stopped after some time due to not finding an expected header file.
The build host is current engaged with other tasks, but this is a step
forward again after years of neglect.

More later.

|/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
|\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
| X  No HTML/proprietary data in email.   BSD just sits there and works!
|/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

Home | Main Index | Thread Index | Old Index