search for: d_posix_c_source

Displaying 11 results from an estimated 11 matches for "d_posix_c_source".

2008 Jun 04
0
Compile error on CentOS 4.6
...library? Should I update the gcc or other library? [root at localhost barnes]# make BARNES make: Warning: File `code.C' has modification time 6e+02 s in the future m4 -s -Ulen -Uindex /mnt/hgfs/CentOS-4.6-i386_Shared/splash2/codes/null_macros/c.m4.null code.C > code.c gcc -c -O3 -pthread -D_POSIX_C_SOURCE=200112 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wdisabled-optimization -Wpadded -Winline -Wpointer-arith -Wsign-compare -Wendif-labels code.c m4 -s -Ulen -Uindex /mnt/hgfs/CentOS-4.6-i386_Shared/splash2/codes/null_macros/c.m4.null code_io.C > code_io.c gcc -c -O3 -...
2006 Oct 17
4
[PATCH] Fix tools build on Solaris
...ect certain functions. Fix the CFLAGS to enable these on Solaris. Signed-off-by: John Levon <john.levon@sun.com> diff --git a/config/SunOS.mk b/config/SunOS.mk --- a/config/SunOS.mk +++ b/config/SunOS.mk @@ -35,6 +35,8 @@ CFLAGS += -g CFLAGS += -g endif +TOOL_CFLAGS += -std=gnu99 -D_POSIX_C_SOURCE=200112L -D__EXTENSIONS__ + CAFLAGS = -Wa,--divide CONFIG_MBOOTPACK_OS = n diff --git a/tools/blktap/drivers/Makefile b/tools/blktap/drivers/Makefile --- a/tools/blktap/drivers/Makefile +++ b/tools/blktap/drivers/Makefile @@ -8,6 +8,7 @@ INST_DIR = /usr/sbin INST_DIR = /usr/sbin LIBAIO_DIR...
2018 Mar 08
1
[Polly] Reduced code analyzability moving from LLVM 3.9.0 to 5.0.1
...ces-computeout=0 - Avoid sign extensions by replacing all 32-bit ints with longs, as Polly seems to model using 64-bit loop counters - Avoid interrupting control flow through -ffast-math and moving mallocs to the top of the code So to compile, we have: clang -I. -O3 -g3 -Wall -Wextra -std=c99 -D_POSIX_C_SOURCE=200000L -ffast-math -mllvm -polly -mllvm -polly-dot -mllvm -polly-process-unprofitable -mllvm -polly-vectorizer=stripmine -mllvm -polly-dependences-computeout=0 -c -o localcolorcorrection.o localcolorcorrection.c Unfortunately, LLVM 5.0.1 generates different results in analyzing the CFG compared t...
2008 May 30
1
[LLVMdev] Patches for Solaris on x86 solaris
...ps a bit of a stretch to call it a "port". There were two main issues that we ran into here: 1. The Solaris x86 ABI by default defines the x86 registers CS, DS, ES, etc in the system headers, which clashes with their use in LLVM. It is possible to exclude these defines with - D_POSIX_C_SOURCE=199506L -U_XOPEN_SOURCE, which will compile LLVM successfully, but unfortunately llvm-gcc-4.2 will not build with these flags. Possible solutions: a. Add #undefs for all register names to the relevant header files b. Rename all clashing variable names in LLVM (some 950-o...
2018 Mar 09
1
[Polly] Reduced code analyzability moving from LLVM 3.9.0 to 5.0.1
...all 32-bit ints with longs, as >> Polly seems to model using 64-bit loop counters >> - Avoid interrupting control flow through -ffast-math and moving mallocs >> to the top of the code >> >> So to compile, we have: >> clang -I. -O3 -g3 -Wall -Wextra -std=c99 -D_POSIX_C_SOURCE=200000L >> -ffast-math -mllvm -polly -mllvm -polly-dot -mllvm >> -polly-process-unprofitable -mllvm -polly-vectorizer=stripmine -mllvm >> -polly-dependences-computeout=0 -c -o localcolorcorrection.o >> localcolorcorrection.c >> >> Unfortunately, LLVM 5.0.1 genera...
2009 Jul 04
1
I'm having trouble installing Wine...
...for darwin gcc -c -I. -I../../../include -I../../../include/GL/internal -I../../../src/mesa -I../../../src/mesa/glapi -ggdb3 -Os -Wall -Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing -fno-common -I/opt/local/include -I/opt/local/include -fPIC -D_DARWIN_C_SOURCE -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DPTHREADS -DGLX_ALIAS_UNSUPPORTED -DGLX_INDIRECT_RENDERING -DXF86VIDMODE -D_REENTRANT -UIN_DRI_DRIVER -DDEFAULT_DRIVER_DIR=\"/opt/local/lib/dri\" dri2.c -o dri2.o In file included from /opt/local/include/X11/Xlib.h:64, f...
2009 Mar 12
2
compiling ffmpeg with --enable-libspeex (was Re: from Adobe Flex / Flash Player 10 .flv Speex via Red5 to .wav PCM?)
...86.deb) ... Setting up libspeex-dev (1.1.12-3ubuntu0.8.04.1) ... ~/src/ffmpeg$ ./configure --enable-libspeex install prefix /usr/local .... ~/src/ffmpeg$ make gcc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I. -I"/home/jsalsman/src/ffmpeg" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -std=c99 -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wundef -O3 -fno-math-errno -MM -MG libavcodec/libspeexdec.c | sed -e "/^#.*/d" -e "s,^...
2002 Nov 17
0
[PATCH] Patches to rsync-2.5.5 for Stratus VOS (update)
...ere is the subset of the patches that I think are general to all platforms. I have tested these here. I was surprised that CPPFLAGS is not available to the compilation rules in the Makefile. Most other packages (e.g. Samba) seem to allow CPPFLAGS to be set by the user. Since this is how I pass -D_POSIX_C_SOURCE=199506L -D_SYSV to GCC, I added it. I am not enclosing patches for config.guess and config.sub, but I would request that you pick up current copies of these. The ones in the rsync-2.5.5 package are a year old and do not recognize VOS (the current ones do recognize us). These patches change some...
2002 Sep 06
0
[PATCH] Patches to rsync-2.5.5 for Stratus VOS
...ere is the subset of the patches that I think are general to all platforms. I have tested these here. I was surprised that CPPFLAGS is not available to the compilation rules in the Makefile. Most other packages (e.g. Samba) seem to allow CPPFLAGS to be set by the user. Since this is how I pass -D_POSIX_C_SOURCE=199506L -D_SYSV to GCC, I added it. I am not enclosing patches for config.guess and config.sub, but I would request that you pick up current copies of these. The ones in the rsync-2.5.5 package are a year old and do not recognize VOS (the current ones do recognize us). These patches change some...
2002 Oct 14
0
[PATCH] Patches to rsync-2.5.5 for Stratus VOS (resend)
...ere is the subset of the patches that I think are general to all platforms. I have tested these here. I was surprised that CPPFLAGS is not available to the compilation rules in the Makefile. Most other packages (e.g. Samba) seem to allow CPPFLAGS to be set by the user. Since this is how I pass -D_POSIX_C_SOURCE=199506L -D_SYSV to GCC, I added it. I am not enclosing patches for config.guess and config.sub, but I would request that you pick up current copies of these. The ones in the rsync-2.5.5 package are a year old and do not recognize VOS (the current ones do recognize us). These patches change some...
2009 Mar 12
0
compiling ffmpeg with --enable-libspeex (was Re: from Adobe Flex / Flash Player 10 .flv Speex via Red5 to .wav PCM?)
...-3ubuntu0.8.04.1) ... > > ~/src/ffmpeg$ ./configure --enable-libspeex > install prefix ? ? ? ? ? ?/usr/local > .... > > ~/src/ffmpeg$ make > gcc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I. > -I"/home/jsalsman/src/ffmpeg" -D_ISOC99_SOURCE > -D_POSIX_C_SOURCE=200112 -std=c99 -fomit-frame-pointer -g > -Wdeclaration-after-statement -Wall -Wno-switch > -Wdisabled-optimization -Wpointer-arith -Wredundant-decls > -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wundef -O3 > -fno-math-errno ? ? ?-MM -MG libavcodec/libspeexdec.c | sed -e > "/...