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] | |
On Fri, Mar 1, 2013 at 9:39 AM, vijay nag <vijunag@gmail.com> wrote:That switches you over to a 32-bit compiler, taking advantage of the support of 32-bit execution under this OS. In many current x86_64 installations, the 32-bit compiler is an additional option requiring the primary gcc development system option.Yes, it is possible.Is it possible to do a cross compile of gcc-4.7.2 on AMD x86_64 to produce i686 target ?
My build, host and target parameters are amd64-pc-linux-gnu, amd64-pc-linux-gnu and i686-pc-linux-gnu. My native compiler again is a 64 bit compiler emitting default 64 bit object code.
It is also usually unnecessary. A typical x86_64 compiler installation will produce 32-bit x86 code with the -m32 option.
Ian
-- Tim Prince
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |