This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
The output file in.o is empty
- From: wangwzc <wangwzc at sina dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Tue, 27 Jan 2015 19:28:31 -0700 (MST)
- Subject: The output file in.o is empty
- Authentication-results: sourceware.org; auth=none
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.