Open chengming2 opened 7 years ago
And when I input : gcc --help, the output is shown bellow:
$ gcc --help
Usage: gcc.exe [options] file...
Options:
-pass-exit-codes Exit with highest error code from a phase
--help Display this information
--target-help Display target specific command line options
--help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...]
Display specific types of command line options
(Use '-v --help' to display command line options of sub-processes)
--version Display compiler version information
-dumpspecs Display all of the built in spec strings
-dumpversion Display the version of the compiler
-dumpmachine Display the compiler's target processor
-print-search-dirs Display the directories in the compiler's search path
-print-libgcc-file-name Display the name of the compiler's companion library
-print-file-name=
Options starting with -g, -f, -m, -O, -W, or --param are automatically
passed on to the various sub-processes invoked by gcc.exe. In order to pass
other options on to these processes the -W
For bug reporting instructions, please see: http://gcc.gnu.org/bugs.html.
Can you manually remove references to "-m" in CFLAGS and see what happens?
when I input "configure" x264, it's ok. And I get the out put bellow: $ configure platform: X86 byte order: little-endian system: WINDOWS cli: yes libx264: internal shared: no static: no asm: yes interlaced: yes avs: avisynth lavf: no ffms: no mp4: no gpl: yes thread: win32 opencl: yes filters: crop select_every lto: no debug: no gprof: no strip: no PIC: no bit depth: 8 chroma format: all
You can run 'make' or 'make fprofiled' now. And then I input make, the output is bellow: $ make cat common/opencl/x264-cl.h common/opencl/bidir.cl common/opencl/downscale.cl common/opencl/weightp.cl common/opencl/intra.cl common/opencl/subpel.cl common/opencl/motionsearch.cl | ./tools/cltostr.sh common/oclobj.h dependency file generation... gcc.exe: error: unrecognized command line option '-m' gcc.exe: fatal error: no input files compilation terminated. Makefile:227: recipe for target '.depend' failed make: *** [.depend] Error 1
what's wrong with it? Is The problem occurring in x264 or gcc? And what should i do?
Thanks very much!