Answer the question
In order to leave comments, you need to log in
How to cross compile gcc?
I decided to build the GCC compiler here. But not just to compile, but to compile in such a way that the compiled compiler compiles the sources under QNX. Now, I'm sure what I'm going to ask is on the Internet, but I'm a little confused.
First of all, you need to build gmp , mpfr and mpc . I put them together with the option (is this correct in my case?):
HOST=x86_64-pc-nto-qnx6.5.0
--host=$HOST
System types:
--build=BUILD configure for building on BUILD [guessed]
--host=HOST cross-compile to build programs to run on HOST [BUILD]
--target=TARGET configure for building compilers for TARGET [HOST]
Answer the question
In order to leave comments, you need to log in
--build - platform where the sources of any program
will be built --host - specify where the compiled program will run --target
- as I understand it, this is used to specify where GCC itself will be built?
I compiled them with the option (is this correct in my case?):
HOST=x86_64-pc-nto-qnx6.5.0
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question