Date: Tue, 6 Oct 1998 02:45:37 +0200 From: Eivind Eklund <eivind@yes.no> To: Brett Glass <brett@lariat.org>, chat@FreeBSD.ORG Subject: Re: Pascal for Linux won't work on FreeBSD.... Why? Message-ID: <19981006024537.00778@follo.net> In-Reply-To: <4.1.19981005180601.041b4e00@mail.lariat.org>; from Brett Glass on Mon, Oct 05, 1998 at 06:13:51PM -0600 References: <4.1.19981005170436.04226870@mail.lariat.org> <4.1.19981005170436.04226870@mail.lariat.org> <19981006014611.35325@follo.net> <4.1.19981005180601.041b4e00@mail.lariat.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Oct 05, 1998 at 06:13:51PM -0600, Brett Glass wrote: > At 01:46 AM 10/6/98 +0200, Eivind Eklund wrote: > > >First guesses: You've not loaded the Linux emulator, or it is trying > >to execute more ELF binaries after having run that one. > > Turns out it was a little more complex than that, but I managed to > get it to run. However, it generated code that the FreeBSD version of > as didn't like for some reason. For example, when I entered the program > > program Hello; > begin > Writeln('Hello, world!'); > end. > > it spewed a whole bunch of bogus output (see below) and then died. Is > there something wrong that's obvious from what's below? It'd be really > nice to compile some of my old Turbo Pascal to run on FreeBSD. Hmm, it seems it is pushing out the assembly code on stdout/stderr instead of (or in addition to) pushing it to a file, and possibly that it is executing ld incorrectly. Have you tried running linuxktrace (need older kernel, I think) or truss on it? The output from either of this might prove enlightening. Eivind. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19981006024537.00778>