Date: Wed, 5 Jan 2000 01:37:31 +1100 (EST) From: Bruce Evans <bde@zeta.org.au> To: Marcel Moolenaar <marcel@scc.nl> Cc: current@FreeBSD.ORG Subject: Re: Proposal: Removing doscmd from the source tree... Message-ID: <Pine.BSF.4.10.10001050126090.3002-100000@alphplex.bde.org> In-Reply-To: <3871FC69.C99882E9@scc.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 4 Jan 2000, Marcel Moolenaar wrote: > [sent to both -current and -arch] > > Hi, > > doscmd breaks cross-building, because it depends on X11 which obviously > is not in the source tree (see below). I'm proposing to remove doscmd > from the source tree and make it a port (emulators/doscmd). But it doesn't depend on X11. It ifdefs some X11 files and only builds the X11 version if X11 seems to be present. > Your comments please. > > >From a i386 cross-build on Alpha: > > cc -O -I. -I/usr/X11R6/include -DDISASSEMBLER > -I/usr/obj/i386/usr/src/alpha/usr/include -o doscmd AsyncIO.o > ParseBuffer.o bios.o callback.o cpu.o dos.o cmos.o config.o cwd.o > debug.o disktab.o doscmd.o ems.o emuint.o exe.o i386-pinsn.o int.o > int10.o int13.o int14.o int16.o int17.o int1a.o int2f.o intff.o mem.o > mouse.o net.o port.o setver.o signal.o timer.o trace.o trap.o tty.o > xms.o -L/usr/X11R6/lib -lX11 > /usr/X11R6/lib/libX11.so: file not recognized: File format not > recognized > *** Error code 1 It uses wrong ifdefs for the X11 files :-). It should never find any X11 files for building worlds, since there are no X11 includes or libraries under ${WORLDTMP}. Adding some ${DESTDIR}'s is probably a sufficient fix. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.10001050126090.3002-100000>