Thank you for your reply. Strangely, cc compiler in system works!
I can compile a a.out file to print "Hello World!!"(just in perl install directory type cc test.c)
I doubt %ENV lead to this issue. But How can I prove my suspicion?
I am trying to improve my English skills, if you see a mistake please feel free to reply or /msg me a correction