I have obtained that the classifying space
$$
BGL(\mathbb{R}^n)=BO(\mathbb{R}^n)=G\_n(\mathbb{R}^\infty)
$$
is the Grassmannian.


I have also obtained that the mod 2 cohomology is the polynomial algebra
$$
H^\*(BGL(\mathbb{R}^n);\mathbb{Z}\_2)=\mathbb{Z}\_2[w\_1,\cdots,w\_n].
$$


Let $GL(\mathbb{Z}^n)$ be the group consisting of all $n\times n$ matrices with integer entries such that the determinants are either $1$ or $-1$. 
What isthe classifying space
$$BGL(\mathbb{Z}^n)?$$


What is the cohomology algebra
$$
H^\*(BGL(\mathbb{Z}^n);\mathbb{Z}\_2)=?
$$
Could you give any references? Thanks.



classifying space and cohomology of integer general linear group
Let me give a more detailed answer, to give more context to the list of references. Unfortunately, these answers grow to encyclopedic size so easily...


**Stable results:** as mentioned in all the answers, the question becomes easier by stabilizing $GL\_n(\mathbb{Z})$ to $GL\_\infty(\mathbb{Z})$. In this case, one can use K-theory (or even motivic) methods. This is essentially what is done in the following papers: 


* S.A. Mitchell. On the plus construction for $BGL(\mathbb{Z}[1/2])$ at the prime 2.
Math. Z. 209 (1992), no. 2, 205–222.
* D. Arlettaz, M. Mimura, K. Nakahata, N. Yagita. 
The mod 2 cohomology of the linear groups over the ring of integers. 
Proc. Amer. Math. Soc. 127 (1999), no. 8, 2199–2212.


In particular, the last paper explicitly answers the stable question: there is a ring isomorphism 
$$
H^{\bullet}(BGL(\mathbb{Z})^+,\mathbb{Z}/2)\cong 
H^{\bullet}(BO,\mathbb{Z}/2)\otimes H^{\bullet}(SU,\mathbb{Z}/2)
$$
(plus some more statements about Hopf algebra structure and Steenrod operations). This is based on explicit models for the 2-completed classifying space, eventually using Voevodsky's solution of the Milnor conjecture (resp. the Quillen-Lichtenbaum conjecture relating étale and algebraic K-theory). 


I would expect that the result could actually be generalized to some extent, say to get some statements with odd torsion coefficients (using the Rost-Voevodsky solution of the Milnor-Bloch-Kato conjecture) or other rings of $S$-integers - but I am not aware of papers doing this.


**Unstable results:** The unstable case, the actual computation of $H^\bullet(GL\_n(\mathbb{Z}),\mathbb{Z}/2)$ is more complicated, the K-theoretic or motivic methods do no longer work. Descriptions of an étale version of the classifying space can still be obtained (see the Topological models for arithmetic of Dwyer-Friedlander), but it is usually not possible to compare this to the actual classifying space.


*The classifying space:* the classifying space itself is not actually easy to describe or helpful. A better approximation to the classifying space is the locally symmetric space $GL\_n(\mathbb{Z})\backslash GL\_n(\mathbb{R})/O(n)$. There is more geometry to study this space, but $GL\_n(\mathbb{Z})$ acts non-freely, with finite isotropy. Analysis of L^2-cohomology of this space is the basis of Borel's computation of rational cohomology of $GL\_n(\mathbb{Z})$. With finite coefficients, the space is difficult to understand, cohomology is influenced by the finite subgroups and their normalizers as well as compactly supported cohomology of the locally symmetric space (which I would like to view as cusp forms with finite coefficients, but this is not mathematically precise). 


*Explicit computations:* there are not so many. The computation of $H^\bullet(SL\_2\mathbb{Z},\mathbb{Z}/2)$ is an exercise. Rank two, i.e. $SL\_3$ resp. $GL\_3$ is already a substantial work: 


* C. Soulé. The cohomology of $SL\_3(\mathbb{Z})$.
Topology 17 (1978), no. 1, 1–22.


I am not aware of (complete all-degree) computations with higher rank - although Voronoi methods have been used to partially compute homology of $SL\_n(\mathbb{Z})$ for $n\leq 8$, the small primes are usually excluded. I would expect that for $SL\_4(\mathbb{Z})$ everything is controlled by the finite subgroups, but I could not make this sufficiently precise. See the paper of [Dutour-Sikiric, Ellis,Schürmann](http://arxiv.org/abs/1101.4506) or the paper of [Elbaz-Vincent, Gangl, Soulé.](http://arxiv.org/abs/1001.0789)


*Quillen conjecture, exotic cohomology:* to illustrate how much more complicated the unstable case is, compared to the stable case (although this is slightly different from the situation in the question). There is a conjecture of Quillen which in particular predicts that the restriction map $H^\bullet(GL\_n\mathbb{Z}[1/2],\mathbb{Z}/2)\to H^\bullet(D\_n(\mathbb{Z}[1/2]),\mathbb{Z}/2)$ is injective, where $D\_n$ is the subgroup of diagonal matrices. This is true in low degree by work of Mitchell ($n=2$) and Henn ($n=3$), and stably (see the paper of Arlettaz et al. mentioned above). It is however false for $n\geq 32$ by 


* W. Dwyer. Exotic cohomology for $GL\_n(\mathbb{Z}[1/2])$. Proc. Amer. Math. Soc. 126 (1998), 2159--2167.


*Further information* can be found in K.P. Knudson: Homology of linear groups. Birkhäuser 2001.


