Path: utzoo!attcan!uunet!ncrlnk!ncrcae!hubcap!gatech!ukma!tut.cis.ohio-state.edu!ucbvax!ucsd!sdcsvax!ucsdhub!sdsu!mullen From: mullen@sdsu.UUCP (deborah mullen) Newsgroups: comp.os.minix Subject: Re: Cross Compiling under TurboC Professional Package Message-ID: <3561@sdsu.UUCP> Date: 11 Mar 89 08:12:57 GMT References: <10426@louie.udel.EDU> <11680002@hpsmtc1.HP.COM> Organization: San Diego State University, Math/Sciences Dept. Lines: 18 I have a TurboC environment that works great. I hacked at compress and ar so I can transfer compressed libraries to Dos via doswrite. All my minix source code has been recompiled under TurboC. The kernel is noticeably faster. The major improvement is the time to build a kernel ( for a complete recompile and link of fs, mm, kernel, and tools is about 15mins vs 2hrs under MINIX (on an XT). I modified dos2out to generate combined and separate I&D. I used TurboC setjmp.obj and setjmp.h as the MINIX one does not preserve register variables (SI and DI). If there is enough interest and I get the time, I will post a "how to" manual. It did take a lot of time to figure out all the quirks. Note: Error from dos2out "too many relocations": means you did not compile with tiny model. The small model generates far calls and returns to the TurboC compiler routines. Remember, for the dos2out (as distributed), the data segment must start on the next paragraph boundary. --Deborah Mullen