This is a multi-part message in MIME format. -- [ Picked text/plain from multipart/alternative ] Add "-m3dnow" to GCC's command line.
- Alfred ________________________________ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of dackz Sent: Saturday, October 08, 2005 3:17 PM To: [email protected] Subject: [hlcoders] Compiling mathlib.cpp Under Linux I'm trying to compile mathlib.cpp with gcc 3.4.3 on an Intel Xeon i686 processor. Compilation fails with the following: mathlib.cpp: In function `float _3DNow_Sqrt(float)': mathlib.cpp:190: error: impossible constraint in `asm' mathlib.cpp: In function `float _SSE_InvRSquared(const float*)': mathlib.cpp:580: warning: matching constraint does not allow a register mathlib.cpp:580: warning: matching constraint does not allow a register mathlib.cpp:871:2: warning: #warning "_SSE_sincos,_SSE_cos,_SSE2_cos,_SSE_sincos NOT implemented!" mathlib.cpp:1279:2: warning: #warning "VectorTransformSSE C implementation only" mathlib.cpp:1357:2: warning: #warning "VectorRotateSSE C implementation only" mathlib.cpp:1511:2: warning: #warning "TransformAndRotate C implementation only" mathlib.cpp: In function `void BuildGammaTable(float, float, float, int)': mathlib.cpp:2888: warning: converting to `int' from `double' mathlib.cpp:2913: warning: converting to `int' from `double' mathlib.cpp:2947: warning: converting to `int' from `double' mathlib.cpp: In function `int LinearToTexture(float)': mathlib.cpp:3042: warning: converting to `int' from `float' mathlib.cpp: In function `int LinearToScreenGamma(float)': mathlib.cpp:3057: warning: converting to `int' from `float' Any ideas? _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders -- _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

