Re: [SOLVED] Getting current version of MinGW

Keith Marshall <[email protected]>
Newsgroups gmane.comp.gnu.mingw.user
Organization MinGW.org Project
Message-ID <[email protected]>
On 12/03/19 03:59, Test User wrote:
> It seems that the file originally called profile.xml (in 
> /MinGW/var/lib/mingw-get/data/) was renamed as defaults.xml in later
> versions of mingw-get,

Nope.  That is not the case.  It has always been intended that
profile.xml should be created by, and subsequently maintained by the
user; it has *never* been distributed with mingw-get.  OTOH,
defaults.xml has *always* been distributed, as a model on which the user
may base his (or her) profile.xml; defaults.xml is used as fall-back, if
the user has neglected to create profile.xml

When you use mingw-get-setup.exe to install mingw-get, it will create
profile.xml, (*but only if it does not already exist*), as a *copy* of
defaults.xml; thereafter, it becomes *your* responsibility to maintain
that copy.  When you upgrade mingw-get, defaults.xml will be upgraded;
profile.xml will not, as that would overwrite any customization which
you may have put in place.

> but the current mingw-get reads profile.xml even if defaults.xml
> exists.

It has *always* been thus.

> I edited my profile.xml like this:
> 
>  <!-- <repository
> uri="http://prdownloads.sourceforge.net/mingw/%F.xml.lzma?download">
> -->
>   <repository uri="http://osdn.net/dl/mingw/%F.xml.lzma">

Which is correct procedure; I assume that you deduced this adjustment by
inspection of the upgraded defaults.xml.

> and mingw-get now tells me that the installed gcc version is 6.3 and
> the repository version is 8.2.

Yes, because your local copy of the catalogue is now synchronized with
the active OSDN.net master, rather than the abandoned SF.net version,
when you perform "mingw-get update"; if you now follow up by performing
"mingw-get upgrade", you should find that gcc-8.2.0 becomes your
installed version.

-- 
Regards,
Keith.

Public key available from keys.gnupg.net
Key fingerprint: C19E C018 1547 DE50 E1D4 8F53 C0AD 36C6 347E 5A3F

_______________________________________________
MinGW-Users mailing list
[email protected]

This list observes the Etiquette found at
http://www.mingw.org/Mailing_Lists.
We ask that you be polite and do the same.  Disregard for the list etiquette may cause your account to be moderated.

_______________________________________________
You may change your MinGW Account Options or unsubscribe at:
https://lists.osdn.me/mailman/listinfo/mingw-users
Also: mailto:[email protected]?subject=unsubscribe
signature.asc (application/pgp-signature, 836 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (GNU/Linux)

iQIcBAEBAgAGBQJch4cPAAoJEMCtNsY0flo/8ywP/jeUlAmj7vq3mv1UomHgL6tF
/jC6ORhRf8NtqXUR6tSQ6jk3hopBygPWob35V1IY6+x3Pv3mkB6KiD7x7jQEFwDI
NMZuVGE7/uKCs5AOPDGTeFdQryDxcI8zBJ/b62Kk95/aCIueIBXm8yWeqhTl7HCK
FZwoqyCiV7F7pc6TUrmaN0ZOgXIvaDSYKFOSKXjY3GqA3yojF2H6yk6v1KMDnpkV
638feabayngONOV6ZhKm7DpJtAp3gI5yqib4Tl3ixCBUts/GElibkrgchdDm7EkW
EEXL3+y591JUep0jkBoMuRl8iu837QmskISHUt1PN77mDKSIRHf7JYa9x8eC6+Dt
SlXsvVmH+1hi1BVwAlcy8k1+7MVu6sWW5xTXuWTOOVsXSCzyi+fcQh+i5PWJHNV8
8NXFn5tMVYhraTUVlPhVjVTXWi24tGKoDzEA5YqJjDtWx4C+LPpYyKvqIsgTYbhK
ifjaDX/t3Ap5TDlBHSHSnzm6Ru9TKb03bChnFBY/5yhtx8h+RUVfktwrPs83leww
8AJPf8q8CFUb/u6M2iP2BjynyOmuAXcWwakak2gaRyqS0Lf5wYg5ugvtoaAsvSlK
cq6UQZ672WuX39NcxkXoFlnKAqlsqysB2aI8vGj2j7P4eVs+Yj4p76askb2ReOgh
M4M6IrJ0twJu5+vvKlSe
=X8Ti
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.