This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: How can I install gcc in different partition?
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: ssmtpmailtesting ssmtpmailtesting <ssmtpmailtesting at gmail dot com>
- Cc: gcc-help <gcc-help at gcc dot gnu dot org>
- Date: Tue, 10 Jan 2017 09:00:22 +0000
- Subject: Re: How can I install gcc in different partition?
- Authentication-results: sourceware.org; auth=none
- References: <CAJekETJOf3y6vDrfvqBstmZszKX56c6mSuqcjiYBnyweihjpKQ@mail.gmail.com> <CAH6eHdSTvoGsDzjN7=1Yie7dQ8mTCpOQtTR=5qTpgnwpLpeNPQ@mail.gmail.com> <CAJekETJFwd0mm5CFNqgUFmi5vQzjRoqFQEA+kUgsP=D0cxnrcg@mail.gmail.com>
On 10 January 2017 at 02:39, ssmtpmailtesting ssmtpmailtesting wrote:
> The current linux os I'm using is in /dev/sda7, mounted as /(root).
> I've mounted /dev/sda2 in /media/sda2. Now trying to install gcc in
> /media/sda2/usr/bin.
Then build GCC with --prefix=/media/sda2/usr
> How can a compiler make code? How can a cross compile make code? I
> knew, compilers compiles code and generate object code.
I was referring to object code.