chasman@athena.mit.edu (David Chasman) (06/28/91)
I am trying to overlay data in microsoft c 5.1 under rtlink
(I am using the large memory model )
the essence of the problem :
---------------------------------------------
file 1:
float var1[N1];
main1(){
/* references to var1 */
}
-----------------------------------------------
file 2:
float var2[N2];
main2(){
/* references to var2 */
}
-----------------------------------------------
file 3:
float var_main[N_MAIN];
main(){
main1();
main2();
}
-----------------------------------------------
I want main1() and var1 to be in the overlay main1.ovl
I want main2() and var2 to be in the overlay main2.ovl
I want var_main and main() to be in the root.
(1) could you send me the compiler command lines
and
(2) the rtlink (freeformat) command lines ?
I will be very greatful.
--David Chasman