This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How can I install gcc in different partition?


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]