OSDev.org

The Place to Start for Operating System Developers
It is currently Tue Mar 19, 2024 1:03 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 25 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: cc1: error: unrecognized command-line option ‘-quiet’
PostPosted: Wed Jan 04, 2023 1:54 pm 
Offline

Joined: Mon Jan 02, 2023 2:01 pm
Posts: 14
Octocontrabass wrote:
JoeBox9 wrote:
Yeah, I was installing from the AUR but it was taking too long to compile, so I cancelled it in the middle

If you had let it finish, you wouldn't be having these problems.

Run "ls /usr/bin/i686-elf-*" and see if anything is listed.

A lot:
Code:
/usr/bin/i686-elf-c++         /usr/bin/i686-elf-gcc-ranlib
/usr/bin/i686-elf-cpp         /usr/bin/i686-elf-gcov
/usr/bin/i686-elf-g++         /usr/bin/i686-elf-gcov-dump
/usr/bin/i686-elf-gcc         /usr/bin/i686-elf-gcov-tool
/usr/bin/i686-elf-gcc-11.1.0  /usr/bin/i686-elf-gdb
/usr/bin/i686-elf-gcc-7.1.0   /usr/bin/i686-elf-gdb-add-index
/usr/bin/i686-elf-gcc-ar      /usr/bin/i686-elf-lto-dump
/usr/bin/i686-elf-gcc-nm


Top
 Profile  
 
 Post subject: Re: cc1: error: unrecognized command-line option ‘-quiet’
PostPosted: Wed Jan 04, 2023 1:56 pm 
Offline
Member
Member

Joined: Mon Mar 25, 2013 7:01 pm
Posts: 5069
You haven't finished removing your previous (broken) copy of i686-elf-gcc.


Top
 Profile  
 
 Post subject: Re: cc1: error: unrecognized command-line option ‘-quiet’
PostPosted: Wed Jan 04, 2023 1:59 pm 
Offline

Joined: Mon Jan 02, 2023 2:01 pm
Posts: 14
Octocontrabass wrote:
You haven't finished removing your previous (broken) copy of i686-elf-gcc.

yay can't find it:
Code:
yay -R i686-elf-gcc
error: target not found: i686-elf-gcc[


Top
 Profile  
 
 Post subject: Re: cc1: error: unrecognized command-line option ‘-quiet’
PostPosted: Wed Jan 04, 2023 2:18 pm 
Offline
Member
Member

Joined: Mon Mar 25, 2013 7:01 pm
Posts: 5069
I'm not familiar with that package manager, so I can't offer you any specific advice on how to tell it to clean up the leftover files.

Personally, I would try installing the AUR package again and see if it overwrites them. This may not be the best idea though.


Top
 Profile  
 
 Post subject: Re: cc1: error: unrecognized command-line option ‘-quiet’
PostPosted: Thu Jan 05, 2023 5:58 am 
Offline

Joined: Mon Jan 02, 2023 2:01 pm
Posts: 14
Octocontrabass wrote:
I'm not familiar with that package manager, so I can't offer you any specific advice on how to tell it to clean up the leftover files.

Personally, I would try installing the AUR package again and see if it overwrites them. This may not be the best idea though.

I tried installing i686-ellf-binutils, it installed quickly, then I installed i686-elf-gcc as you said removing. It said that some files in /usr/bin/ exist and then I removed them and now it says this:
Code:
ldconfig: /usr/lib/libnvrtc.so.11.0 is not a symbolic link

ldconfig: /usr/lib/libnvrtc-builtins.so.11.0 is not a symbolic link

but it ran successfully without an error code. I tried compiling everything, and it was successful and booted successfully in qemu, but would the symbolic link errors do anything? How do I fix them?


Top
 Profile  
 
 Post subject: Re: cc1: error: unrecognized command-line option ‘-quiet’
PostPosted: Thu Jan 05, 2023 11:49 am 
Offline
Member
Member

Joined: Mon Mar 25, 2013 7:01 pm
Posts: 5069
JoeBox9 wrote:
would the symbolic link errors do anything?

Not for libnvrtc or libnvrtc-builtins.

JoeBox9 wrote:
How do I fix them?

Remove the package that incorrectly installed libnvrtc and libnvrtc-builtins.


Top
 Profile  
 
 Post subject: Re: cc1: error: unrecognized command-line option ‘-quiet’
PostPosted: Thu Jan 05, 2023 1:44 pm 
Offline

Joined: Mon Jan 02, 2023 2:01 pm
Posts: 14
Octocontrabass wrote:
JoeBox9 wrote:
would the symbolic link errors do anything?

Not for libnvrtc or libnvrtc-builtins.

JoeBox9 wrote:
How do I fix them?

Remove the package that incorrectly installed libnvrtc and libnvrtc-builtins.

Which one is that?


Top
 Profile  
 
 Post subject: Re: cc1: error: unrecognized command-line option ‘-quiet’
PostPosted: Thu Jan 05, 2023 2:05 pm 
Offline
Member
Member

Joined: Mon Mar 25, 2013 7:01 pm
Posts: 5069
I don't know, try asking your package manager. (Something like "pacman -Qo /usr/lib/libnvrtc.so.11.0" maybe?)


Top
 Profile  
 
 Post subject: Re: cc1: error: unrecognized command-line option ‘-quiet’
PostPosted: Thu Jan 05, 2023 2:30 pm 
Offline

Joined: Mon Jan 02, 2023 2:01 pm
Posts: 14
Octocontrabass wrote:
I don't know, try asking your package manager. (Something like "pacman -Qo /usr/lib/libnvrtc.so.11.0" maybe?)

Code:
error: No package owns /usr/lib/libnvrtc.so.11.0


Top
 Profile  
 
 Post subject: Re: cc1: error: unrecognized command-line option ‘-quiet’
PostPosted: Thu Jan 05, 2023 5:53 pm 
Offline
Member
Member

Joined: Mon Mar 25, 2013 7:01 pm
Posts: 5069
I guess whatever put them there wasn't part of your package manager.

If you can't think of anything that might use those libraries, try removing them. Keep a backup in case they turn out to be important.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 25 posts ]  Go to page Previous  1, 2

All times are UTC - 6 hours


Who is online

Users browsing this forum: TYDQSoft and 11 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group