这是我第一次编译 C 应用程序。我在 Ubuntu 机器上使用 gcc。教程说使用语法:
gcc main.c -o HelloWorld
但我的程序没有“main.c”。
任何人都可以根据下面的目录列表为应用程序建议一个命令行吗?
docs lib License major.awk Makefile README release.awk src WARNING
./docs:
ChangeLog.txt Contributors.txt DataTypes.txt Makefile New_help_needed.txt Porting.txt Readme.txt undoc_file_struct.txt undocumented_df1.txt WARNING.txt
./lib:
attach.c disableforces.c echo.c floatstuff.c Makefile protected_read_2.c protected_write_3.c resetmemory.c typedwrite.c wordblockwrite.c
closefile.c downloaddone.c enableforces.c getedit.c nameconv5.c protected_read_3.c protected_write_4.c senddf1.c uploaddone.c
creatememory.c downloadreq.c fileread.c getstatus.c openfile.c protected_read_4.c readbytesphysical.c setpriv.c uploadreq.c
defs.c dropedit.c filewrite.c libabplc5.h plcmodereq.c protected_write_2.c readsectionsize.c typedread.c wordblockread.c
./src:
absetmode.c abstat.c abtypedread.c abtypedwrite.c abupload.c abwordread.c abwordwrite.c Makefile Makefile.old name.c section.c slcread.c slcwrite.c stress.c
非常感谢。