../../mingw-w64-i686/bin/i686-w64-mingw32-gcc -I. -I.. -I../include -DOPENSSL_THREADS -D_MT -DDSO_WIN32 -DL_ENDIAN -DWIN32_LEAN_AND_MEAN -fomit-frame-pointer -O3 -march=i486 -Wall -DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DRMD160_ASM -DAES_ASM -DVPAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM -c -o cryptlib.o cryptlib.c
make[1]: ../../mingw-w64-i686/bin/i686-w64-mingw32-gcc: Command not found
make[1]: *** [cryptlib.o] Error 127
make[1]: Leaving directory `/home/rogerdpack/dev/ffmpeg-windows-build-helpers/builds/win32/openssl-1.0.1c/crypto’
make: *** [build_crypto] Error 1
meant “you need to specify a full path to your cross compiler, in the case of openssl”
/home/rogerdpack/dev/ffmpeg-windows-build-helpers/builds/mingw-w64-i686/bin/i686-w64-mingw32-gcc -I. -I.. -I../include -DOPENSSL_THREADS -D_MT -DDSO_WIN32 -DL_ENDIAN -DWIN32_LEAN_AND_MEAN -fomit-frame-pointer -O3 -march=i486 -Wall -DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DRMD160_ASM -DAES_ASM -DVPAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM -c -o x86cpuid.o x86cpuid.s
commands: – read options from
/home/rogerdpack/dev/ffmpeg-windows-build-helpers/builds/mingw-w64-i686/bin/i686-w64-mingw32-ar ../libcrypto.a cryptlib.o mem.o mem_dbg.o cversion.o ex_data.o cpt_err.o ebcdic.o uid.o o_time.o o_str.o o_dir.o o_fips.o o_init.o fips_ers.o x86cpuid.o
/home/rogerdpack/dev/ffmpeg-windows-build-helpers/builds/mingw-w64-i686/bin/i686-w64-mingw32-ar: invalid option — ‘.’
Usage: /home/rogerdpack/dev/ffmpeg-windows-build-helpers/builds/mingw-w64-i686/bin/i686-w64-mingw32-ar [emulation options] [-]{dmpqrstx}[abcDfilMNoPsSTuvV] [member-name] [count] archive-file file…
/home/rogerdpack/dev/ffmpeg-windows-build-helpers/builds/mingw-w64-i686/bin/i686-w64-mingw32-ar -M [
d – delete file(s) from the archive
m[ab] – move file(s) in the archive
p – print file(s) found in the archive
q[f] – quick append file(s) to the archive
r[ab][f][u] – replace existing or insert new file(s) into the archive
s – act as ranlib
t – display contents of archive
x[o] – extract file(s) from the archive
command specific modifiers:
[a] – put file(s) after [member-name]
[b] – put file(s) before [member-name] (same as [i])
[D] – use zero for timestamps and uids/gids
[N] – use instance [count] of name
[f] – truncate inserted file names
[P] – use full path names when matching
[o] – preserve original dates
[u] – only replace files that are newer than current archive contents
generic modifiers:
[c] – do not warn if the library had to be created
[s] – create an archive index (cf. ranlib)
[S] – do not build a symbol table
[T] – make a thin archive
[v] – be verbose
[V] – display the version number
@
–target=BFDNAME – specify the target object format as BFDNAME
emulation options:
No emulation specific options
/home/rogerdpack/dev/ffmpeg-windows-build-helpers/builds/mingw-w64-i686/bin/i686-w64-mingw32-ar: supported targets: pe-i386 pei-i386 elf32-i386 elf32-little elf32-big srec symbolsrec verilog tekhex binary ihex
make[1]: *** [../libcrypto.a] Error 1
make[1]: Leaving directory `/home/rogerdpack/dev/ffmpeg-windows-build-helpers/builds/win32/openssl-1.0.1c/crypto’
make: *** [build_crypto] Error 1
meant “you need to terminate your string of your AR
I have it like
AR=”${GCC}ar
non terminated…
100%[=======================================================================================================================>] 4,457,113 663K/s in 7.6s
2012-08-06 12:49:05 (570 KB/s) – `openssl-1.0.1c.tar.gz’ saved [4457113/4457113]
Configuring for ...] [enable- ...] [experimental- ...] [-Dxxx] [-lxxx] [-Lxxx] [-fxxx] [-Kxxx] [no-hw-xxx|no-hw] [[no-]threads] [[no-]shared] [[no-]zlib|zlib-dynamic] [no-asm] [no-dso] [no-krb5] [sctp] [386] [--prefix=DIR] [--openssldir=OPENSSLDIR] [--with-xxx[=vvv]] [--test-sanity] os/compiler[:flags]
Usage: Configure [no-
pick os/compiler from:
BC-32 BS2000-OSD BSD-generic32 BSD-generic64 BSD-ia64 BSD-sparc64 BSD-sparcv8
BSD-x86 BSD-x86-elf BSD-x86_64 Cygwin Cygwin-pre1.3 DJGPP MPE/iX-gcc OS2-EMX
OS390-Unix QNX6 QNX6-i386 ReliantUNIX SINIX SINIX-N UWIN VC-CE VC-WIN32
VC-WIN64A VC-WIN64I aix-cc aix-gcc aix3-cc aix64-cc aix64-gcc android
android-armv7 android-x86 aux3-gcc beos-x86-bone beos-x86-r5 bsdi-elf-gcc cc
cray-j90 cray-t3e darwin-i386-cc darwin-ppc-cc darwin64-ppc-cc
darwin64-x86_64-cc dgux-R3-gcc dgux-R4-gcc dgux-R4-x86-gcc dist gcc hpux-cc
hpux-gcc hpux-ia64-cc hpux-ia64-gcc hpux-parisc-cc hpux-parisc-cc-o4
hpux-parisc-gcc hpux-parisc1_1-cc hpux-parisc1_1-gcc hpux-parisc2-cc
hpux-parisc2-gcc hpux64-ia64-cc hpux64-ia64-gcc hpux64-parisc2-cc
hpux64-parisc2-gcc hurd-x86 iphoneos-cross irix-cc irix-gcc irix-mips3-cc
irix-mips3-gcc irix64-mips4-cc irix64-mips4-gcc linux-alpha+bwx-ccc
linux-alpha+bwx-gcc linux-alpha-ccc linux-alpha-gcc linux-aout linux-armv4
linux-elf linux-generic32 linux-generic64 linux-ia32-icc linux-ia64
linux-ia64-ecc linux-ia64-icc linux-ppc linux-ppc64 linux-sparcv8
linux-sparcv9 linux-x86_64 linux32-s390x linux64-s390x linux64-sparcv9 mingw
mingw64 ncr-scde netware-clib netware-clib-bsdsock netware-clib-bsdsock-gcc
netware-clib-gcc netware-libc netware-libc-bsdsock netware-libc-bsdsock-gcc
netware-libc-gcc newsos4-gcc nextstep nextstep3.3 osf1-alpha-cc osf1-alpha-gcc
purify qnx4 rhapsody-ppc-cc sco5-cc sco5-gcc solaris-sparcv7-cc
solaris-sparcv7-gcc solaris-sparcv8-cc solaris-sparcv8-gcc solaris-sparcv9-cc
solaris-sparcv9-gcc solaris-x86-cc solaris-x86-gcc solaris64-sparcv9-cc
solaris64-sparcv9-gcc solaris64-x86_64-cc solaris64-x86_64-gcc sunos-gcc
tandem-c89 tru64-alpha-cc uClinux-dist uClinux-dist64 ultrix-cc ultrix-gcc
unixware-2.0 unixware-2.1 unixware-7 unixware-7-gcc vos-gcc vxworks-mips
vxworks-ppc405 vxworks-ppc60x vxworks-ppc750 vxworks-ppc750-debug
vxworks-ppc860 vxworks-ppcgen vxworks-simlinux debug debug-BSD-x86-elf
debug-Cygwin debug-VC-WIN32 debug-VC-WIN64A debug-VC-WIN64I debug-ben
debug-ben-debug debug-ben-macos debug-ben-macos-gcc46 debug-ben-no-opt
debug-ben-openbsd debug-ben-openbsd-debug debug-ben-strict debug-bodo
debug-darwin-i386-cc debug-darwin-ppc-cc debug-geoff32 debug-geoff64
debug-levitte-linux-elf debug-levitte-linux-elf-extreme
debug-levitte-linux-noasm debug-levitte-linux-noasm-extreme debug-linux-elf
debug-linux-elf-noefence debug-linux-generic32 debug-linux-generic64
debug-linux-ia32-aes debug-linux-pentium debug-linux-ppro debug-linux-x86_64
debug-rse debug-solaris-sparcv8-cc debug-solaris-sparcv8-gcc
debug-solaris-sparcv9-cc debug-solaris-sparcv9-gcc debug-steve-opt
debug-steve32 debug-steve64 debug-ulf debug-vos-gcc
NOTE: If in doubt, on Unix-ish systems use ‘./config’.
making all in crypto…
make[1]: Entering directory `/home/rogerdpack/dev/ffmpeg-windows-build-helpers/builds/win32/openssl-1.0.1c/crypto’
( echo “#ifndef MK1MF_BUILD”; \
echo ‘ /* auto-generated by crypto/Makefile for crypto/cversion.c */’; \
echo ‘ #define CFLAGS “cc -O”‘; \
echo ‘ #define PLATFORM “dist”‘; \
echo ” #define DATE \”`LC_ALL=C LC_TIME=C date`\”"; \
echo ‘#endif’ ) >buildinf.h
cc -I. -I.. -I../include -O -c -o cryptlib.o cryptlib.c
cc -I. -I.. -I../include -O -c -o mem.o mem.c
cc -I. -I.. -I../include -O -c -o mem_dbg.o mem_dbg.c
cc -I. -I.. -I../include -O -c -o cversion.o cversion.c
then it uses normal gcc meant “you need to specify mingw as your last parameter to Configure”