The output file in.o is empty

wangwzc wangwzc@sina.com
Wed Jan 28 02:28:00 GMT 2015


    I use the following command to compile the in.c, there are no error was
printed, but the output file in.o is empty. why was that, how to debug it.

cc -g -Wstrict-prototypes  -DCPPUTEST_COMPILATION -Wall -Wextra -Werror
-Wshadow -Wswitch-default -Wswitch-enum -Wconversion -pedantic-errors
-include ./cpputest/include/CppUTest/MemoryLeakDetectorMallocMacros.h  -I. 
-Itst  -Iinclude  -I./cpputest/include  -Isrc/sys/poxlib/opt  -Isrc/include 
-Isrc/sys/sys  -Isrc/sys -Isrc/sys/contrib/altq   -DUNIT_TEST -D_far_=
-D_XOPEN_SOURCE=500 -D_KERNEL -DMAXCPU=1 -w -Dnear= -Dfar=  -DDMX -M
-std=c99   -c -MMD -MP  -o objs/src/sys/netinet/in.o src/sys/netinet/in.c



--
View this message in context: http://gcc.1065356.n5.nabble.com/The-output-file-in-o-is-empty-tp1115410.html
Sent from the gcc - Help mailing list archive at Nabble.com.



More information about the Gcc-help mailing list