-e option with cg on ups-3.38-beta1

From: Gurr, David (MED, self) (David.Gurr_at_med.ge.com)
Date: Tue Aug 05 2003 - 17:58:49 BST

  • Next message: Ian Edwards: "RE: -e option with cg"
     
    > Ooops, too fast: I'm using ups-3.38-beta1
    > 
    > > -----Original Message-----
    > > From: Gurr, David (MED, self) 
    > > Sent: Monday, August 04, 2003 8:05 PM
    > > To: 'ups-users_at_ukc.ac.uk'
    > > Subject: -e option with cg
    > > 
    > > 
    > > 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 - 18:19:01 BST