home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.unix.bsd:8906 comp.lsi.cad:1141
- Path: sparky!uunet!stanford.edu!agate!boom.CS.Berkeley.EDU!lazzaro
- From: lazzaro@boom.CS.Berkeley.EDU (John Lazzaro)
- Newsgroups: comp.unix.bsd,comp.lsi.cad
- Subject: Re: chipmunk,p2c ported but with problesm
- Date: 15 Nov 1992 19:46:24 GMT
- Organization: University of California, Berkeley
- Lines: 29
- Distribution: inet
- Message-ID: <1e69egINN8n@agate.berkeley.edu>
- References: <1992Nov14.053041.19424@ntuix.ntu.ac.sg> <eyal.721811417@ise>
- NNTP-Posting-Host: boom.cs.berkeley.edu
-
- In article <eyal.721811417@ise> eyal@echo.canberra.edu.au (Eyal Lebedinsky) writes:
- >In <1992Nov14.053041.19424@ntuix.ntu.ac.sg> eoahmad@ntuix.ntu.ac.sg (Othman Ahmad) writes:
- >
- >> I have ported loged, wol, and the libp2c.a (p2c library), but
- >>am still having problems with log, which somehow cannot read files
- >>properly. Could be due to the p2c library.
- >> Anyone has ported p2c to 386bsd?
- >
- >I just gave it a try on Linux. Loged came up but could not find its
- >files. Digilog and analog coredumped. I only had to remove the
- >definition of 'putc' somewhere.
- >
-
- The main problem is that log and loged read binary files (.gate
- files), and the code that handles byte-swapping for different-endian
- architectures doesn't know about intel machines yet; as a result the
- code assumes the byte-ordering of a SPARC, which is not what you want.
- Search for #ifdef mips in the source files (in particular in the
- swap.c file in log/src/) to find the places where byte-swapping
- happens, and expand the ifdef's so that the byte's end up the same
- way.
-
- Hope this helps,
-
- --john lazzaro
- chipmunk maintainer
- >
-
-
-