This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/24241] undefined reference to main when linking an object file generated from multiple .c files



------- Comment #2 from pinskia at gcc dot gnu dot org  2005-10-06 16:48 -------
Note if you want the compiling multiple .c into one .o files use -combine.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24241


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]