How to compile and bind a c in 64 bit?



Help for C/C++ for MVS, OS/390 C/C++, z/OS C/C++ and C/C++ Productivity Tools for OS/390

How to compile and bind a c in 64 bit?

Postby Karthick N » Wed Nov 21, 2012 12:41 pm

hi,
I new to using c program in mainframe, i have lot of doubts,
1.what are opt used for compiling in 64-bit
2.what are parameter used for binding....somehow i manged to compile,but in binding job getting failed with maxcc 8,the resaon its showing is "THE ATTRIBUTES OF A REFERENCE TO printf FROM SECTION SAMPLE#C
DO NOT MATCH THE ATTRIBUTES OF THE TARGET SYMBOL

I have used "AMODE=64,CASE=MIXED,LIST=NOIMP,MAP,RENT" as bind parameter. Someone help me to resolve this.

thanks
Karthick
Karthick N
 
Posts: 1
Joined: Mon Oct 24, 2011 5:26 pm
Has thanked: 0 time
Been thanked: 0 time

Re: How to compile and bind a c in 64 bit?

Postby enrico-sorichetti » Wed Nov 21, 2012 1:58 pm

Someone help me to resolve this.

why not help Yourself by looking at the manuals ???
http://publibz.boulder.ibm.com/cgi-bin/ ... 0708122353

or googling with zos c 64 bit to arrive to
http://www.redbooks.ibm.com/redpapers/pdfs/redp9110.pdf
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 3006
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 165 times


Return to C, C++

 


  • Related topics
    Replies
    Views
    Last post