Using mingw-pkg to build gcc 5.3.0

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Using mingw-pkg to build gcc 5.3.0

David Gressett-5

I have set up the downloaded gcc 5.3.0 with src and adjacent build
directories, with gmp, mpfr, and mpc set up in the appropriate
places. There are no problems here, this is all the same as I did for
builds of previous releases.

I have used git to get  mingw-pkg from
https://sourceforge.net/u/keithmarshall/mingw-pkg/ci/master/tree/

Now I do have problems. How do I install and configure mingw-pkg
so that  I can use it?

I found no useful information at www.mingw.org - the web site has
not been updated.



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
MinGW-dvlpr mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mingw-dvlpr
Reply | Threaded
Open this post in threaded view
|

Re: Using mingw-pkg to build gcc 5.3.0

Keith Marshall-3
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 28/12/16 16:38, David Gressett wrote:
> Now I do have problems. How do I install and configure mingw-pkg
> so that I can use it?

Conventionally; assuming you unpacked to $HOME/mingw-pkg-0.1.0:

  $ mkdir $HOME/mingw-pkg-0.1.0/build
  $ cd $HOME/mingw-pkg-0.1.0/build
  $ ../configure && make && make install

will set it up in /usr/local; if you want it elsewhere, e.g. /mingw,
add ' --prefix=/mingw' to the configure command, (or alternatively,
append ' prefix=/mingw' to the 'make install' command.

You may then wish to customize it, by creating a $HOME/.mingw-pkgrc
configuration file; e.g. mine (for cross-compiling) is attached.

- --
Regards,
Keith.

Public key available from keys.gnupg.net
Key fingerprint: C19E C018 1547 DE50 E1D4 8F53 C0AD 36C6 347E 5A3F
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (GNU/Linux)

iQIcBAEBAgAGBQJYZEhmAAoJEMCtNsY0flo/nakQAMW/hl1EqWhI8JM99dRRr+yx
f2FBkfSwhnSFwkKfMuSSFgino6Gu8ktOGAbZw3NSfXe1TuBT8klvGBcabxORhHJ/
ytDLbVMkC7iaXrasoqwJ7A/cFLFzFTJo6wVouPHN7rSb7STyGwVpUTxaTrcG16Bp
KDg0CKFDQ/3gBsc+EUUFDyoOWibyX3JvuGBzn8M2QqrjhN3Ff3zruWZ/gt/kzauw
0u+UEoTAO6+YRAsbV5D9j3d6IZn+Q6JtI1Q9e/8kqw2ENTczFIv2a6dC3kX6ZGis
rY0hbdFuU5PO5XzuvhWteAcROFdvwQXaDpSu9KaalQCjHEZwI5ld+/YvOw/lRF2A
haoG5F+ilaiXoj29CFWWybHAPirZfk//+iIFLwPRS70Adn2sL3DlzXrR4ekdL+6X
DpCG7F4uaNhXctTlCRpqzmwvTNcedMRTOC5eZjZhtXepJajlvTEovrSALhkUz+xt
BGUdL9I6Wbs69h1jZC51hYHG7fh9WpW1HBt6dTjsAK30mA+xQZhosRczmHYPEqkk
e2E2h1RDAWM0PKpbMWSZLccJBJoIOycM55l4tmV6GUR62XWhXRsCWa6XT5nbSHfX
yK523cceJeo+m25BWf0sHuVstZbPB+Zog/8q32L4v9LG/QwuKFz2hHJ0d7Pw6rCo
H121hdiYYV11lDSJFKyj
=R64M
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
MinGW-dvlpr mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mingw-dvlpr

.mingw-pkgrc (418 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Using mingw-pkg to build gcc 5.3.0

David Gressett-5


>On 28/12/16 16:38, David Gressett wrote:
>> Now I do have problems. How do I install and configure mingw-pkg
>> so that I can use it?

>Conventionally; assuming you unpacked to $HOME/mingw-pkg-0.1.0:

  >$ mkdir $HOME/mingw-pkg-0.1.0/build
  >$ cd $HOME/mingw-pkg-0.1.0/build
  >$ ../configure && make && make install

No joy - I get
sh: ../configure: No such file or directory

The mingw-pkg-0.1.0 directory contains three files:
Makefile.in
configure.ac
install-sh

and two directories
build (which I just created)
src

The contents of src and its subdirectories seems to be entirely
shell scripts.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
MinGW-dvlpr mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mingw-dvlpr
Reply | Threaded
Open this post in threaded view
|

Re: Using mingw-pkg to build gcc 5.3.0

Keith Marshall-3
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 29/12/16 00:03, David Gressett wrote:
>> Conventionally; assuming you unpacked to $HOME/mingw-pkg-0.1.0:
>>
>>   $ mkdir $HOME/mingw-pkg-0.1.0/build
>>   $ cd $HOME/mingw-pkg-0.1.0/build
>>   $ ../configure && make && make install
>
> No joy - I get
> sh: ../configure: No such file or directory

So, you need to run autoconf, to generate it from configure.ac:

  $ cd $HOME/mingw-pkg-0.1.0
  $ autoconf

Then you can cd to the build subdirectory, and the conventional
build sequence should run, as above.  (You may also wish to delete
the entire autom4te.cache subdirectory, created by autoconf; it is
of no further use to you).

- --
Regards,
Keith.

Public key available from keys.gnupg.net
Key fingerprint: C19E C018 1547 DE50 E1D4 8F53 C0AD 36C6 347E 5A3F
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (GNU/Linux)

iQIcBAEBAgAGBQJYZR98AAoJEMCtNsY0flo/iCIQAJOXy5u+PJFDLqWRcdsN1iqQ
slzU9CLsFc5YyT0AXjA2irc99fNvjGsDLLmlOcH3lK+kuOczZi/dCFbTafey4Z/1
/qNC9ZE2KsdVULNXd/6GnLAVy8rg5n9uB8Vo4Izm4+e+jkGljcfI/kJAdxRSJaZW
u5bFzK4PCZ0bfMwZ8OD4zwNvqE1VBjnOJ3vKq1u6xLIvENhk8EcM568Do958vC2p
HLz24KuAscOxb6N18fGVBN+fDwPxdKxwAuecpc8gIlr28K3rpiXHZwonuJAmP39f
Q/ng0pqJHXtwvJM5fTfzB/3Ck36pljYXFgQlabDN3zRCw1ypXtKSBIFKlEvlifpk
V8jNPReXhg7d/qFv3B3ZNVw4fGBIKVX1aEv0P736Q/oTvCqgZn2LlLC0aXbRAqQ9
3hB1iZsj6vNAJbqTac7oRY0z1LbBwGlU9lISlgl7R3B+CAr3ZwFU5n2eSxQGsulY
8LB7PZpSbKs+yb/Wm5D4vIXt5bZise2rMhehpV7H+xU39MsGnMXCNurXARtEgqxu
9FtZyIA2qBHFlWZxvoTdIbSutEQfK120MTtuMWa82pXnHsS36q04EP4AoFGDeKgV
gdO4dIAY23A3Uvtg5RWzszwYRixA5DN+sEZ1YjQseFhBcnrGTimN9gvmsjmhuVP+
RTEAqN9jZYy7W2vAiPlk
=ccUL
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
MinGW-dvlpr mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mingw-dvlpr