[comp.lang.c] AOS/VS Pascal to Berkeley

mansveld@dlt1.UUCP (Dirk Mansvelder) (04/24/87)

Is there anyone who has experience in using random access file types on
a Sun 3/50, with only the standard Berkeley (Sun) Pascal present.

This is my problem :

I am porting some Pascal (AOS/VS pascal - from some Data General Machine)
code to our Sun 3/50 environment. 
The Pascal code uses 'random acces' file types. 
Berkeley (Sun) compiler does not support this. 

I was thinking of the following solutions :
-----------------------------------------
- Rewrite the file handling parts in C. 
  Problems : . file parameter passing between C and Pascal functions
             . the C and Pascal file structure is very different.

- Loading the complete file into memory.
  Problems : . de file has a size of about 16 megabyte. (Slowwwww)
             

Anyone out there who can suggest other solution, or has comments on 
my ideas ??

Please E-Mail your suggestions and comments to :
	seismo!mcvax!dlt1!mansveld     Dirk Mansvelder
                                 BSO/Research
                                 P.O. Box 8348
                                 3503 RH Utrecht
                                 The Netherlands
                                 phone +31 30 911911