-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gprconfig does not find compilers - patch #77
Comments
Thank you for your contribution. The following part is a bit puzzling however:
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...
<directory group="default" >\.\./lib(64)?/gcc(-lib)?/$TARGET/[1-9][0-9]?/adalib/</directory>
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...
<directory group="default" >\.\./lib(64)?/gcc(-lib)?/$TARGET/*/adalib/</directory>
|
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:
|
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...
The text was updated successfully, but these errors were encountered: