I am currently trying to create gcc 4.4 for the recently updated ubuntu 11.10. However, when creating a compiler, there are always problems with some problems when trying to load.
Could not find the first crti.o and crtn.o I mapped them to a different directory in the search path, and so I could get the boot compiler. However, now it does not work with the message:
configure: error: C compiler cannot create executables
I tried using an intermediate compiler in a simple test program, and I get a message:
$ ./host-x86_64-unknown-linux-gnu/prev-gcc/xgcc test.c xgcc: error trying to exec 'cc1': execvp: File or directory not found
So, something is seriously confused with the paths of my intermediate compiler. When I did the same on ubuntu 11.04, everything just worked perfectly.
I used the following command line to configure:
./configure
I also tried both the built VPATH and the source in the assembly, but both have the same problem. I still have gcc44 before the update lying inside /opt , but it has become unusable since the update.
Is there an easy way to get gcc 4.4 working under Ubuntu 11.10? I do not have to be a self-learning compiler, if I can just download the package and install it, that will be fine too.
gcc cross-compiling
LiKao Feb 03 2018-12-12T00: 00Z
source share