I'm building mjpegtools with mingw32 gcc 4.5.2 and msys.
When i configure it as-is, it detects my cpu as core2 (which is correct) 
and compiles with -mcpu=core2 -mtune=core2
It is commendable. However, i would like to compile a version that will 
run on any more-or-less contemporary device, which means either 
-mtune=i686 or -mtune=generic
I've tried building with --host=i686-pc-mingw32 (that is how mingw32 
often identifies itself), but hit the problem with sigjmp_buf being 
undefined (googling for it didn't do any good), and generic-pc-mingw32 
fails outright, since `generic' is not a correct cpu.
So, in the end i want two things:
1) -mtune=generic
2) undefined HAVE_X86_CPU, which will prevent sigjmp_buf-related code 
from being compiled

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to