1
0
mirror of https://github.com/ioacademy-jikim/debugging synced 2026-08-11 16:32:58 +00:00

first commit

This commit is contained in:
jikim
2015-12-13 22:34:58 +09:00
commit 0b589c7986
9455 changed files with 4350134 additions and 0 deletions
Binary file not shown.
Binary file not shown.
+9
View File
@@ -0,0 +1,9 @@
// my_source.c
#include <stdio.h>
#include <stdlib.h>
#include <app.h>
int main()
{
printf("%d\n", MAX);
}
+1
View File
@@ -0,0 +1 @@
#define MAX 100
+8
View File
@@ -0,0 +1,8 @@
# makefile1
# 아래 코드를 먼저 보여 주고.
# 문제점으로 app.h 안에있는 #define MAX 100이 변경될경우
# 다시 컴파일 되지 않는다는 것을 이야기 할것.
# 그리고 makefile2를 수업.
app: app.c
cc -o app app.c -I .
+5
View File
@@ -0,0 +1,5 @@
# makefile2
# make -f makefile2
app: app.c app.h
cc -o app app.c -I .
Binary file not shown.
+8
View File
@@ -0,0 +1,8 @@
// foo.c
#include <stdio.h>
#include <foo.h>
void foo()
{
printf("foo : %d\n", FOO);
}
+5
View File
@@ -0,0 +1,5 @@
// foo.h
#define FOO 100
void foo();
Binary file not shown.
+8
View File
@@ -0,0 +1,8 @@
// goo.c
#include <stdio.h>
#include <goo.h>
void goo()
{
printf("goo : %d\n", GOO);
}
+5
View File
@@ -0,0 +1,5 @@
// goo.h
#define GOO 200
void goo();
Binary file not shown.
+11
View File
@@ -0,0 +1,11 @@
// main.c
#include <stdio.h>
#include <foo.h>
#include <goo.h>
int main()
{
foo();
goo();
return 0;
}
Binary file not shown.
+17
View File
@@ -0,0 +1,17 @@
# makefile
# 아래 처럼 만들면 foo.o 만 빌드되는 이유를 설명하고
# makefile2로 수업.
foo.o : foo.c foo.h
cc -c foo.c -I.
goo.o : goo.c goo.h
cc -c goo.c -I.
main.o : main.c foo.h goo.h
cc -c main.c -I.
app : main.o foo.o goo.o
cc -o app main.o foo.o goo.o
+16
View File
@@ -0,0 +1,16 @@
# makefile2
app : main.o foo.o goo.o
cc -o app main.o foo.o goo.o
main.o : main.c foo.h goo.h
cc -c main.c -I.
foo.o : foo.c foo.h
cc -c foo.c -I.
goo.o : goo.c goo.h
cc -c goo.c -I.
+8
View File
@@ -0,0 +1,8 @@
// foo.c
#include <stdio.h>
#include <foo.h>
void foo()
{
printf("foo : %d\n", FOO);
}
+8
View File
@@ -0,0 +1,8 @@
// goo.c
#include <stdio.h>
#include <goo.h>
void goo()
{
printf("goo : %d\n", GOO);
}
+5
View File
@@ -0,0 +1,5 @@
// foo.h
#define FOO 100
void foo();
+5
View File
@@ -0,0 +1,5 @@
// goo.h
#define GOO 200
void goo();
+11
View File
@@ -0,0 +1,11 @@
// main.c
#include <stdio.h>
#include <foo.h>
#include <goo.h>
int main()
{
foo();
goo();
return 0;
}
+16
View File
@@ -0,0 +1,16 @@
# makefile1
# 변수 도입
INCPATH=./include
app : main.o foo.o goo.o
cc -o app main.o foo.o goo.o
main.o : main.c $(INCPATH)/foo.h $(INCPATH)/goo.h
cc -c main.c -I$(INCPATH)
foo.o : foo.c $(INCPATH)/foo.h
cc $(CFLAGS) -c foo.c -I$(INCPATH)
goo.o : goo.c $(INCPATH)/goo.h
c $(CFLAGS) -c goo.c -I$(INCPATH)
+21
View File
@@ -0,0 +1,21 @@
# makefile2
# 컴파일러와 옵션도 변수로 처리
INCPATH=./include
CC=cc
CFLAGS=-Wall -I$(INCPATH)
app : main.o foo.o goo.o
$(CC) $(CFLAGS) -o app main.o foo.o goo.o
main.o : main.c $(INCPATH)/foo.h $(INCPATH)/goo.h
$(CC) $(CFLAGS) -c main.c
foo.o : foo.c $(INCPATH)/foo.h
$(CC) $(CFLAGS) -c foo.c
goo.o : goo.c $(INCPATH)/goo.h
$(CC) $(CFLAGS) -c goo.c
+27
View File
@@ -0,0 +1,27 @@
# makefile3
# all 지시어에서 getobj app putobj가 추가된것을 설명
INCPATH=./include
OBJPATH=./obj
CC=cc
CFLAGS=-Wall -I$(INCPATH)
all: getobj app putobj
app : main.o foo.o goo.o
$(CC) $(CFLAGS) -o app main.o foo.o goo.o
main.o : main.c $(INCPATH)/foo.h $(INCPATH)/goo.h
$(CC) $(CFLAGS) -c main.c
foo.o : foo.c $(INCPATH)/foo.h
$(CC) $(CFLAGS) -c foo.c
goo.o : goo.c $(INCPATH)/goo.h
$(CC) $(CFLAGS) -c goo.c
putobj:
-mv *.o $(OBJPATH) 2>/dev/null
getobj:
-mv $(OBJPATH)/*.o . 2>/dev/null
+37
View File
@@ -0,0 +1,37 @@
# makefile4
# getobj putobj에서 쉘 스크립트를 추가한 내용 설명
INCPATH=./include
OBJPATH=./obj
CC=cc
CFLAGS=-Wall -I$(INCPATH)
all: getobj app putobj
app : main.o foo.o goo.o
$(CC) $(CFLAGS) -o app main.o foo.o goo.o
main.o : main.c $(INCPATH)/foo.h $(INCPATH)/goo.h
$(CC) $(CFLAGS) -c main.c
foo.o : foo.c $(INCPATH)/foo.h
$(CC) $(CFLAGS) -c foo.c
goo.o : goo.c $(INCPATH)/goo.h
$(CC) $(CFLAGS) -c goo.c
putobj:
if [ ! -d $(OBJPATH) ]; then \
mkdir $(OBJPATH); \
fi
-mv *.o $(OBJPATH) 2>/dev/null
getobj:
@if [ ! -d $(OBJPATH) ]; then \
mkdir $(OBJPATH); \
fi
-mv $(OBJPATH)/*.o . 2>/dev/null
+57
View File
@@ -0,0 +1,57 @@
# makefile5
# install 추가된것.
# install은 자동으로 실행되지 않으므로
# make install 이 필요하다는것을 설명
INSTPATH=./bin
INCPATH=./include
OBJPATH=./obj
CC=cc
CFLAGS=-Wall -I$(INCPATH)
COND1=`stat app 2>/dev/null | grep Modify`
COND2=`stat $(INSTPATH) 2>/dev/null | grep Modify`
all: getobj app putobj
app : main.o foo.o goo.o
$(CC) $(CFLAGS) -o app main.o foo.o goo.o
main.o : main.c $(INCPATH)/foo.h $(INCPATH)/goo.h
$(CC) $(CFLAGS) -c main.c
foo.o : foo.c $(INCPATH)/foo.h
$(CC) $(CFLAGS) -c foo.c
goo.o : goo.c $(INCPATH)/goo.h
$(CC) $(CFLAGS) -c goo.c
putobj:
@if [ ! -d $(OBJPATH) ]; then \
mkdir $(OBJPATH); \
fi
@-mv *.o $(OBJPATH) 2>/dev/null
getobj:
@if [ ! -d $(OBJPATH) ]; then \
mkdir $(OBJPATH); \
fi
@-mv $(OBJPATH)/*.o . 2>/dev/null
install:
@if [ ! -d $(INSTPATH) ]; then \
mkdir $(INSTPATH); \
fi
@if [ "$(COND1)" != "$(COND2)" ];\
then\
cp -p ./app $(INSTPATH)/app 2>/dev/null;\
chmod 700 $(INSTPATH)/app ;\
echo "Installed in" $(INSTPATH)/app;\
fi
+61
View File
@@ -0,0 +1,61 @@
# makefile6
# make cleanall Ãß°¡
INSTPATH=./bin
INCPATH=./include
OBJPATH=./obj
CC=cc
CFLAGS=-Wall -I$(INCPATH)
COND1=`stat app 2>/dev/null | grep Modify`
COND2=`stat $(INSTPATH) 2>/dev/null | grep Modify`
all: getobj app putobj
app : main.o foo.o goo.o
$(CC) $(CFLAGS) -o app main.o foo.o goo.o
main.o : main.c $(INCPATH)/foo.h $(INCPATH)/goo.h
$(CC) $(CFLAGS) -c main.c
foo.o : foo.c $(INCPATH)/foo.h
$(CC) $(CFLAGS) -c foo.c
goo.o : goo.c $(INCPATH)/goo.h
$(CC) $(CFLAGS) -c goo.c
putobj:
@if [ ! -d $(OBJPATH) ]; then \
mkdir $(OBJPATH); \
fi
@-mv *.o $(OBJPATH) 2>/dev/null
getobj:
@if [ ! -d $(OBJPATH) ]; then \
mkdir $(OBJPATH); \
fi
@-mv $(OBJPATH)/*.o . 2>/dev/null
install:
@if [ ! -d $(INSTPATH) ]; then \
mkdir $(INSTPATH); \
fi
@if [ "$(COND1)" != "$(COND2)" ];\
then\
cp -p ./app $(INSTPATH)/app 2>/dev/null;\
chmod 700 $(INSTPATH)/app ;\
echo "Installed in" $(INSTPATH)/app;\
fi
cleanall:
@-rm app
@-rm -r $(OBJPATH)
@-rm -r $(INSTPATH)
@ echo cleanall!
Binary file not shown.
+3
View File
@@ -0,0 +1,3 @@
sflsjflsjf s
sdlkfjslkfjs
'f
+8
View File
@@ -0,0 +1,8 @@
// foo.c
#include <stdio.h>
#include <foo.h>
void foo()
{
printf("foo : %d\n", FOO);
}
+5
View File
@@ -0,0 +1,5 @@
// foo.h
#define FOO 100
void foo();
Binary file not shown.
+8
View File
@@ -0,0 +1,8 @@
// goo.c
#include <stdio.h>
#include <goo.h>
void goo()
{
printf("goo : %d\n", GOO);
}
+5
View File
@@ -0,0 +1,5 @@
// goo.h
#define GOO 200
void goo();
Binary file not shown.
+11
View File
@@ -0,0 +1,11 @@
// main.c
#include <stdio.h>
#include <foo.h>
#include <goo.h>
int main()
{
foo();
goo();
return 0;
}
Binary file not shown.
+11
View File
@@ -0,0 +1,11 @@
# makefile 1
# make 로 실행하면 아무것도 안됨을 설명
# make foo 로 실행할것
# for each xxxxx.o target there must be a xxxxx.c dependency to build.
.c.o:
cc -c $< -I.
+10
View File
@@ -0,0 +1,10 @@
# makefile2
# .c.o 뿐 아니라 모든 파일 확장자가 가능함을 설명
#.SUFFIXES: .txt .log
.txt.log:
@echo "Converting " $< " to " $*.log
mv $< $*.log
+15
View File
@@ -0,0 +1,15 @@
# makefile3
# 아래 코드를 사용해 보고
# 문제점은 각 헤더에 dependecy 임을 이야기 하고
# makefile4를 수업.
.c.o:
@echo "Compiling" $< "..."
cc -c $< -I.
app: main.o foo.o goo.o
@echo "Building target" $@ "..."
cc -o app main.o foo.o goo.o
#problem dependency
+13
View File
@@ -0,0 +1,13 @@
# makefile4
.c.o:
@echo "Compiling" $< "..."
cc -c $< -I.
app: main.o foo.o goo.o
@echo "Building target" $@ "..."
cc -o app main.o foo.o goo.o
main.o:foo.h goo.h
foo.o:foo.h
foo.o:goo.h
+8
View File
@@ -0,0 +1,8 @@
// foo.c
#include <stdio.h>
#include <mylib.h>
void foo()
{
printf("foo\n");
}
Binary file not shown.
+8
View File
@@ -0,0 +1,8 @@
// goo.c
#include <stdio.h>
#include <mylib.h>
void goo()
{
printf("goo\n");
}
Binary file not shown.
+16
View File
@@ -0,0 +1,16 @@
TLIB=mylib.a
OBJS=foo.o goo.o
CC=cc
INCPATH=.
CFLAGS=-Wall -I$(INCPATH)
.c.o:
$(CC) $(CFLAGS) -c $<
$(TLIB): $(OBJS)
ar cr $(TLIB) $(OBJS)
$(OBJS): $(INCPATH)/mylib.h
cleanall:
-rm -f *.o *.a
Binary file not shown.
+4
View File
@@ -0,0 +1,4 @@
// mylib.h
void foo();
void goo();
Binary file not shown.
Binary file not shown.
+10
View File
@@ -0,0 +1,10 @@
#include <stdio.h>
#include <stdlib.h>
#include <mylib.h>
int main (int arg, char *argv[])
{
foo();
goo();
return 0;
}
Binary file not shown.
+16
View File
@@ -0,0 +1,16 @@
OBJS=main.o
CC=cc
INCLIB=../MYLIB
LIBS=$(INCLIB)/mylib.a
CFLAGS=-Wall -I. -I$(INCLIB)
.c.o:
$(CC) $(CFLAGS) -c $<
app: $(OBJS) $(LIBS)
$(CC) $(CFLAGS) -o app $(OBJS) $(LIBS)
$(OBJS): $(INCLIB)/mylib.h
cleanall:
-rm -f *.o app
+29
View File
@@ -0,0 +1,29 @@
# MYLIB 안에 makefile을 수행하고 application 안에 makefile 수행..
COND1=`stat app 2>/dev/null | grep Modify`
COND2=`stat ./application/app 2>/dev/null | grep Modify`
all: buildall getexec
buildall:
@echo "****** Invoking MYLIB/makefile"
(cd MYLIB; $(MAKE))
@echo "****** Invoking application/makefile"
(cd application; $(MAKE))
getexec:
@if [ "$(COND1)" != "$(COND2)" ];\
then\
echo "Getting new app!";\
cp -p ./application/app . 2>/dev/null;\
chmod 700 app;\
else\
echo "Nothing done!";\
fi
cleanall:
-rm -f app
@echo "****** Invoking MYLIB/makefile"
@(cd MYLIB; $(MAKE) cleanall)
@echo "****** Invoking appl/makefile"
@(cd application; $(MAKE) cleanall)
Binary file not shown.
+61
View File
@@ -0,0 +1,61 @@
Maintainers:
Fredrik Hugosson <hugo303 at users dot sourceforge dot net> | hugo303
Chris Pickett <chris dot pickett at mail dot mcgill dot ca> | cpickett
Branden Archer <b dot m dot archer4 at gmail dot com | brarcher
Ex-Maintainers:
Arien Malec <arien dot malec at gmail dot com> | amalec
Sven Neumann <sven at convergence dot de> | neo23
Committers:
Robert Collins (subunit support) | rbcollins
Micah Cowan (checkmk tool, docs and tests) | micahcowan
Zdenek Crha (new Check API docs, fixes, and tests) | zdenekc
Mateusz Loskot (msvc port #2) | mloskot
Jose E. Marchesi (selective testing support) | jemarch
Contributors:
Cesar Ballardini (signals)
Friedrich Beckmann (mingw and msvc port #1)
Frank Bergmann (WIN32 tmpfile workaround)
Ross Burton (pkg-config patch)
Bogdan Cristea (eclipse support in contrib dir)
Lucas Di Pentima (signals)
Torok Edwin (strsignal and build fixes)
Daniel Gollub (pthreads support)
Roland Illig (varargs and strsignal portability fixes)
Elmir Jagudin (well-formed XML and log file via env variables)
Jerry James (cleanup compiler warnings)
Jon Kowal (deadlock on thread cancellation fix)
Robert Lemmen (gcov description in manual)
Loic Martin (AM_PATH_CHECK patch)
Roy Merkel (specified test exit value)
Gilgamesh Nootebos (bug fixes)
Diego Elio Petteno (autoconf patch for 64-bit safe code)
Frederic Peters (XML output)
Dietmar Petras (bug fixes)
Rick Poyner (pipe handling, bug fixes)
Bernhard Reiter (configure issues)
Neil Spring (const fixes)
Roland Stigge (bug fix: allow fail inside setup)
Sebastian Rasmussen (duration bug fix, 64-bit API fix)
Martin Willers (rename check's internal list API to start with check_)
bross (patches for msys/mingw32 support)
Pino Toscano (GNU/Hurd support for subsecond timeouts)
lod (compiler warning)
Bill Kolokithas (more checkmk directives)
Julien Godin (configure.ac patch for Check example)
Kosma Moczek (fix for string formatting in ck_assert_*() methods with %)
Tim Müller (Use _exit() instead of exit() on _ck_assert_failed())
Georg Sauthoff (Solaris support, misc autotools fixes)
forest (AIX and Solaris support)
Michael Piszczek (misc cleanup)
Stewart Brodie (bug fix: no fork mode failure reporting with teardowns)
Michał Dębski (Use mkstemp() if available instead of tmpfile() or tempnam())
Sebastian Dröge (Kill running tests if SIGTERM or SIGINT are caught in test runner)
Matt Clarkson (Fix CMake checks using time.h for MinGW and MSVC)
Mario Sanchez Prada (configure.ac cleanup)
Anybody who has contributed code to Check or Check's build system is
considered an author. Send patches to this file to
<check-devel at lists dot sourceforge dot net>.
+466
View File
@@ -0,0 +1,466 @@
# This is the CMakeCache file.
# For build in directory: /root/05_day/check-0.10.0
# It was generated by CMake: /usr/bin/cmake
# You can edit this file to change values found and used by cmake.
# If you do not want to change any of the values, simply exit the editor.
# If you do want to change a value, simply edit, save, and exit the editor.
# The syntax for the file is as follows:
# KEY:TYPE=VALUE
# KEY is the name of a variable in the cache.
# TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!.
# VALUE is the current value for the KEY.
########################
# EXTERNAL cache entries
########################
//Path to a program.
CMAKE_AR:FILEPATH=/usr/bin/ar
//Choose the type of build, options are: None(CMAKE_CXX_FLAGS or
// CMAKE_C_FLAGS used) Debug Release RelWithDebInfo MinSizeRel.
CMAKE_BUILD_TYPE:STRING=
//Enable/Disable color output during build.
CMAKE_COLOR_MAKEFILE:BOOL=ON
//C compiler
CMAKE_C_COMPILER:FILEPATH=/usr/bin/cc
//Flags used by the compiler during all build types.
CMAKE_C_FLAGS:STRING=
//Flags used by the compiler during debug builds.
CMAKE_C_FLAGS_DEBUG:STRING=-g
//Flags used by the compiler during release builds for minimum
// size.
CMAKE_C_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG
//Flags used by the compiler during release builds.
CMAKE_C_FLAGS_RELEASE:STRING=-O3 -DNDEBUG
//Flags used by the compiler during release builds with debug info.
CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG
//Flags used by the linker.
CMAKE_EXE_LINKER_FLAGS:STRING=
//Flags used by the linker during debug builds.
CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=
//Flags used by the linker during release minsize builds.
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=
//Flags used by the linker during release builds.
CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING=
//Flags used by the linker during Release with Debug Info builds.
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
//Enable/Disable output of compile commands during generation.
CMAKE_EXPORT_COMPILE_COMMANDS:BOOL=OFF
//Install path prefix, prepended onto install directories.
CMAKE_INSTALL_PREFIX:PATH=/usr/local
//Path to a program.
CMAKE_LINKER:FILEPATH=/usr/bin/ld
//Path to a program.
CMAKE_MAKE_PROGRAM:FILEPATH=/usr/bin/make
//Flags used by the linker during the creation of modules.
CMAKE_MODULE_LINKER_FLAGS:STRING=
//Flags used by the linker during debug builds.
CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=
//Flags used by the linker during release minsize builds.
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=
//Flags used by the linker during release builds.
CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING=
//Flags used by the linker during Release with Debug Info builds.
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
//Path to a program.
CMAKE_NM:FILEPATH=/usr/bin/nm
//Path to a program.
CMAKE_OBJCOPY:FILEPATH=/usr/bin/objcopy
//Path to a program.
CMAKE_OBJDUMP:FILEPATH=/usr/bin/objdump
//Value Computed by CMake
CMAKE_PROJECT_NAME:STATIC=check
//Path to a program.
CMAKE_RANLIB:FILEPATH=/usr/bin/ranlib
//Flags used by the linker during the creation of dll's.
CMAKE_SHARED_LINKER_FLAGS:STRING=
//Flags used by the linker during debug builds.
CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=
//Flags used by the linker during release minsize builds.
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=
//Flags used by the linker during release builds.
CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING=
//Flags used by the linker during Release with Debug Info builds.
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING=
//If set, runtime paths are not added when installing shared libraries,
// but are added when building.
CMAKE_SKIP_INSTALL_RPATH:BOOL=NO
//If set, runtime paths are not added when using shared libraries.
CMAKE_SKIP_RPATH:BOOL=NO
//Flags used by the linker during the creation of static libraries.
CMAKE_STATIC_LINKER_FLAGS:STRING=
//Flags used by the linker during debug builds.
CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING=
//Flags used by the linker during release minsize builds.
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING=
//Flags used by the linker during release builds.
CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING=
//Flags used by the linker during Release with Debug Info builds.
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING=
//Path to a program.
CMAKE_STRIP:FILEPATH=/usr/bin/strip
//If true, cmake will use relative paths in makefiles and projects.
CMAKE_USE_RELATIVE_PATHS:BOOL=OFF
//If this value is on, makefiles will be generated without the
// .SILENT directive, and all commands will be echoed to the console
// during the make. This is useful for debugging only. With Visual
// Studio IDE projects all commands are done without /nologo.
CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE
//Value Computed by CMake
check_BINARY_DIR:STATIC=/root/05_day/check-0.10.0
//Dependencies for the target
check_LIB_DEPENDS:STATIC=general;m;general;rt;
//Value Computed by CMake
check_SOURCE_DIR:STATIC=/root/05_day/check-0.10.0
//Dependencies for target
compat_LIB_DEPENDS:STATIC=
########################
# INTERNAL cache entries
########################
//CHECK_TYPE_SIZE: sizeof(clockid_t)
CLOCKID_T:INTERNAL=4
//CHECK_TYPE_SIZE: sizeof(clock_t)
CLOCK_T:INTERNAL=4
//ADVANCED property for variable: CMAKE_AR
CMAKE_AR-ADVANCED:INTERNAL=1
//This is the directory where this CMakeCache.txt was created
CMAKE_CACHEFILE_DIR:INTERNAL=/root/05_day/check-0.10.0
//Major version of cmake used to create the current loaded cache
CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3
//Minor version of cmake used to create the current loaded cache
CMAKE_CACHE_MINOR_VERSION:INTERNAL=2
//Patch version of cmake used to create the current loaded cache
CMAKE_CACHE_PATCH_VERSION:INTERNAL=2
//ADVANCED property for variable: CMAKE_COLOR_MAKEFILE
CMAKE_COLOR_MAKEFILE-ADVANCED:INTERNAL=1
//Path to CMake executable.
CMAKE_COMMAND:INTERNAL=/usr/bin/cmake
//Path to cpack program executable.
CMAKE_CPACK_COMMAND:INTERNAL=/usr/bin/cpack
//Path to ctest program executable.
CMAKE_CTEST_COMMAND:INTERNAL=/usr/bin/ctest
//ADVANCED property for variable: CMAKE_C_COMPILER
CMAKE_C_COMPILER-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS
CMAKE_C_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_DEBUG
CMAKE_C_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_MINSIZEREL
CMAKE_C_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_RELEASE
CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_RELWITHDEBINFO
CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//Executable file format
CMAKE_EXECUTABLE_FORMAT:INTERNAL=ELF
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS
CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG
CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE
CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXPORT_COMPILE_COMMANDS
CMAKE_EXPORT_COMPILE_COMMANDS-ADVANCED:INTERNAL=1
//Name of external makefile project generator.
CMAKE_EXTRA_GENERATOR:INTERNAL=
//Name of generator.
CMAKE_GENERATOR:INTERNAL=Unix Makefiles
//Name of generator platform.
CMAKE_GENERATOR_PLATFORM:INTERNAL=
//Name of generator toolset.
CMAKE_GENERATOR_TOOLSET:INTERNAL=
//Start directory with the top level CMakeLists.txt file for this
// project
CMAKE_HOME_DIRECTORY:INTERNAL=/root/05_day/check-0.10.0
//Install .so files without execute permission.
CMAKE_INSTALL_SO_NO_EXE:INTERNAL=1
//ADVANCED property for variable: CMAKE_LINKER
CMAKE_LINKER-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MAKE_PROGRAM
CMAKE_MAKE_PROGRAM-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS
CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG
CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE
CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_NM
CMAKE_NM-ADVANCED:INTERNAL=1
//number of local generators
CMAKE_NUMBER_OF_LOCAL_GENERATORS:INTERNAL=4
//ADVANCED property for variable: CMAKE_OBJCOPY
CMAKE_OBJCOPY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_OBJDUMP
CMAKE_OBJDUMP-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_RANLIB
CMAKE_RANLIB-ADVANCED:INTERNAL=1
//Path to CMake installation.
CMAKE_ROOT:INTERNAL=/usr/share/cmake-3.2
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS
CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG
CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE
CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SKIP_INSTALL_RPATH
CMAKE_SKIP_INSTALL_RPATH-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SKIP_RPATH
CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS
CMAKE_STATIC_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_DEBUG
CMAKE_STATIC_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELEASE
CMAKE_STATIC_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STRIP
CMAKE_STRIP-ADVANCED:INTERNAL=1
//uname command
CMAKE_UNAME:INTERNAL=/bin/uname
//ADVANCED property for variable: CMAKE_USE_RELATIVE_PATHS
CMAKE_USE_RELATIVE_PATHS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE
CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1
//Have function asprintf
HAVE_ASPRINTF:INTERNAL=1
//Result of TRY_COMPILE
HAVE_CLOCKID_T:INTERNAL=TRUE
//Result of TRY_COMPILE
HAVE_CLOCK_T:INTERNAL=TRUE
//Have function localtime_r
HAVE_DECL_LOCALTIME_R:INTERNAL=1
//Have function setenv
HAVE_DECL_SETENV:INTERNAL=1
//Have function strdup
HAVE_DECL_STRDUP:INTERNAL=1
//Have function strsignal
HAVE_DECL_STRSIGNAL:INTERNAL=1
//Have include sys/types.h;errno.h
HAVE_ERRNO_H:INTERNAL=1
//Have function fork
HAVE_FORK:INTERNAL=1
//Have function getline
HAVE_GETLINE:INTERNAL=1
//Have function getpid
HAVE_GETPID:INTERNAL=1
//Have function gettimeofday
HAVE_GETTIMEOFDAY:INTERNAL=1
//Result of TRY_COMPILE
HAVE_INT16_T:INTERNAL=TRUE
//Result of TRY_COMPILE
HAVE_INT32_T:INTERNAL=TRUE
//Have symbol INT64_MAX
HAVE_INT64_MAX:INTERNAL=1
//Have symbol INT64_MIN
HAVE_INT64_MIN:INTERNAL=1
//Result of TRY_COMPILE
HAVE_INT64_T:INTERNAL=TRUE
//Result of TRY_COMPILE
HAVE_INTMAX_T:INTERNAL=TRUE
//Have include sys/types.h;errno.h;inttypes.h
HAVE_INTTYPES_H:INTERNAL=1
//Have library m
HAVE_LIBM:INTERNAL=1
//Have library rt
HAVE_LIBRT:INTERNAL=1
//Have include sys/types.h;errno.h;inttypes.h;limits.h
HAVE_LIMITS_H:INTERNAL=1
//Have function malloc
HAVE_MALLOC:INTERNAL=1
//Have function mkstemp
HAVE_MKSTEMP:INTERNAL=1
//Result of TRY_COMPILE
HAVE_PID_T:INTERNAL=TRUE
//Have function realloc
HAVE_REALLOC:INTERNAL=1
//Have function sigaction
HAVE_SIGACTION:INTERNAL=1
//Have include sys/types.h;errno.h;inttypes.h;limits.h;signal.h
HAVE_SIGNAL_H:INTERNAL=1
//Have symbol SIZE_MAX
HAVE_SIZE_MAX:INTERNAL=1
//Result of TRY_COMPILE
HAVE_SIZE_OF_INT:INTERNAL=TRUE
//Result of TRY_COMPILE
HAVE_SIZE_OF_LONG:INTERNAL=TRUE
//Result of TRY_COMPILE
HAVE_SIZE_OF_LONG_LONG:INTERNAL=TRUE
//Result of TRY_COMPILE
HAVE_SIZE_OF_SHORT:INTERNAL=TRUE
//Result of TRY_COMPILE
HAVE_SIZE_OF_UNSIGNED:INTERNAL=TRUE
//Result of TRY_COMPILE
HAVE_SIZE_OF_UNSIGNED_LONG:INTERNAL=TRUE
//Result of TRY_COMPILE
HAVE_SIZE_OF_UNSIGNED_LONG_LONG:INTERNAL=TRUE
//Result of TRY_COMPILE
HAVE_SIZE_OF_UNSIGNED_SHORT:INTERNAL=TRUE
//Result of TRY_COMPILE
HAVE_SIZE_T:INTERNAL=TRUE
//Have function snprintf
HAVE_SNPRINTF:INTERNAL=1
//Have symbol SSIZE_MAX
HAVE_SSIZE_MAX:INTERNAL=1
//Result of TRY_COMPILE
HAVE_SSIZE_T:INTERNAL=TRUE
//Have include sys/types.h;errno.h;inttypes.h;limits.h;signal.h;stdarg.h
HAVE_STDARG_H:INTERNAL=1
//Have include stddef.h
HAVE_STDDEF_H:INTERNAL=1
//Have include sys/types.h;errno.h;inttypes.h;limits.h;signal.h;stdarg.h;stdint.h
HAVE_STDINT_H:INTERNAL=1
//Have include sys/types.h;errno.h;inttypes.h;limits.h;signal.h;stdarg.h;stdint.h;stdlib.h
HAVE_STDLIB_H:INTERNAL=1
//Have include sys/types.h;errno.h;inttypes.h;limits.h;signal.h;stdarg.h;stdint.h;stdlib.h;string.h;strings.h
HAVE_STRINGS_H:INTERNAL=1
//Have include sys/types.h;errno.h;inttypes.h;limits.h;signal.h;stdarg.h;stdint.h;stdlib.h;string.h
HAVE_STRING_H:INTERNAL=1
//Have library subunit
HAVE_SUBUNIT:INTERNAL=
//Have include sys/types.h;errno.h;inttypes.h;limits.h;signal.h;stdarg.h;stdint.h;stdlib.h;string.h;strings.h;sys/time.h
HAVE_SYS_TIME_H:INTERNAL=1
//Have include ;sys/types.h
HAVE_SYS_TYPES_H:INTERNAL=1
//Result of TRY_COMPILE
HAVE_TIMER_T:INTERNAL=TRUE
//Have include sys/types.h;errno.h;inttypes.h;limits.h;signal.h;stdarg.h;stdint.h;stdlib.h;string.h;strings.h;sys/time.h;time.h
HAVE_TIME_H:INTERNAL=1
//Result of TRY_COMPILE
HAVE_UINT16_T:INTERNAL=TRUE
//Have symbol UINT32_MAX
HAVE_UINT32_MAX:INTERNAL=1
//Result of TRY_COMPILE
HAVE_UINT32_T:INTERNAL=TRUE
//Have symbol UINT64_MAX
HAVE_UINT64_MAX:INTERNAL=1
//Result of TRY_COMPILE
HAVE_UINT64_T:INTERNAL=TRUE
//Result of TRY_COMPILE
HAVE_UINT8_T:INTERNAL=TRUE
//Result of TRY_COMPILE
HAVE_UINTMAX_T:INTERNAL=TRUE
//Result of TRY_COMPILE
HAVE_UNSIGNED___INT64:INTERNAL=FALSE
//Have function vasnprintf
HAVE_VASNPRINTF:INTERNAL=
//Have function vasprintf
HAVE_VASPRINTF:INTERNAL=1
//Have function vsnprintf
HAVE_VSNPRINTF:INTERNAL=1
//Have function _getpid
HAVE__GETPID:INTERNAL=
//Have function _strdup
HAVE__STRDUP:INTERNAL=
//Result of TRY_COMPILE
HAVE___INT64:INTERNAL=FALSE
//CHECK_TYPE_SIZE: sizeof(int16_t)
INT16_T:INTERNAL=2
//CHECK_TYPE_SIZE: sizeof(int32_t)
INT32_T:INTERNAL=4
//CHECK_TYPE_SIZE: sizeof(int64_t)
INT64_T:INTERNAL=8
//CHECK_TYPE_SIZE: sizeof(intmax_t)
INTMAX_T:INTERNAL=8
//CHECK_TYPE_SIZE: sizeof(pid_t)
PID_T:INTERNAL=4
//CHECK_TYPE_SIZE: sizeof(int)
SIZE_OF_INT:INTERNAL=4
//CHECK_TYPE_SIZE: sizeof(long)
SIZE_OF_LONG:INTERNAL=4
//CHECK_TYPE_SIZE: sizeof(long long)
SIZE_OF_LONG_LONG:INTERNAL=8
//CHECK_TYPE_SIZE: sizeof(short)
SIZE_OF_SHORT:INTERNAL=2
//CHECK_TYPE_SIZE: sizeof(unsigned)
SIZE_OF_UNSIGNED:INTERNAL=4
//CHECK_TYPE_SIZE: sizeof(unsigned long)
SIZE_OF_UNSIGNED_LONG:INTERNAL=4
//CHECK_TYPE_SIZE: sizeof(unsigned long long)
SIZE_OF_UNSIGNED_LONG_LONG:INTERNAL=8
//CHECK_TYPE_SIZE: sizeof(unsigned short)
SIZE_OF_UNSIGNED_SHORT:INTERNAL=2
//CHECK_TYPE_SIZE: sizeof(size_t)
SIZE_T:INTERNAL=4
//CHECK_TYPE_SIZE: sizeof(ssize_t)
SSIZE_T:INTERNAL=4
//CHECK_TYPE_SIZE: sizeof(timer_t)
TIMER_T:INTERNAL=4
//CHECK_TYPE_SIZE: sizeof(uint16_t)
UINT16_T:INTERNAL=2
//CHECK_TYPE_SIZE: sizeof(uint32_t)
UINT32_T:INTERNAL=4
//CHECK_TYPE_SIZE: sizeof(uint64_t)
UINT64_T:INTERNAL=8
//CHECK_TYPE_SIZE: sizeof(uint8_t)
UINT8_T:INTERNAL=1
//CHECK_TYPE_SIZE: sizeof(uintmax_t)
UINTMAX_T:INTERNAL=8
//CHECK_TYPE_SIZE: unsigned __int64 unknown
UNSIGNED___INT64:INTERNAL=
//CHECK_TYPE_SIZE: __int64 unknown
__INT64:INTERNAL=
@@ -0,0 +1,63 @@
set(CMAKE_C_COMPILER "/usr/bin/cc")
set(CMAKE_C_COMPILER_ARG1 "")
set(CMAKE_C_COMPILER_ID "GNU")
set(CMAKE_C_COMPILER_VERSION "5.2.1")
set(CMAKE_C_COMPILE_FEATURES "c_function_prototypes;c_restrict;c_variadic_macros;c_static_assert")
set(CMAKE_C90_COMPILE_FEATURES "c_function_prototypes")
set(CMAKE_C99_COMPILE_FEATURES "c_restrict;c_variadic_macros")
set(CMAKE_C11_COMPILE_FEATURES "c_static_assert")
set(CMAKE_C_PLATFORM_ID "Linux")
set(CMAKE_C_SIMULATE_ID "")
set(CMAKE_C_SIMULATE_VERSION "")
set(CMAKE_AR "/usr/bin/ar")
set(CMAKE_RANLIB "/usr/bin/ranlib")
set(CMAKE_LINKER "/usr/bin/ld")
set(CMAKE_COMPILER_IS_GNUCC 1)
set(CMAKE_C_COMPILER_LOADED 1)
set(CMAKE_C_COMPILER_WORKS TRUE)
set(CMAKE_C_ABI_COMPILED TRUE)
set(CMAKE_COMPILER_IS_MINGW )
set(CMAKE_COMPILER_IS_CYGWIN )
if(CMAKE_COMPILER_IS_CYGWIN)
set(CYGWIN 1)
set(UNIX 1)
endif()
set(CMAKE_C_COMPILER_ENV_VAR "CC")
if(CMAKE_COMPILER_IS_MINGW)
set(MINGW 1)
endif()
set(CMAKE_C_COMPILER_ID_RUN 1)
set(CMAKE_C_SOURCE_FILE_EXTENSIONS c;m)
set(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC)
set(CMAKE_C_LINKER_PREFERENCE 10)
# Save compiler ABI information.
set(CMAKE_C_SIZEOF_DATA_PTR "4")
set(CMAKE_C_COMPILER_ABI "ELF")
set(CMAKE_C_LIBRARY_ARCHITECTURE "i386-linux-gnu")
if(CMAKE_C_SIZEOF_DATA_PTR)
set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}")
endif()
if(CMAKE_C_COMPILER_ABI)
set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}")
endif()
if(CMAKE_C_LIBRARY_ARCHITECTURE)
set(CMAKE_LIBRARY_ARCHITECTURE "i386-linux-gnu")
endif()
set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "c")
set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "/usr/lib/gcc/i686-linux-gnu/5;/usr/lib/i386-linux-gnu;/usr/lib;/lib/i386-linux-gnu;/lib")
set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "")
Binary file not shown.
@@ -0,0 +1,15 @@
set(CMAKE_HOST_SYSTEM "Linux-4.2.0-16-generic")
set(CMAKE_HOST_SYSTEM_NAME "Linux")
set(CMAKE_HOST_SYSTEM_VERSION "4.2.0-16-generic")
set(CMAKE_HOST_SYSTEM_PROCESSOR "i686")
set(CMAKE_SYSTEM "Linux-4.2.0-16-generic")
set(CMAKE_SYSTEM_NAME "Linux")
set(CMAKE_SYSTEM_VERSION "4.2.0-16-generic")
set(CMAKE_SYSTEM_PROCESSOR "i686")
set(CMAKE_CROSSCOMPILING "FALSE")
set(CMAKE_SYSTEM_LOADED 1)
@@ -0,0 +1,499 @@
#ifdef __cplusplus
# error "A C++ compiler has been selected for C."
#endif
#if defined(__18CXX)
# define ID_VOID_MAIN
#endif
/* Version number components: V=Version, R=Revision, P=Patch
Version date components: YYYY=Year, MM=Month, DD=Day */
#if defined(__INTEL_COMPILER) || defined(__ICC)
# define COMPILER_ID "Intel"
# if defined(_MSC_VER)
# define SIMULATE_ID "MSVC"
# endif
/* __INTEL_COMPILER = VRP */
# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100)
# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10)
# if defined(__INTEL_COMPILER_UPDATE)
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE)
# else
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10)
# endif
# if defined(__INTEL_COMPILER_BUILD_DATE)
/* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */
# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE)
# endif
# if defined(_MSC_VER)
/* _MSC_VER = VVRR */
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
# endif
#elif defined(__PATHCC__)
# define COMPILER_ID "PathScale"
# define COMPILER_VERSION_MAJOR DEC(__PATHCC__)
# define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__)
# if defined(__PATHCC_PATCHLEVEL__)
# define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__)
# endif
#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__)
# define COMPILER_ID "Embarcadero"
# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF)
# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF)
# define COMPILER_VERSION_PATCH HEX(__CODEGEARC_VERSION__ & 0xFFFF)
#elif defined(__BORLANDC__)
# define COMPILER_ID "Borland"
/* __BORLANDC__ = 0xVRR */
# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8)
# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF)
#elif defined(__WATCOMC__) && __WATCOMC__ < 1200
# define COMPILER_ID "Watcom"
/* __WATCOMC__ = VVRR */
# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100)
# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
# if (__WATCOMC__ % 10) > 0
# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
# endif
#elif defined(__WATCOMC__)
# define COMPILER_ID "OpenWatcom"
/* __WATCOMC__ = VVRP + 1100 */
# define COMPILER_VERSION_MAJOR DEC((__WATCOMC__ - 1100) / 100)
# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
# if (__WATCOMC__ % 10) > 0
# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
# endif
#elif defined(__SUNPRO_C)
# define COMPILER_ID "SunPro"
# if __SUNPRO_C >= 0x5100
/* __SUNPRO_C = 0xVRRP */
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>12)
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xFF)
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF)
# else
/* __SUNPRO_CC = 0xVRP */
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>8)
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xF)
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF)
# endif
#elif defined(__HP_cc)
# define COMPILER_ID "HP"
/* __HP_cc = VVRRPP */
# define COMPILER_VERSION_MAJOR DEC(__HP_cc/10000)
# define COMPILER_VERSION_MINOR DEC(__HP_cc/100 % 100)
# define COMPILER_VERSION_PATCH DEC(__HP_cc % 100)
#elif defined(__DECC)
# define COMPILER_ID "Compaq"
/* __DECC_VER = VVRRTPPPP */
# define COMPILER_VERSION_MAJOR DEC(__DECC_VER/10000000)
# define COMPILER_VERSION_MINOR DEC(__DECC_VER/100000 % 100)
# define COMPILER_VERSION_PATCH DEC(__DECC_VER % 10000)
#elif defined(__IBMC__) && defined(__COMPILER_VER__)
# define COMPILER_ID "zOS"
/* __IBMC__ = VRP */
# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ >= 800
# define COMPILER_ID "XL"
/* __IBMC__ = VRP */
# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ < 800
# define COMPILER_ID "VisualAge"
/* __IBMC__ = VRP */
# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
#elif defined(__PGI)
# define COMPILER_ID "PGI"
# define COMPILER_VERSION_MAJOR DEC(__PGIC__)
# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__)
# if defined(__PGIC_PATCHLEVEL__)
# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__)
# endif
#elif defined(_CRAYC)
# define COMPILER_ID "Cray"
# define COMPILER_VERSION_MAJOR DEC(_RELEASE)
# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR)
#elif defined(__TI_COMPILER_VERSION__)
# define COMPILER_ID "TI"
/* __TI_COMPILER_VERSION__ = VVVRRRPPP */
# define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000)
# define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000)
# define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000)
#elif defined(__FUJITSU) || defined(__FCC_VERSION) || defined(__fcc_version)
# define COMPILER_ID "Fujitsu"
#elif defined(__TINYC__)
# define COMPILER_ID "TinyCC"
#elif defined(__SCO_VERSION__)
# define COMPILER_ID "SCO"
#elif defined(__clang__) && defined(__apple_build_version__)
# define COMPILER_ID "AppleClang"
# if defined(_MSC_VER)
# define SIMULATE_ID "MSVC"
# endif
# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
# if defined(_MSC_VER)
/* _MSC_VER = VVRR */
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
# endif
# define COMPILER_VERSION_TWEAK DEC(__apple_build_version__)
#elif defined(__clang__)
# define COMPILER_ID "Clang"
# if defined(_MSC_VER)
# define SIMULATE_ID "MSVC"
# endif
# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
# if defined(_MSC_VER)
/* _MSC_VER = VVRR */
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
# endif
#elif defined(__GNUC__)
# define COMPILER_ID "GNU"
# define COMPILER_VERSION_MAJOR DEC(__GNUC__)
# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__)
# if defined(__GNUC_PATCHLEVEL__)
# define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
# endif
#elif defined(_MSC_VER)
# define COMPILER_ID "MSVC"
/* _MSC_VER = VVRR */
# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100)
# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100)
# if defined(_MSC_FULL_VER)
# if _MSC_VER >= 1400
/* _MSC_FULL_VER = VVRRPPPPP */
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000)
# else
/* _MSC_FULL_VER = VVRRPPPP */
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000)
# endif
# endif
# if defined(_MSC_BUILD)
# define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD)
# endif
#elif defined(__VISUALDSPVERSION__) || defined(__ADSPBLACKFIN__) || defined(__ADSPTS__) || defined(__ADSP21000__)
# define COMPILER_ID "ADSP"
#if defined(__VISUALDSPVERSION__)
/* __VISUALDSPVERSION__ = 0xVVRRPP00 */
# define COMPILER_VERSION_MAJOR HEX(__VISUALDSPVERSION__>>24)
# define COMPILER_VERSION_MINOR HEX(__VISUALDSPVERSION__>>16 & 0xFF)
# define COMPILER_VERSION_PATCH HEX(__VISUALDSPVERSION__>>8 & 0xFF)
#endif
#elif defined(__IAR_SYSTEMS_ICC__ ) || defined(__IAR_SYSTEMS_ICC)
# define COMPILER_ID "IAR"
#elif defined(SDCC)
# define COMPILER_ID "SDCC"
/* SDCC = VRP */
# define COMPILER_VERSION_MAJOR DEC(SDCC/100)
# define COMPILER_VERSION_MINOR DEC(SDCC/10 % 10)
# define COMPILER_VERSION_PATCH DEC(SDCC % 10)
#elif defined(_SGI_COMPILER_VERSION) || defined(_COMPILER_VERSION)
# define COMPILER_ID "MIPSpro"
# if defined(_SGI_COMPILER_VERSION)
/* _SGI_COMPILER_VERSION = VRP */
# define COMPILER_VERSION_MAJOR DEC(_SGI_COMPILER_VERSION/100)
# define COMPILER_VERSION_MINOR DEC(_SGI_COMPILER_VERSION/10 % 10)
# define COMPILER_VERSION_PATCH DEC(_SGI_COMPILER_VERSION % 10)
# else
/* _COMPILER_VERSION = VRP */
# define COMPILER_VERSION_MAJOR DEC(_COMPILER_VERSION/100)
# define COMPILER_VERSION_MINOR DEC(_COMPILER_VERSION/10 % 10)
# define COMPILER_VERSION_PATCH DEC(_COMPILER_VERSION % 10)
# endif
/* These compilers are either not known or too old to define an
identification macro. Try to identify the platform and guess that
it is the native compiler. */
#elif defined(__sgi)
# define COMPILER_ID "MIPSpro"
#elif defined(__hpux) || defined(__hpua)
# define COMPILER_ID "HP"
#else /* unknown compiler */
# define COMPILER_ID ""
#endif
/* Construct the string literal in pieces to prevent the source from
getting matched. Store it in a pointer rather than an array
because some compilers will just produce instructions to fill the
array rather than assigning a pointer to a static array. */
char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]";
#ifdef SIMULATE_ID
char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]";
#endif
#ifdef __QNXNTO__
char const* qnxnto = "INFO" ":" "qnxnto[]";
#endif
/* Identify known platforms by name. */
#if defined(__linux) || defined(__linux__) || defined(linux)
# define PLATFORM_ID "Linux"
#elif defined(__CYGWIN__)
# define PLATFORM_ID "Cygwin"
#elif defined(__MINGW32__)
# define PLATFORM_ID "MinGW"
#elif defined(__APPLE__)
# define PLATFORM_ID "Darwin"
#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
# define PLATFORM_ID "Windows"
#elif defined(__FreeBSD__) || defined(__FreeBSD)
# define PLATFORM_ID "FreeBSD"
#elif defined(__NetBSD__) || defined(__NetBSD)
# define PLATFORM_ID "NetBSD"
#elif defined(__OpenBSD__) || defined(__OPENBSD)
# define PLATFORM_ID "OpenBSD"
#elif defined(__sun) || defined(sun)
# define PLATFORM_ID "SunOS"
#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__)
# define PLATFORM_ID "AIX"
#elif defined(__sgi) || defined(__sgi__) || defined(_SGI)
# define PLATFORM_ID "IRIX"
#elif defined(__hpux) || defined(__hpux__)
# define PLATFORM_ID "HP-UX"
#elif defined(__HAIKU__)
# define PLATFORM_ID "Haiku"
#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS)
# define PLATFORM_ID "BeOS"
#elif defined(__QNX__) || defined(__QNXNTO__)
# define PLATFORM_ID "QNX"
#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__)
# define PLATFORM_ID "Tru64"
#elif defined(__riscos) || defined(__riscos__)
# define PLATFORM_ID "RISCos"
#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__)
# define PLATFORM_ID "SINIX"
#elif defined(__UNIX_SV__)
# define PLATFORM_ID "UNIX_SV"
#elif defined(__bsdos__)
# define PLATFORM_ID "BSDOS"
#elif defined(_MPRAS) || defined(MPRAS)
# define PLATFORM_ID "MP-RAS"
#elif defined(__osf) || defined(__osf__)
# define PLATFORM_ID "OSF1"
#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv)
# define PLATFORM_ID "SCO_SV"
#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX)
# define PLATFORM_ID "ULTRIX"
#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX)
# define PLATFORM_ID "Xenix"
#elif defined(__WATCOMC__)
# if defined(__LINUX__)
# define PLATFORM_ID "Linux"
# elif defined(__DOS__)
# define PLATFORM_ID "DOS"
# elif defined(__OS2__)
# define PLATFORM_ID "OS2"
# elif defined(__WINDOWS__)
# define PLATFORM_ID "Windows3x"
# else /* unknown platform */
# define PLATFORM_ID ""
# endif
#else /* unknown platform */
# define PLATFORM_ID ""
#endif
/* For windows compilers MSVC and Intel we can determine
the architecture of the compiler being used. This is because
the compilers do not have flags that can change the architecture,
but rather depend on which compiler is being used
*/
#if defined(_WIN32) && defined(_MSC_VER)
# if defined(_M_IA64)
# define ARCHITECTURE_ID "IA64"
# elif defined(_M_X64) || defined(_M_AMD64)
# define ARCHITECTURE_ID "x64"
# elif defined(_M_IX86)
# define ARCHITECTURE_ID "X86"
# elif defined(_M_ARM)
# define ARCHITECTURE_ID "ARM"
# elif defined(_M_MIPS)
# define ARCHITECTURE_ID "MIPS"
# elif defined(_M_SH)
# define ARCHITECTURE_ID "SHx"
# else /* unknown architecture */
# define ARCHITECTURE_ID ""
# endif
#elif defined(__WATCOMC__)
# if defined(_M_I86)
# define ARCHITECTURE_ID "I86"
# elif defined(_M_IX86)
# define ARCHITECTURE_ID "X86"
# else /* unknown architecture */
# define ARCHITECTURE_ID ""
# endif
#else
# define ARCHITECTURE_ID ""
#endif
/* Convert integer to decimal digit literals. */
#define DEC(n) \
('0' + (((n) / 10000000)%10)), \
('0' + (((n) / 1000000)%10)), \
('0' + (((n) / 100000)%10)), \
('0' + (((n) / 10000)%10)), \
('0' + (((n) / 1000)%10)), \
('0' + (((n) / 100)%10)), \
('0' + (((n) / 10)%10)), \
('0' + ((n) % 10))
/* Convert integer to hex digit literals. */
#define HEX(n) \
('0' + ((n)>>28 & 0xF)), \
('0' + ((n)>>24 & 0xF)), \
('0' + ((n)>>20 & 0xF)), \
('0' + ((n)>>16 & 0xF)), \
('0' + ((n)>>12 & 0xF)), \
('0' + ((n)>>8 & 0xF)), \
('0' + ((n)>>4 & 0xF)), \
('0' + ((n) & 0xF))
/* Construct a string literal encoding the version number components. */
#ifdef COMPILER_VERSION_MAJOR
char const info_version[] = {
'I', 'N', 'F', 'O', ':',
'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[',
COMPILER_VERSION_MAJOR,
# ifdef COMPILER_VERSION_MINOR
'.', COMPILER_VERSION_MINOR,
# ifdef COMPILER_VERSION_PATCH
'.', COMPILER_VERSION_PATCH,
# ifdef COMPILER_VERSION_TWEAK
'.', COMPILER_VERSION_TWEAK,
# endif
# endif
# endif
']','\0'};
#endif
/* Construct a string literal encoding the version number components. */
#ifdef SIMULATE_VERSION_MAJOR
char const info_simulate_version[] = {
'I', 'N', 'F', 'O', ':',
's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[',
SIMULATE_VERSION_MAJOR,
# ifdef SIMULATE_VERSION_MINOR
'.', SIMULATE_VERSION_MINOR,
# ifdef SIMULATE_VERSION_PATCH
'.', SIMULATE_VERSION_PATCH,
# ifdef SIMULATE_VERSION_TWEAK
'.', SIMULATE_VERSION_TWEAK,
# endif
# endif
# endif
']','\0'};
#endif
/* Construct the string literal in pieces to prevent the source from
getting matched. Store it in a pointer rather than an array
because some compilers will just produce instructions to fill the
array rather than assigning a pointer to a static array. */
char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]";
char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]";
/*--------------------------------------------------------------------------*/
#ifdef ID_VOID_MAIN
void main() {}
#else
int main(int argc, char* argv[])
{
int require = 0;
require += info_compiler[argc];
require += info_platform[argc];
require += info_arch[argc];
#ifdef COMPILER_VERSION_MAJOR
require += info_version[argc];
#endif
#ifdef SIMULATE_ID
require += info_simulate[argc];
#endif
#ifdef SIMULATE_VERSION_MAJOR
require += info_simulate_version[argc];
#endif
(void)argv;
return require;
}
#endif
Binary file not shown.
@@ -0,0 +1,16 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.2
# Relative path conversion top directories.
set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/root/05_day/check-0.10.0")
set(CMAKE_RELATIVE_PATH_TOP_BINARY "/root/05_day/check-0.10.0")
# Force unix paths in dependencies.
set(CMAKE_FORCE_UNIX_PATHS 1)
# The C and CXX include file regular expressions for this directory.
set(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$")
set(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$")
set(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN})
set(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN})
@@ -0,0 +1,239 @@
Determining if the function _getpid exists failed with the following output:
Change Dir: /root/05_day/check-0.10.0/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTryCompileExec933934426/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec933934426.dir/build.make CMakeFiles/cmTryCompileExec933934426.dir/build
make[1]: Entering directory '/root/05_day/check-0.10.0/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report /root/05_day/check-0.10.0/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec933934426.dir/CheckFunctionExists.c.o
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=_getpid -o CMakeFiles/cmTryCompileExec933934426.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.2/Modules/CheckFunctionExists.c
Linking C executable cmTryCompileExec933934426
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec933934426.dir/link.txt --verbose=1
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=_getpid CMakeFiles/cmTryCompileExec933934426.dir/CheckFunctionExists.c.o -o cmTryCompileExec933934426 -rdynamic
CMakeFiles/cmTryCompileExec933934426.dir/CheckFunctionExists.c.o: In function `main':
CheckFunctionExists.c:(.text+0x12): undefined reference to `_getpid'
CMakeFiles/cmTryCompileExec933934426.dir/build.make:88: recipe for target 'cmTryCompileExec933934426' failed
make[1]: Leaving directory '/root/05_day/check-0.10.0/CMakeFiles/CMakeTmp'
Makefile:117: recipe for target 'cmTryCompileExec933934426/fast' failed
collect2: error: ld returned 1 exit status
make[1]: *** [cmTryCompileExec933934426] Error 1
make: *** [cmTryCompileExec933934426/fast] Error 2
Determining if the function _strdup exists failed with the following output:
Change Dir: /root/05_day/check-0.10.0/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTryCompileExec1833235119/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec1833235119.dir/build.make CMakeFiles/cmTryCompileExec1833235119.dir/build
make[1]: Entering directory '/root/05_day/check-0.10.0/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report /root/05_day/check-0.10.0/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec1833235119.dir/CheckFunctionExists.c.o
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=_strdup -o CMakeFiles/cmTryCompileExec1833235119.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.2/Modules/CheckFunctionExists.c
Linking C executable cmTryCompileExec1833235119
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1833235119.dir/link.txt --verbose=1
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=_strdup CMakeFiles/cmTryCompileExec1833235119.dir/CheckFunctionExists.c.o -o cmTryCompileExec1833235119 -rdynamic
CMakeFiles/cmTryCompileExec1833235119.dir/CheckFunctionExists.c.o: In function `main':
CheckFunctionExists.c:(.text+0x12): undefined reference to `_strdup'
CMakeFiles/cmTryCompileExec1833235119.dir/build.make:88: recipe for target 'cmTryCompileExec1833235119' failed
make[1]: Leaving directory '/root/05_day/check-0.10.0/CMakeFiles/CMakeTmp'
Makefile:117: recipe for target 'cmTryCompileExec1833235119/fast' failed
collect2: error: ld returned 1 exit status
make[1]: *** [cmTryCompileExec1833235119] Error 1
make: *** [cmTryCompileExec1833235119/fast] Error 2
Determining if the function vasnprintf exists failed with the following output:
Change Dir: /root/05_day/check-0.10.0/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTryCompileExec1126057872/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec1126057872.dir/build.make CMakeFiles/cmTryCompileExec1126057872.dir/build
make[1]: Entering directory '/root/05_day/check-0.10.0/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report /root/05_day/check-0.10.0/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec1126057872.dir/CheckFunctionExists.c.o
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=vasnprintf -o CMakeFiles/cmTryCompileExec1126057872.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.2/Modules/CheckFunctionExists.c
Linking C executable cmTryCompileExec1126057872
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1126057872.dir/link.txt --verbose=1
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=vasnprintf CMakeFiles/cmTryCompileExec1126057872.dir/CheckFunctionExists.c.o -o cmTryCompileExec1126057872 -rdynamic
CMakeFiles/cmTryCompileExec1126057872.dir/CheckFunctionExists.c.o: In function `main':
CheckFunctionExists.c:(.text+0x12): undefined reference to `vasnprintf'
CMakeFiles/cmTryCompileExec1126057872.dir/build.make:88: recipe for target 'cmTryCompileExec1126057872' failed
make[1]: Leaving directory '/root/05_day/check-0.10.0/CMakeFiles/CMakeTmp'
Makefile:117: recipe for target 'cmTryCompileExec1126057872/fast' failed
collect2: error: ld returned 1 exit status
make[1]: *** [cmTryCompileExec1126057872] Error 1
make: *** [cmTryCompileExec1126057872/fast] Error 2
Determining size of __int64 failed with the following output:
Change Dir: /root/05_day/check-0.10.0/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTryCompileExec4096802797/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec4096802797.dir/build.make CMakeFiles/cmTryCompileExec4096802797.dir/build
make[1]: Entering directory '/root/05_day/check-0.10.0/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report /root/05_day/check-0.10.0/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec4096802797.dir/__INT64.c.o
/usr/bin/cc -o CMakeFiles/cmTryCompileExec4096802797.dir/__INT64.c.o -c /root/05_day/check-0.10.0/CMakeFiles/CheckTypeSize/__INT64.c
/root/05_day/check-0.10.0/CMakeFiles/CheckTypeSize/__INT64.c:17:22: error: __int64 undeclared here (not in a function)
#define SIZE (sizeof(__int64))
^
/root/05_day/check-0.10.0/CMakeFiles/CheckTypeSize/__INT64.c:19:12: note: in expansion of macro SIZE
('0' + ((SIZE / 10000)%10)),
^
CMakeFiles/cmTryCompileExec4096802797.dir/build.make:57: recipe for target 'CMakeFiles/cmTryCompileExec4096802797.dir/__INT64.c.o' failed
make[1]: Leaving directory '/root/05_day/check-0.10.0/CMakeFiles/CMakeTmp'
make[1]: *** [CMakeFiles/cmTryCompileExec4096802797.dir/__INT64.c.o] Error 1
Makefile:117: recipe for target 'cmTryCompileExec4096802797/fast' failed
make: *** [cmTryCompileExec4096802797/fast] Error 2
/root/05_day/check-0.10.0/CMakeFiles/CheckTypeSize/__INT64.c:
#include <sys/types.h>
#include <stdint.h>
#include <stddef.h>
#undef KEY
#if defined(__i386)
# define KEY '_','_','i','3','8','6'
#elif defined(__x86_64)
# define KEY '_','_','x','8','6','_','6','4'
#elif defined(__ppc__)
# define KEY '_','_','p','p','c','_','_'
#elif defined(__ppc64__)
# define KEY '_','_','p','p','c','6','4','_','_'
#endif
#define SIZE (sizeof(__int64))
char info_size[] = {'I', 'N', 'F', 'O', ':', 's','i','z','e','[',
('0' + ((SIZE / 10000)%10)),
('0' + ((SIZE / 1000)%10)),
('0' + ((SIZE / 100)%10)),
('0' + ((SIZE / 10)%10)),
('0' + (SIZE % 10)),
']',
#ifdef KEY
' ','k','e','y','[', KEY, ']',
#endif
'\0'};
#ifdef __CLASSIC_C__
int main(argc, argv) int argc; char *argv[];
#else
int main(int argc, char *argv[])
#endif
{
int require = 0;
require += info_size[argc];
(void)argv;
return require;
}
Determining size of unsigned __int64 failed with the following output:
Change Dir: /root/05_day/check-0.10.0/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTryCompileExec2366674278/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec2366674278.dir/build.make CMakeFiles/cmTryCompileExec2366674278.dir/build
make[1]: Entering directory '/root/05_day/check-0.10.0/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report /root/05_day/check-0.10.0/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec2366674278.dir/UNSIGNED___INT64.c.o
/usr/bin/cc -o CMakeFiles/cmTryCompileExec2366674278.dir/UNSIGNED___INT64.c.o -c /root/05_day/check-0.10.0/CMakeFiles/CheckTypeSize/UNSIGNED___INT64.c
/root/05_day/check-0.10.0/CMakeFiles/CheckTypeSize/UNSIGNED___INT64.c:17:31: error: expected ) before __int64
#define SIZE (sizeof(unsigned __int64))
^
/root/05_day/check-0.10.0/CMakeFiles/CheckTypeSize/UNSIGNED___INT64.c:19:12: note: in expansion of macro SIZE
('0' + ((SIZE / 10000)%10)),
^
/root/05_day/check-0.10.0/CMakeFiles/CheckTypeSize/UNSIGNED___INT64.c:17:31: error: expected ) before __int64
#define SIZE (sizeof(unsigned __int64))
^
/root/05_day/check-0.10.0/CMakeFiles/CheckTypeSize/UNSIGNED___INT64.c:20:12: note: in expansion of macro SIZE
('0' + ((SIZE / 1000)%10)),
^
/root/05_day/check-0.10.0/CMakeFiles/CheckTypeSize/UNSIGNED___INT64.c:17:31: error: expected ) before __int64
#define SIZE (sizeof(unsigned __int64))
^
/root/05_day/check-0.10.0/CMakeFiles/CheckTypeSize/UNSIGNED___INT64.c:21:12: note: in expansion of macro SIZE
('0' + ((SIZE / 100)%10)),
^
/root/05_day/check-0.10.0/CMakeFiles/CheckTypeSize/UNSIGNED___INT64.c:17:31: error: expected ) before __int64
#define SIZE (sizeof(unsigned __int64))
^
/root/05_day/check-0.10.0/CMakeFiles/CheckTypeSize/UNSIGNED___INT64.c:22:12: note: in expansion of macro SIZE
('0' + ((SIZE / 10)%10)),
^
/root/05_day/check-0.10.0/CMakeFiles/CheckTypeSize/UNSIGNED___INT64.c:17:31: error: expected ) before __int64
#define SIZE (sizeof(unsigned __int64))
^
/root/05_day/check-0.10.0/CMakeFiles/CheckTypeSize/UNSIGNED___INT64.c:23:12: note: in expansion of macro SIZE
('0' + (SIZE % 10)),
^
CMakeFiles/cmTryCompileExec2366674278.dir/build.make:57: recipe for target 'CMakeFiles/cmTryCompileExec2366674278.dir/UNSIGNED___INT64.c.o' failed
make[1]: Leaving directory '/root/05_day/check-0.10.0/CMakeFiles/CMakeTmp'
make[1]: *** [CMakeFiles/cmTryCompileExec2366674278.dir/UNSIGNED___INT64.c.o] Error 1
Makefile:117: recipe for target 'cmTryCompileExec2366674278/fast' failed
make: *** [cmTryCompileExec2366674278/fast] Error 2
/root/05_day/check-0.10.0/CMakeFiles/CheckTypeSize/UNSIGNED___INT64.c:
#include <sys/types.h>
#include <stdint.h>
#include <stddef.h>
#undef KEY
#if defined(__i386)
# define KEY '_','_','i','3','8','6'
#elif defined(__x86_64)
# define KEY '_','_','x','8','6','_','6','4'
#elif defined(__ppc__)
# define KEY '_','_','p','p','c','_','_'
#elif defined(__ppc64__)
# define KEY '_','_','p','p','c','6','4','_','_'
#endif
#define SIZE (sizeof(unsigned __int64))
char info_size[] = {'I', 'N', 'F', 'O', ':', 's','i','z','e','[',
('0' + ((SIZE / 10000)%10)),
('0' + ((SIZE / 1000)%10)),
('0' + ((SIZE / 100)%10)),
('0' + ((SIZE / 10)%10)),
('0' + (SIZE % 10)),
']',
#ifdef KEY
' ','k','e','y','[', KEY, ']',
#endif
'\0'};
#ifdef __CLASSIC_C__
int main(argc, argv) int argc; char *argv[];
#else
int main(int argc, char *argv[])
#endif
{
int require = 0;
require += info_size[argc];
(void)argv;
return require;
}
Determining if the function subunit_test_start exists in the subunit failed with the following output:
Change Dir: /root/05_day/check-0.10.0/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTryCompileExec699303081/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec699303081.dir/build.make CMakeFiles/cmTryCompileExec699303081.dir/build
make[1]: Entering directory '/root/05_day/check-0.10.0/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report /root/05_day/check-0.10.0/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec699303081.dir/CheckFunctionExists.c.o
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=subunit_test_start -o CMakeFiles/cmTryCompileExec699303081.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.2/Modules/CheckFunctionExists.c
Linking C executable cmTryCompileExec699303081
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec699303081.dir/link.txt --verbose=1
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=subunit_test_start CMakeFiles/cmTryCompileExec699303081.dir/CheckFunctionExists.c.o -o cmTryCompileExec699303081 -rdynamic -lsubunit
/usr/bin/ld: cannot find -lsubunit
CMakeFiles/cmTryCompileExec699303081.dir/build.make:88: recipe for target 'cmTryCompileExec699303081' failed
make[1]: Leaving directory '/root/05_day/check-0.10.0/CMakeFiles/CMakeTmp'
Makefile:117: recipe for target 'cmTryCompileExec699303081/fast' failed
collect2: error: ld returned 1 exit status
make[1]: *** [cmTryCompileExec699303081] Error 1
make: *** [cmTryCompileExec699303081/fast] Error 2
File diff suppressed because it is too large Load Diff
Binary file not shown.
@@ -0,0 +1,41 @@
#include <sys/types.h>
#include <stdint.h>
#include <stddef.h>
#include "time.h"
#undef KEY
#if defined(__i386)
# define KEY '_','_','i','3','8','6'
#elif defined(__x86_64)
# define KEY '_','_','x','8','6','_','6','4'
#elif defined(__ppc__)
# define KEY '_','_','p','p','c','_','_'
#elif defined(__ppc64__)
# define KEY '_','_','p','p','c','6','4','_','_'
#endif
#define SIZE (sizeof(clockid_t))
char info_size[] = {'I', 'N', 'F', 'O', ':', 's','i','z','e','[',
('0' + ((SIZE / 10000)%10)),
('0' + ((SIZE / 1000)%10)),
('0' + ((SIZE / 100)%10)),
('0' + ((SIZE / 10)%10)),
('0' + (SIZE % 10)),
']',
#ifdef KEY
' ','k','e','y','[', KEY, ']',
#endif
'\0'};
#ifdef __CLASSIC_C__
int main(argc, argv) int argc; char *argv[];
#else
int main(int argc, char *argv[])
#endif
{
int require = 0;
require += info_size[argc];
(void)argv;
return require;
}
Binary file not shown.
@@ -0,0 +1,41 @@
#include <sys/types.h>
#include <stdint.h>
#include <stddef.h>
#include "time.h"
#undef KEY
#if defined(__i386)
# define KEY '_','_','i','3','8','6'
#elif defined(__x86_64)
# define KEY '_','_','x','8','6','_','6','4'
#elif defined(__ppc__)
# define KEY '_','_','p','p','c','_','_'
#elif defined(__ppc64__)
# define KEY '_','_','p','p','c','6','4','_','_'
#endif
#define SIZE (sizeof(clock_t))
char info_size[] = {'I', 'N', 'F', 'O', ':', 's','i','z','e','[',
('0' + ((SIZE / 10000)%10)),
('0' + ((SIZE / 1000)%10)),
('0' + ((SIZE / 100)%10)),
('0' + ((SIZE / 10)%10)),
('0' + (SIZE % 10)),
']',
#ifdef KEY
' ','k','e','y','[', KEY, ']',
#endif
'\0'};
#ifdef __CLASSIC_C__
int main(argc, argv) int argc; char *argv[];
#else
int main(int argc, char *argv[])
#endif
{
int require = 0;
require += info_size[argc];
(void)argv;
return require;
}
Binary file not shown.
@@ -0,0 +1,40 @@
#include <sys/types.h>
#include <stdint.h>
#include <stddef.h>
#undef KEY
#if defined(__i386)
# define KEY '_','_','i','3','8','6'
#elif defined(__x86_64)
# define KEY '_','_','x','8','6','_','6','4'
#elif defined(__ppc__)
# define KEY '_','_','p','p','c','_','_'
#elif defined(__ppc64__)
# define KEY '_','_','p','p','c','6','4','_','_'
#endif
#define SIZE (sizeof(int16_t))
char info_size[] = {'I', 'N', 'F', 'O', ':', 's','i','z','e','[',
('0' + ((SIZE / 10000)%10)),
('0' + ((SIZE / 1000)%10)),
('0' + ((SIZE / 100)%10)),
('0' + ((SIZE / 10)%10)),
('0' + (SIZE % 10)),
']',
#ifdef KEY
' ','k','e','y','[', KEY, ']',
#endif
'\0'};
#ifdef __CLASSIC_C__
int main(argc, argv) int argc; char *argv[];
#else
int main(int argc, char *argv[])
#endif
{
int require = 0;
require += info_size[argc];
(void)argv;
return require;
}
Binary file not shown.
@@ -0,0 +1,40 @@
#include <sys/types.h>
#include <stdint.h>
#include <stddef.h>
#undef KEY
#if defined(__i386)
# define KEY '_','_','i','3','8','6'
#elif defined(__x86_64)
# define KEY '_','_','x','8','6','_','6','4'
#elif defined(__ppc__)
# define KEY '_','_','p','p','c','_','_'
#elif defined(__ppc64__)
# define KEY '_','_','p','p','c','6','4','_','_'
#endif
#define SIZE (sizeof(int32_t))
char info_size[] = {'I', 'N', 'F', 'O', ':', 's','i','z','e','[',
('0' + ((SIZE / 10000)%10)),
('0' + ((SIZE / 1000)%10)),
('0' + ((SIZE / 100)%10)),
('0' + ((SIZE / 10)%10)),
('0' + (SIZE % 10)),
']',
#ifdef KEY
' ','k','e','y','[', KEY, ']',
#endif
'\0'};
#ifdef __CLASSIC_C__
int main(argc, argv) int argc; char *argv[];
#else
int main(int argc, char *argv[])
#endif
{
int require = 0;
require += info_size[argc];
(void)argv;
return require;
}
Binary file not shown.
@@ -0,0 +1,40 @@
#include <sys/types.h>
#include <stdint.h>
#include <stddef.h>
#undef KEY
#if defined(__i386)
# define KEY '_','_','i','3','8','6'
#elif defined(__x86_64)
# define KEY '_','_','x','8','6','_','6','4'
#elif defined(__ppc__)
# define KEY '_','_','p','p','c','_','_'
#elif defined(__ppc64__)
# define KEY '_','_','p','p','c','6','4','_','_'
#endif
#define SIZE (sizeof(int64_t))
char info_size[] = {'I', 'N', 'F', 'O', ':', 's','i','z','e','[',
('0' + ((SIZE / 10000)%10)),
('0' + ((SIZE / 1000)%10)),
('0' + ((SIZE / 100)%10)),
('0' + ((SIZE / 10)%10)),
('0' + (SIZE % 10)),
']',
#ifdef KEY
' ','k','e','y','[', KEY, ']',
#endif
'\0'};
#ifdef __CLASSIC_C__
int main(argc, argv) int argc; char *argv[];
#else
int main(int argc, char *argv[])
#endif
{
int require = 0;
require += info_size[argc];
(void)argv;
return require;
}
Binary file not shown.
@@ -0,0 +1,40 @@
#include <sys/types.h>
#include <stdint.h>
#include <stddef.h>
#undef KEY
#if defined(__i386)
# define KEY '_','_','i','3','8','6'
#elif defined(__x86_64)
# define KEY '_','_','x','8','6','_','6','4'
#elif defined(__ppc__)
# define KEY '_','_','p','p','c','_','_'
#elif defined(__ppc64__)
# define KEY '_','_','p','p','c','6','4','_','_'
#endif
#define SIZE (sizeof(intmax_t))
char info_size[] = {'I', 'N', 'F', 'O', ':', 's','i','z','e','[',
('0' + ((SIZE / 10000)%10)),
('0' + ((SIZE / 1000)%10)),
('0' + ((SIZE / 100)%10)),
('0' + ((SIZE / 10)%10)),
('0' + (SIZE % 10)),
']',
#ifdef KEY
' ','k','e','y','[', KEY, ']',
#endif
'\0'};
#ifdef __CLASSIC_C__
int main(argc, argv) int argc; char *argv[];
#else
int main(int argc, char *argv[])
#endif
{
int require = 0;
require += info_size[argc];
(void)argv;
return require;
}
Binary file not shown.
@@ -0,0 +1,40 @@
#include <sys/types.h>
#include <stdint.h>
#include <stddef.h>
#undef KEY
#if defined(__i386)
# define KEY '_','_','i','3','8','6'
#elif defined(__x86_64)
# define KEY '_','_','x','8','6','_','6','4'
#elif defined(__ppc__)
# define KEY '_','_','p','p','c','_','_'
#elif defined(__ppc64__)
# define KEY '_','_','p','p','c','6','4','_','_'
#endif
#define SIZE (sizeof(pid_t))
char info_size[] = {'I', 'N', 'F', 'O', ':', 's','i','z','e','[',
('0' + ((SIZE / 10000)%10)),
('0' + ((SIZE / 1000)%10)),
('0' + ((SIZE / 100)%10)),
('0' + ((SIZE / 10)%10)),
('0' + (SIZE % 10)),
']',
#ifdef KEY
' ','k','e','y','[', KEY, ']',
#endif
'\0'};
#ifdef __CLASSIC_C__
int main(argc, argv) int argc; char *argv[];
#else
int main(int argc, char *argv[])
#endif
{
int require = 0;
require += info_size[argc];
(void)argv;
return require;
}
Binary file not shown.
@@ -0,0 +1,40 @@
#include <sys/types.h>
#include <stdint.h>
#include <stddef.h>
#undef KEY
#if defined(__i386)
# define KEY '_','_','i','3','8','6'
#elif defined(__x86_64)
# define KEY '_','_','x','8','6','_','6','4'
#elif defined(__ppc__)
# define KEY '_','_','p','p','c','_','_'
#elif defined(__ppc64__)
# define KEY '_','_','p','p','c','6','4','_','_'
#endif
#define SIZE (sizeof(int))
char info_size[] = {'I', 'N', 'F', 'O', ':', 's','i','z','e','[',
('0' + ((SIZE / 10000)%10)),
('0' + ((SIZE / 1000)%10)),
('0' + ((SIZE / 100)%10)),
('0' + ((SIZE / 10)%10)),
('0' + (SIZE % 10)),
']',
#ifdef KEY
' ','k','e','y','[', KEY, ']',
#endif
'\0'};
#ifdef __CLASSIC_C__
int main(argc, argv) int argc; char *argv[];
#else
int main(int argc, char *argv[])
#endif
{
int require = 0;
require += info_size[argc];
(void)argv;
return require;
}
Binary file not shown.
@@ -0,0 +1,40 @@
#include <sys/types.h>
#include <stdint.h>
#include <stddef.h>
#undef KEY
#if defined(__i386)
# define KEY '_','_','i','3','8','6'
#elif defined(__x86_64)
# define KEY '_','_','x','8','6','_','6','4'
#elif defined(__ppc__)
# define KEY '_','_','p','p','c','_','_'
#elif defined(__ppc64__)
# define KEY '_','_','p','p','c','6','4','_','_'
#endif
#define SIZE (sizeof(long))
char info_size[] = {'I', 'N', 'F', 'O', ':', 's','i','z','e','[',
('0' + ((SIZE / 10000)%10)),
('0' + ((SIZE / 1000)%10)),
('0' + ((SIZE / 100)%10)),
('0' + ((SIZE / 10)%10)),
('0' + (SIZE % 10)),
']',
#ifdef KEY
' ','k','e','y','[', KEY, ']',
#endif
'\0'};
#ifdef __CLASSIC_C__
int main(argc, argv) int argc; char *argv[];
#else
int main(int argc, char *argv[])
#endif
{
int require = 0;
require += info_size[argc];
(void)argv;
return require;
}
Binary file not shown.
@@ -0,0 +1,40 @@
#include <sys/types.h>
#include <stdint.h>
#include <stddef.h>
#undef KEY
#if defined(__i386)
# define KEY '_','_','i','3','8','6'
#elif defined(__x86_64)
# define KEY '_','_','x','8','6','_','6','4'
#elif defined(__ppc__)
# define KEY '_','_','p','p','c','_','_'
#elif defined(__ppc64__)
# define KEY '_','_','p','p','c','6','4','_','_'
#endif
#define SIZE (sizeof(long long))
char info_size[] = {'I', 'N', 'F', 'O', ':', 's','i','z','e','[',
('0' + ((SIZE / 10000)%10)),
('0' + ((SIZE / 1000)%10)),
('0' + ((SIZE / 100)%10)),
('0' + ((SIZE / 10)%10)),
('0' + (SIZE % 10)),
']',
#ifdef KEY
' ','k','e','y','[', KEY, ']',
#endif
'\0'};
#ifdef __CLASSIC_C__
int main(argc, argv) int argc; char *argv[];
#else
int main(int argc, char *argv[])
#endif
{
int require = 0;
require += info_size[argc];
(void)argv;
return require;
}
Binary file not shown.
@@ -0,0 +1,40 @@
#include <sys/types.h>
#include <stdint.h>
#include <stddef.h>
#undef KEY
#if defined(__i386)
# define KEY '_','_','i','3','8','6'
#elif defined(__x86_64)
# define KEY '_','_','x','8','6','_','6','4'
#elif defined(__ppc__)
# define KEY '_','_','p','p','c','_','_'
#elif defined(__ppc64__)
# define KEY '_','_','p','p','c','6','4','_','_'
#endif
#define SIZE (sizeof(short))
char info_size[] = {'I', 'N', 'F', 'O', ':', 's','i','z','e','[',
('0' + ((SIZE / 10000)%10)),
('0' + ((SIZE / 1000)%10)),
('0' + ((SIZE / 100)%10)),
('0' + ((SIZE / 10)%10)),
('0' + (SIZE % 10)),
']',
#ifdef KEY
' ','k','e','y','[', KEY, ']',
#endif
'\0'};
#ifdef __CLASSIC_C__
int main(argc, argv) int argc; char *argv[];
#else
int main(int argc, char *argv[])
#endif
{
int require = 0;
require += info_size[argc];
(void)argv;
return require;
}
Binary file not shown.
@@ -0,0 +1,40 @@
#include <sys/types.h>
#include <stdint.h>
#include <stddef.h>
#undef KEY
#if defined(__i386)
# define KEY '_','_','i','3','8','6'
#elif defined(__x86_64)
# define KEY '_','_','x','8','6','_','6','4'
#elif defined(__ppc__)
# define KEY '_','_','p','p','c','_','_'
#elif defined(__ppc64__)
# define KEY '_','_','p','p','c','6','4','_','_'
#endif
#define SIZE (sizeof(unsigned))
char info_size[] = {'I', 'N', 'F', 'O', ':', 's','i','z','e','[',
('0' + ((SIZE / 10000)%10)),
('0' + ((SIZE / 1000)%10)),
('0' + ((SIZE / 100)%10)),
('0' + ((SIZE / 10)%10)),
('0' + (SIZE % 10)),
']',
#ifdef KEY
' ','k','e','y','[', KEY, ']',
#endif
'\0'};
#ifdef __CLASSIC_C__
int main(argc, argv) int argc; char *argv[];
#else
int main(int argc, char *argv[])
#endif
{
int require = 0;
require += info_size[argc];
(void)argv;
return require;
}
@@ -0,0 +1,40 @@
#include <sys/types.h>
#include <stdint.h>
#include <stddef.h>
#undef KEY
#if defined(__i386)
# define KEY '_','_','i','3','8','6'
#elif defined(__x86_64)
# define KEY '_','_','x','8','6','_','6','4'
#elif defined(__ppc__)
# define KEY '_','_','p','p','c','_','_'
#elif defined(__ppc64__)
# define KEY '_','_','p','p','c','6','4','_','_'
#endif
#define SIZE (sizeof(unsigned long))
char info_size[] = {'I', 'N', 'F', 'O', ':', 's','i','z','e','[',
('0' + ((SIZE / 10000)%10)),
('0' + ((SIZE / 1000)%10)),
('0' + ((SIZE / 100)%10)),
('0' + ((SIZE / 10)%10)),
('0' + (SIZE % 10)),
']',
#ifdef KEY
' ','k','e','y','[', KEY, ']',
#endif
'\0'};
#ifdef __CLASSIC_C__
int main(argc, argv) int argc; char *argv[];
#else
int main(int argc, char *argv[])
#endif
{
int require = 0;
require += info_size[argc];
(void)argv;
return require;
}
@@ -0,0 +1,40 @@
#include <sys/types.h>
#include <stdint.h>
#include <stddef.h>
#undef KEY
#if defined(__i386)
# define KEY '_','_','i','3','8','6'
#elif defined(__x86_64)
# define KEY '_','_','x','8','6','_','6','4'
#elif defined(__ppc__)
# define KEY '_','_','p','p','c','_','_'
#elif defined(__ppc64__)
# define KEY '_','_','p','p','c','6','4','_','_'
#endif
#define SIZE (sizeof(unsigned long long))
char info_size[] = {'I', 'N', 'F', 'O', ':', 's','i','z','e','[',
('0' + ((SIZE / 10000)%10)),
('0' + ((SIZE / 1000)%10)),
('0' + ((SIZE / 100)%10)),
('0' + ((SIZE / 10)%10)),
('0' + (SIZE % 10)),
']',
#ifdef KEY
' ','k','e','y','[', KEY, ']',
#endif
'\0'};
#ifdef __CLASSIC_C__
int main(argc, argv) int argc; char *argv[];
#else
int main(int argc, char *argv[])
#endif
{
int require = 0;
require += info_size[argc];
(void)argv;
return require;
}
@@ -0,0 +1,40 @@
#include <sys/types.h>
#include <stdint.h>
#include <stddef.h>
#undef KEY
#if defined(__i386)
# define KEY '_','_','i','3','8','6'
#elif defined(__x86_64)
# define KEY '_','_','x','8','6','_','6','4'
#elif defined(__ppc__)
# define KEY '_','_','p','p','c','_','_'
#elif defined(__ppc64__)
# define KEY '_','_','p','p','c','6','4','_','_'
#endif
#define SIZE (sizeof(unsigned short))
char info_size[] = {'I', 'N', 'F', 'O', ':', 's','i','z','e','[',
('0' + ((SIZE / 10000)%10)),
('0' + ((SIZE / 1000)%10)),
('0' + ((SIZE / 100)%10)),
('0' + ((SIZE / 10)%10)),
('0' + (SIZE % 10)),
']',
#ifdef KEY
' ','k','e','y','[', KEY, ']',
#endif
'\0'};
#ifdef __CLASSIC_C__
int main(argc, argv) int argc; char *argv[];
#else
int main(int argc, char *argv[])
#endif
{
int require = 0;
require += info_size[argc];
(void)argv;
return require;
}
Binary file not shown.
@@ -0,0 +1,40 @@
#include <sys/types.h>
#include <stdint.h>
#include <stddef.h>
#undef KEY
#if defined(__i386)
# define KEY '_','_','i','3','8','6'
#elif defined(__x86_64)
# define KEY '_','_','x','8','6','_','6','4'
#elif defined(__ppc__)
# define KEY '_','_','p','p','c','_','_'
#elif defined(__ppc64__)
# define KEY '_','_','p','p','c','6','4','_','_'
#endif
#define SIZE (sizeof(size_t))
char info_size[] = {'I', 'N', 'F', 'O', ':', 's','i','z','e','[',
('0' + ((SIZE / 10000)%10)),
('0' + ((SIZE / 1000)%10)),
('0' + ((SIZE / 100)%10)),
('0' + ((SIZE / 10)%10)),
('0' + (SIZE % 10)),
']',
#ifdef KEY
' ','k','e','y','[', KEY, ']',
#endif
'\0'};
#ifdef __CLASSIC_C__
int main(argc, argv) int argc; char *argv[];
#else
int main(int argc, char *argv[])
#endif
{
int require = 0;
require += info_size[argc];
(void)argv;
return require;
}
Binary file not shown.
@@ -0,0 +1,40 @@
#include <sys/types.h>
#include <stdint.h>
#include <stddef.h>
#undef KEY
#if defined(__i386)
# define KEY '_','_','i','3','8','6'
#elif defined(__x86_64)
# define KEY '_','_','x','8','6','_','6','4'
#elif defined(__ppc__)
# define KEY '_','_','p','p','c','_','_'
#elif defined(__ppc64__)
# define KEY '_','_','p','p','c','6','4','_','_'
#endif
#define SIZE (sizeof(ssize_t))
char info_size[] = {'I', 'N', 'F', 'O', ':', 's','i','z','e','[',
('0' + ((SIZE / 10000)%10)),
('0' + ((SIZE / 1000)%10)),
('0' + ((SIZE / 100)%10)),
('0' + ((SIZE / 10)%10)),
('0' + (SIZE % 10)),
']',
#ifdef KEY
' ','k','e','y','[', KEY, ']',
#endif
'\0'};
#ifdef __CLASSIC_C__
int main(argc, argv) int argc; char *argv[];
#else
int main(int argc, char *argv[])
#endif
{
int require = 0;
require += info_size[argc];
(void)argv;
return require;
}

Some files were not shown because too many files have changed in this diff Show More