search for: obj_format

Displaying 20 results from an estimated 21 matches for "obj_format".

2006 Jul 27
1
[PATCH] nasm cleanup
...a32/Makefile.am Tue Jan 25 05:14:14 2005 +++ flac-1.1.2/src/libFLAC/ia32/Makefile.am Thu Jul 27 04:53:34 2006 @@ -30,10 +30,15 @@ SUFFIXES = .nasm .lo -STRIP_NON_ASM = sh $(top_srcdir)/strip_non_asm_libtool_args.sh - .nasm.lo: - $(LIBTOOL) --tag=CC --mode=compile $(STRIP_NON_ASM) $(NASM) -f $(OBJ_FORMAT) -d OBJ_FORMAT_$(OBJ_FORMAT) -i$(srcdir)/ $< -o $@ + mkdir -p .libs + echo "# $@ - a libtool object file" > $@ + echo "# Generated by ltmain.sh - libtool fake" >> $@ + echo "#" >> $@ + echo "pic_object='.libs/$(@:.lo=.o)'" >> $...
2005 Feb 04
1
[PATCH] FLAC 1.1.2-beta on Cygwin
...like to test this out?) Chris *** configure.in.orig Fri Feb 4 06:58:06 2005 --- configure.in Fri Feb 4 06:59:18 2005 *************** *** 52,57 **** --- 52,58 ---- AM_CONDITIONAL(FLaC__CPU_SPARC, test x$cpu_sparc = xtrue) case "$host" in i386-*-openbsd3.[[0-3]]) OBJ_FORMAT=aoutb ;; + *-*-cygwin) OBJ_FORMAT=win32 ;; *) OBJ_FORMAT=elf ;; esac AC_SUBST(OBJ_FORMAT)
2004 Sep 10
2
object format detection
...ject file format passed to nasm. But I don't have many examples to draw from so if anyone could submit patches against configure.in for any of nasm's supported formats I'll put them in. Right now the relevant snippet just looks like: AC_CANONICAL_HOST case "$host" in *) OBJ_FORMAT=elf ;; esac Any patterns for non-ELF systems would be appreciated. Josh __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/
2012 Feb 05
2
[PATCH 1/2] OS/2 also needs "-no-undefined" to build a DLL
--- configure.ac | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 36ac6c6..32bdd5f 100644 --- a/configure.ac +++ b/configure.ac @@ -103,9 +103,11 @@ esac AC_SUBST(OBJ_FORMAT) case "$host" in - *-*-cygwin|*mingw*) - # define this variable for enabling strict exports with libtool; for now, it's only supported by Win32 + *-*-cygwin|*mingw*|*emx*) + # define this variable for enabling strict exports with libtool; for now, it's supported by Win32 and...
2004 Sep 10
2
1.0 candidate checked in
...ile.am,v retrieving revision 1.7 diff -u -r1.7 Makefile.am --- src/libFLAC/ia32/Makefile.am 2001/07/22 07:26:58 1.7 +++ src/libFLAC/ia32/Makefile.am 2001/07/22 09:40:35 @@ -21,7 +21,7 @@ STRIP_FPIC = sh $(top_srcdir)/strip_fPIC.sh .nasm.lo: - $(LIBTOOL) --mode=compile $(STRIP_FPIC) $(NASM) -f $(OBJ_FORMAT) -d OBJ_FORMAT_$(OBJ_FORMAT) $< -o $@ + $(LIBTOOL) --mode=compile $(STRIP_FPIC) $(NASM) -f $(OBJ_FORMAT) -d OBJ_FORMAT_$(OBJ_FORMAT) -I $(srcdir)/ $< -o $@ noinst_LTLIBRARIES = libFLAC-asm.la libFLAC_asm_la_SOURCES = \
2004 Sep 10
2
1.0 candidate checked in
.../Makefile.am,v retrieving revision 1.5 diff -u -r1.5 Makefile.am --- ia32/Makefile.am 2001/07/16 18:04:19 1.5 +++ ia32/Makefile.am 2001/07/20 20:21:58 @@ -20,14 +20,13 @@ STRIP_FPIC = sh $(top_srcdir)/strip_fPIC.sh -.nasm.lo: - $(LIBTOOL) --tag=CC --mode=compile \ - $(STRIP_FPIC) $(NASM) -f $(OBJ_FORMAT) -d OBJ_FORMAT_$(OBJ_FORMAT) $< +.nasm.o: + $(NASM) -f $(OBJ_FORMAT) -d OBJ_FORMAT_$(OBJ_FORMAT) $< #@@@OLD RULE: $(NASM) -f $(OBJ_FORMAT) -d OBJ_FORMAT_$(OBJ_FORMAT) $< -o $@ -noinst_LTLIBRARIES = libFLAC-asm.la -libFLAC_asm_la_SOURCES = \ +noinst_LIBRARIES = libFLAC-asm.a +libFLAC_a...
2004 Sep 10
2
1.0 candidate checked in
...ckout from CVS and break it! > > > > > > Also, my libtool doesn't seem to recognize --tag=CC. What is its > > > purpose? > > > > > > /bin/sh ../../../libtool --tag=CC --mode=compile \ > > > sh ../../../strip_fPIC.sh nasm -f elf -d OBJ_FORMAT_elf > > > cpu_asm.nasm > > > libtool: unrecognized option `--tag=CC' > > > Try `libtool --help' for more information. > > > > My libtool errored with a message instructing me to specify a tag. > > I put --tag=CC just to make it compile, I don...
2004 Sep 10
2
1.0 souce released
OK, I did the last few patches and made the source release. Hope I got everything. I'll send out the standard announcement now. Thanks everyone. Josh __________________________________________________ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.com/
2004 Sep 10
5
1.0 candidate checked in
...or SDL, so I guess we go back to src/libFLAC/ia32/Makefile.am version 1.5 (plus my automake patch). The libtool command line needs to be modified to use "-o $@", otherwise libtool gives the error: /bin/sh ../../../libtool --mode=compile \ sh ../../../strip_fPIC.sh nasm -f elf -d OBJ_FORMAT_elf cpu_asm.nasm libtool: compile: cannot determine name of library object from `cpu_asm.nasm' make: *** [cpu_asm.lo] Error 1 Changing the rule to: $(LIBTOOL) --mode=compile \ $(STRIP_FPIC) $(NASM) -f $(OBJ_FORMAT) -d OBJ_FORMAT_$(OBJ_FORMAT) -o $@ $< fixes that, but we still have the...
2004 Sep 10
0
1.0 source candidate
.../cvsroot/flac/flac/src/libFLAC/ia32/Makefile.am,v retrieving revision 1.6 diff -u -r1.6 Makefile.am --- src/libFLAC/ia32/Makefile.am 2001/07/20 23:46:09 1.6 +++ src/libFLAC/ia32/Makefile.am 2001/07/21 01:58:17 @@ -21,7 +21,7 @@ STRIP_FPIC = sh $(top_srcdir)/strip_fPIC.sh .nasm.o: - $(NASM) -f $(OBJ_FORMAT) -d OBJ_FORMAT_$(OBJ_FORMAT) $< -o $@ + $(NASM) -f $(OBJ_FORMAT) -I $(srcdir)/ -d OBJ_FORMAT_$(OBJ_FORMAT) $< -o $@ # patch from Ben for the above rule that may be needed with new libtool: #.nasm.lo: @@ -32,4 +32,5 @@ libFLAC_asm_a_SOURCES = \ cpu_asm.nasm \ fixed_asm.nasm \ - lpc_as...
2004 Sep 10
2
1.0 candidate
...6,16 @@ # Free Software Foundation, Inc., 59 Temple Place - Suite 330, # Boston, MA 02111-1307, USA. -SUFFIXES = .nasm .lo - STRIP_FPIC = sh $(top_srcdir)/strip_fPIC.sh -.nasm.lo: - $(LIBTOOL) --tag=CC --mode=compile \ +%.lo: %.s + $(LIBTOOL) --mode=compile \ $(STRIP_FPIC) $(NASM) -f $(OBJ_FORMAT) -d OBJ_FORMAT_$(OBJ_FORMAT) $< #@@@OLD RULE: $(NASM) -f $(OBJ_FORMAT) -d OBJ_FORMAT_$(OBJ_FORMAT) $< -o $@ noinst_LTLIBRARIES = libFLAC-asm.la libFLAC_asm_la_SOURCES = \ - cpu_asm.nasm \ - fixed_asm.nasm \ - lpc_asm.nasm + cpu_asm.s \ + fixed_asm.s \ + lpc_asm.s
2013 Nov 20
4
[PATCH 1/2] Revert "configure.ac : If gcc is version 4.2, use -fgnu89-inline."
This reverts commit 2860f1780ca92c779ee0a2c545ae1b9c4818dc53. Conflicts: configure.ac Do not use -fgnu89-inline as it can emit duplicate symbols for inline functions that are declared in multiple object files being linked together. For example on clang 5.0 targetting iOS (clang advertises itself as gcc 4.2, the last GPL version of gcc) --- configure.ac | 12 ++++-------- 1 file changed, 4
2004 Sep 10
5
1.0 source candidate
I rethought it and it seemed like a bad idea to post a big file, so you can get it here: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/flac/junk/flac-1.0-src-candidate.tar.bz2 Josh __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/
2004 Sep 10
0
1.0 candidate checked in
...c/libFLAC/ia32/Makefile.am > version 1.5 > (plus my automake patch). The libtool command line needs to be > modified to > use "-o $@", otherwise libtool gives the error: > > /bin/sh ../../../libtool --mode=compile \ > sh ../../../strip_fPIC.sh nasm -f elf -d OBJ_FORMAT_elf > cpu_asm.nasm > libtool: compile: cannot determine name of library object from > `cpu_asm.nasm' > make: *** [cpu_asm.lo] Error 1 > > Changing the rule to: > > $(LIBTOOL) --mode=compile \ > $(STRIP_FPIC) $(NASM) -f $(OBJ_FORMAT) -d OBJ_FORMAT_$(OBJ_FORMAT) &g...
2014 May 25
2
extend visibility attributes usage to osx builds
...ons - XIPH_ADD_CFLAGS([-Wdeclaration-after-statement]) XIPH_ADD_CFLAGS([-D_FORTIFY_SOURCE=2]) @@ -409,6 +408,12 @@ if test x$ac_cv_c_compiler_gnu = xyes ; then CXXFLAGS="$CXXFLAGS -fvisibility=hidden" fi + if test "$GCC_MAJOR_VERSION" -ge 4 && test "$OBJ_FORMAT" = macho; then + CPPFLAGS="$CPPFLAGS -DFLAC__USE_VISIBILITY_ATTR" + CFLAGS="$CFLAGS -fvisibility=hidden" + CXXFLAGS="$CXXFLAGS -fvisibility=hidden" + fi + if test "x$GCC_MAJOR_VERSION$GCC_MINOR_VERSION" = "x42" ; then XIPH_ADD_CFLAGS([...
2012 Dec 03
0
[PATCH 3/5] Hide symbols with gcc.
...0,15 @@ if test x$ac_cv_c_compiler_gnu = xyes ; then if test x$enable_gcc_werror = "xyes" ; then CFLAGS="-Wall -Wextra -Werror $CFLAGS" CXXFLAGS="-Wall -Wextra -Werror $CXXFLAGS" - fi fi + if test "$GCC_MAJOR_VERSION" -ge 4 && test "$OBJ_FORMAT" = elf; then + CPPFLAGS="$CPPFLAGS -DFLAC__USE_VISIBILITY_ATTR" + CFLAGS="$CFLAGS -fvisibility=hidden" + CXXFLAGS="$CXXFLAGS -fvisibility=hidden" + fi +fi + #@@@ AM_CONDITIONAL(FLaC__HAS_AS__TEMPORARILY_DISABLED, test "yes" = "no") diff...
2018 Jul 10
9
[PATCH 0/7] PowerPC64 performance improvements
The following series adds initial vector support for PowerPC64. On POWER9, flac --best is about 3.3x faster. Amitay Isaacs (2): Add m4 macro to check for C __attribute__ features Check if compiler supports target attribute on ppc64 Anton Blanchard (5): configure.ac: Remove SPE detection code configure.ac: Add VSX enable/disable configure.ac: Fix FLAC__CPU_PPC on little endian, and add
2014 May 04
0
Building FLAC with LTO
...SE_VISIBILITY_ATTR) --- flac-1.3.0/configure.ac.orig 2013-05-27 08:08:57.218577500 +0000 +++ flac-1.3.0/configure.ac 2014-05-03 09:13:42.351463800 +0000 @@ -386,6 +386,9 @@ CFLAGS="$CFLAGS -fvisibility=hidden" CXXFLAGS="$CXXFLAGS -fvisibility=hidden" fi + if test "$OBJ_FORMAT" = win32; then + CPPFLAGS="$CPPFLAGS -DFLAC_API_EXPORTS=1 -DFLACPP_API_EXPORTS=1" + fi if test "x$GCC_MAJOR_VERSION$GCC_MINOR_VERSION" = "x42" ; then XIPH_ADD_CFLAGS([-fgnu89-inline]) -------------- next part -------------- --- flac-1.3.0/src/flac/Makefil...
2012 Apr 07
1
[PATCH 2/2] Update and improve autotools build
...m +++ b/src/libFLAC/ia32/Makefile.am @@ -31,7 +31,7 @@ SUFFIXES = .nasm .lo STRIP_NON_ASM = sh $(top_srcdir)/strip_non_asm_libtool_args.sh - +AM_CPPFLAGS = -I$(top_builddir) -I$(srcdir)/include -I$(top_srcdir)/include .nasm.lo: $(LIBTOOL) --tag=CC --mode=compile $(STRIP_NON_ASM) $(NASM) -f $(OBJ_FORMAT) -d OBJ_FORMAT_$(OBJ_FORMAT) -i$(srcdir)/ $< -o $@ diff --git a/src/libFLAC/include/private/macros.h b/src/libFLAC/include/private/macros.h index b9989e1..5104dc9 100644 --- a/src/libFLAC/include/private/macros.h +++ b/src/libFLAC/include/private/macros.h @@ -57,4 +57,10 @@ #define flac_min(a...
2012 Dec 03
4
[PATCH 1/5] Remove old GNU-stack sections from nasm files.
...--git a/src/libFLAC/ia32/bitreader_asm.nasm b/src/libFLAC/ia32/bitreader_asm.nasm index 4cd0ea2..b0f5ed6 100644 --- a/src/libFLAC/ia32/bitreader_asm.nasm +++ b/src/libFLAC/ia32/bitreader_asm.nasm @@ -590,7 +590,3 @@ cident FLAC__bitreader_read_rice_signed_block_asm_ia32_bswap ret end - -%ifdef OBJ_FORMAT_elf - section .note.GNU-stack noalloc -%endif diff --git a/src/libFLAC/ia32/cpu_asm.nasm b/src/libFLAC/ia32/cpu_asm.nasm index a3a3b76..05a4e6f 100644 --- a/src/libFLAC/ia32/cpu_asm.nasm +++ b/src/libFLAC/ia32/cpu_asm.nasm @@ -115,7 +115,3 @@ cident FLAC__cpu_info_extended_amd_asm_ia32 ret end...