I tried to achieve similiar effects like your official website showing..
The GNU C Library Source Code but the Source Code was configured to build with make instead of cmake.
I tried bear make to generate a compile_commands.json as well ,
but after the generation of html, I cannot view my source code properly..
All is just a simple index.html page generated by indexgenerator.
So.. What do I need to do to put my Glibc Source code into the Browser?
Oh, I tried to manually visit the generated html , it seems that it works just fun.
But I just wonder why the index.html cannot properly indicate the positions..
Just like this pic below:
I used the following command: codebrowser_generator -b /var/www/html/CodeBrow/glibc-2.23/build -a -o ../srcs -p glibc:/var/www/html/CodeBrow/glibc-2.23:2.23
I tried to achieve similiar effects like your official website showing.. The GNU C Library Source Code but the Source Code was configured to build with
make
instead ofcmake
.I tried
bear make
to generate a compile_commands.json as well ,but after the generation of html, I cannot view my source code properly..
All is just a simple index.html page generated by indexgenerator.
So.. What do I need to do to put my Glibc Source code into the Browser?
Oh, I tried to manually visit the generated html , it seems that it works just fun.
But I just wonder why the index.html cannot properly indicate the positions..
Just like this pic below:
I used the following command:
codebrowser_generator -b /var/www/html/CodeBrow/glibc-2.23/build -a -o ../srcs -p glibc:/var/www/html/CodeBrow/glibc-2.23:2.23
codebrowser_indexgenerator /var/www/html/CodeBrow/glibc-2.23 && cp ./index.html ./srcs
and visit the /srcs/index.html, got the above result..