On Thu, 13 May 1999, Kenea C. Maraffio wrote:
>
> Can anyone please tell me if the smart & large models are suppose to
> allow me to not to have to tweak function locations in segments?  I have
> 
> been unsuccessful in making this work.  My program crashes when trying
> to access a function more than one segment away using the smart or large
> 
> model.  Moving the called function closer fixes the problem.  Am I
> missing something?

  try function jumping :))

  {
    myMethod();
  } 

  ... code < 32Kb

  void myMethod()
  {
    theRealMyMethod()
  }

  ... code < 32Kb

  void theRealMyMethod()
  {
  }

  cheers. this works for me in gcc :)

az.
--
Aaron Ardiri 
Lecturer                       http://www.hig.se/~ardiri/
University-College i G�vle     mailto:[EMAIL PROTECTED]
SE 801 76 G�vle SWEDEN       
Tel: +46 26 64 87 38           Fax: +46 26 64 87 88
Mob: +46 70 352 8192           A/H: +46 26 10 16 11

Reply via email to