[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[sr #110476] ar: `u' modifier ignored since `D' is the default (see `U')
From: |
R. Diez |
Subject: |
[sr #110476] ar: `u' modifier ignored since `D' is the default (see `U') |
Date: |
Thu, 22 Apr 2021 03:41:46 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:87.0) Gecko/20100101 Firefox/87.0 |
URL:
<https://savannah.gnu.org/support/?110476>
Summary: ar: `u' modifier ignored since `D' is the default
(see `U')
Project: Autoconf
Submitted by: rdiez
Submitted on: Thu 22 Apr 2021 07:41:44 AM UTC
Category: None
Priority: 5 - Normal
Severity: 3 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Operating System: None
_______________________________________________________
Details:
I recently added a very simple library called libAtmelSoftwareFramework.a to
this cross-compilation project of mine:
https://github.com/rdiez/JtagDue/blob/master/Project/Makefile.am
So I immediately got this warning:
ar: `u' modifier ignored since `D' is the default (see `U')
This has been a known issue for years. There are many discussions on the
Internet. As a new Autoconf user, you have to search for the error message and
read here and there. Some people present their opinions about possible ways to
fix this problem, with possible caveats.
I came up with this workaround for my project:
# By default, Automake is using $(AR) $(ARFLAGS), and ARFLAGS defaults to
"cru".
libAtmelSoftwareFramework_a_AR := $(AR) cr
I think it is time for Autoconf to do something about this, instead of letting
everybody waste time all over the place.
At the very least, this shortcoming should be documented in the Autoconf
manual. Failing that, the FAQ page should mention it.
The best thing to do is to modify Autoconf somehow in order to prevent this
warning.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/support/?110476>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [sr #110476] ar: `u' modifier ignored since `D' is the default (see `U'),
R. Diez <=