On Thu, 01 Apr 2004 16:28:43 +0100
Keith Whitwell <[EMAIL PROTECTED]> wrote:

> Felix Kühling wrote:
> > Hi,
> > 
> > in the DRI build system t_vtx_x86_gcc.S ends up being compiled this
> > command:
> > 
> > gcc -c -o t_vtx_x86_gcc.o t_vtx_x86_gcc.S
> > 
> > The defined like -DUSE_X86_ASM are not there because they are defined as
> > CFLAGS which are not used for compiling assembler sources files. Because
> > of the conditional statement at the top of t_vtx_x86_gcc.S several
> > symbols are undefined in the resulting 3D drivers:
> > 
> > #if defined(USE_X86_ASM) && !defined(HAVE_NONSTANDARD_GLAPIENTRY)
> > 
> > Is this conditional really needed?
> 
> I guess it's not needed for compilation, but this code definitely won't work 
> on those systems with a non-standard calling convention.  So, the test could 
> be moved elsewhere if that helps.

The same test is already in t_vtx_x86.c. So the assembler functions
won't be used if the condition is false, even if they are compiled and
linked into the driver.

> 
> Keith
> 

Felix


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
--
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to