[Rd] Unable to compile crc32_x86.S on windows (R-2.10.1).

Prof Brian Ripley ripley at stats.ox.ac.uk
Wed Apr 28 10:40:15 CEST 2010


On Tue, 27 Apr 2010, Vaish Anjur wrote:

> Thank you for any pointers.

Learn what .S means?  For some reason you tried to compile .s*, and 
although that happens to match on your benighted OS, .s and .S are not 
the same.

I have no idea why you are asking here.  That file is not part of R 
and you have not told us where you found it.  There is a file of that 
name as part of a *copy of xzutils* shipped with the R sources, and R 
compiles it correctly: and you can read the sources for yourself to 
see how it does it.

>
> Windows XP
> **
> *# as -version
> GNU assembler (GNU Binutils) 2.19.1
> Copyright 2007 Free Software Foundation, Inc.
> This program is free software; you may redistribute it under the terms of
> the GNU General Public License version 3 or later.
> This program has absolutely no warranty.
> This assembler was configured for a target of `mingw32'.*
> **
> **
> *as   -o crc32_x86.o crc32_x86.s*
>
> crc32_x86.S: Assembler messages:
> crc32_x86.S:80: Warning: .type pseudo-op used outside of .def/.endef
> ignored.
> crc32_x86.S:80: Error: junk at end of line, first unrecognized character is
> `L'
> crc32_x86.S:83: Error: invalid character '(' in mnemonic
> crc32_x86.S:118: Error: junk at end of line, first unrecognized character is
> `|'
>
> crc32_x86.S:137: Error: invalid character '(' in mnemonic
> crc32_x86.S:160: Error: invalid character '(' in mnemonic
> crc32_x86.S:271: Error: invalid character '(' in mnemonic
> crc32_x86.S:279: Error: bad or irreducible absolute expression
> crc32_x86.S:279: Error: junk at end of line, first unrecognized character is
> `,'
>
> crc32_x86.S:281: Error: unknown pseudo-op: `.indirect_symbol'
> crc32_x86.S:293: Warning: .size pseudo-op used outside of .def/.endef
> ignored.
> crc32_x86.S:293: Error: junk at end of line, first unrecognized character is
> `L'
>
> crc32_x86.S:302: Error: junk at end of line, first unrecognized character is
> `-'
>
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



More information about the R-devel mailing list