How to compile a c file into out file?

EdwardKing zhangsc at neusoft.com
Thu Jul 24 06:16:20 UTC 2008


I compile a c file,like follows:
$gcc other1.obj other2.obj myfile.c

Then it create a a.out file.my question is how to create a file named myfile.out instead of name a.out?


----------------------------------------------------------------------------------------------
Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) is intended only for the use of the intended recipient and may be confidential and/or privileged of Neusoft Group Ltd., its subsidiaries and/or its affiliates. If any reader of this communication is not the intended recipient, unauthorized use, forwarding, printing, storing, disclosure or copying is strictly prohibited, and may be unlawful. If you have received this communication in error, please immediately notify the sender by return e-mail, and delete the original message and all copies from your system. Thank you. 
-----------------------------------------------------------------------------------------------



More information about the freebsd-questions mailing list