Hello There! Today i am running GCC compiler build and configure with my SSH linux environment!
The first step is obviously cloning the GCC sources in to our environment!

git clone git://gcc.gnu.org/git/gcc.git SomeLocalDir
In my case i have used "GCCLab" as the Directory name which is inside of folder called "git" int my 86 environment.
mkdir ~/gcc-build-001 cd ~/gcc-build-001
~/git/GCClab/configure --prefix=$HOME/gcc-test-001
Then you will be able to see whole logging saying which dependencies exist or not, if there are any dependencies needed then you might goahead and install them. (sudo might required)
For us we are going to check if makefile is placed correctly by running.
Seems like its very well placed.
Now lets move to next step, which is Building GCC
time make -j 24 |& tee build.log
with this command you will see bunch of commands that is running to build GCC and it will take about 20 mins to few hours.
Continuing in Part 2
No comments:
Post a Comment