Open bib1963 opened 4 years ago
Thank you for your contribution. The following part is a bit puzzling however:
+ <directory group="default" >\.\./lib(64)?/gcc(-lib)?/$TARGET/[1-9]/adalib/</directory>
what is the naming convention, exactly? is it really a random figure from 1 to 9?
On Friday, 27 March 2020 18:30:03 GMT Vasiliy Fofanov wrote:
Thank you for your contribution. The following part is a bit puzzling however:
+ <directory group="default" >\.\./lib(64)?/gcc(-lib)?/$TARGET/[1-9]/adalib/</directory>
what is the naming convention, exactly? is it really a random figure from 1 to 9?
b@eth7 $ ls -l /usr/lib64/gcc/x86_64-suse-linux/ total 16 drwxr-xr-x 8 root root 4096 Mar 9 19:34 7 drwxr-xr-x 8 root root 4096 Mar 9 19:34 8
This is on both opensuse & redhat. I assume it's on all linux distros. It's just the major version number.
As v10 and other will come out, I assume, you could change it to...
I would have thought though you could extend it to cover such entries as 9.1 & 9.2.1.
Or you could just say sod it...
It's just the major version number. ... Or you could just say sod it...
On the contrary, if it's a major version number, then that's what we should check rather than an arbitrary number. Otherwise, we may end up considering e.g. gcc-7's hierarchy while scanning gcc-8 toolchain. We will look into that.
It is not universally correct, as in Slackware, it is the exact version of the compiler:
ls -l /usr/lib64/gcc/x86_64-slackware-linux/
drwxr-xr-x 9 root root 4096 Apr 1 20:55 9.3.0/
On Monday, 25 May 2020 23:54:16 BST Zhu Qun-Ying wrote:
It is not universally correct, as in Slackware, it is the exact version of the compiler:
ls -l /usr/lib64/gcc/x86_64-slackware-linux/ drwxr-xr-x 9 root root 4096 Apr 1 20:55 9.3.0/
There's always one disto that's different...
B
Lots of people seem to have problems with gprconfig not finding compilers. Hopefully the small patch below is acceptable. This makes it work on all openuse installs on 32bit/64bit & the Pi4. Hardly worth asking for a pull...