Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!munnari.oz.au!csc!csc3!ccadfa!cancol!eyal From: eyal@cancol.oz (Eyal Lebedinsky) Newsgroups: comp.os.minix Subject: tools/menu+msc: a solution Keywords: microsoft Message-ID: <372@cancol.oz> Date: 6 May 90 07:50:59 GMT Organization: Info. Sci. and Eng., University of Canberra Lines: 22 Hello again A short while ago I reported my experiences with cross compiling with msc5.1; I had tools/menu fall over. After close inspection it turned out that the declaration of the external variables in menu1.s did not pu them in DGROUP but in _TEXT. This caused the wrong address to be picked up just before calling the kernel. The solution is to add .bss or .data at the start of the program before the .extern of relevant symbols, otherwise all symbols are assumed to be in .text (the mode the assembly start in by default). I see it as a problem with menu1.s which one is lucky to get away with using asld, I am not sure how the TC users fair here (Any comments from those people? Earl?). Now there is the last proble, where login.c falls over after reading the userid. At that point the system is up, the file-systems mounted etc. This is a harder one because there could be influence from the four .s modules in kernel and those are too big for easy debugging. I would appreciate any help here. -- Regards Eyal