-e option with cg

From: Gurr, David (MED, self) (David.Gurr_at_med.ge.com)
Date: Tue Aug 05 2003 - 02:04:32 BST

  • Next message: Gurr, David (MED, self): "-e option with cg on ups-3.38-beta1"
    Hi, I am having difficulty with cg. With
    the trivial program "goodbye.c":
    =======================================
    extern int printf(const char *, ...);
    
    int test()
    {
    	printf("test !\n");
    	return 0;
    }
    
    int main()
    {
    	printf("goodbye !\n");
    	return 0;
    }
    =======================================
    
    This works:
    	./cg -e main goodbye.c
    This core dumps :
    	./cg -e test goodbye.c  
    
    Any suggestions?  
    
    Thanks, -David Gurr
    


    This archive was generated by hypermail 2.1.4 : Tue Aug 05 2003 - 15:41:25 BST