I haven't tried the autoconf'd nspr build since it became the default
and probably won't before 8.1 or 9.0, depending on my time. The missing
-Zomf likely belongs in nsprpub's configure.in, but if you've got the
makefiles, adding DLLFLAGS [now DSO_LDOPTS?] += -Zomf to pr/src/Makefile
and those in lib/libc/src and lib/ds should solve your immediate
problem. If you plan to reconfigure, add it to the Makefile.in's.
There should be no need to update the instructions, other than perhaps
mention that nsprpub now uses autoconf, as this is a temporary glitch
which you could report as a bug.
h~
Ian Harvey wrote:
>
> But how about using emx for the PM build ?
>
> I used to have a working build environment a long while ago (when there
> was an emx tinderbox), but not anymore.
>
> Configure fails when trying to write the makefiles for nsprpub due to
> the drive specification on the srcdir being incorrectly parsed.
> Switching to the driveless pwd fixes this, but then the build blows up
> in nsprpub with a missing -Zomf spec from the link line.
>
> Trying to work out what's going on in an autoconf based build is not
> fun. If anyone who has the emx build working could review the
> instructions under mozilla.org/ports/os2 for correctness I'd appreciate
> it.