Giter VIP home page Giter VIP logo

lhmouse / mingw-packages Goto Github PK

View Code? Open in Web Editor NEW

This project forked from msys2/mingw-packages

12.0 12.0 2.0 103.35 MB

Package scripts for GCC with the MCF thread model

Home Page: https://gcc-mcf.lhmouse.com/

License: BSD 3-Clause "New" or "Revised" License

Shell 87.32% Batchfile 0.08% Makefile 0.17% M4 0.01% CMake 1.10% C 6.47% Lua 0.25% Roff 0.22% Python 1.07% Ruby 0.01% Fortran 1.09% C++ 0.61% Tcl 1.60% Meson 0.01% BitBake 0.01%
mingw-w64

mingw-packages's People

Contributors

3rav avatar adsun701 avatar alexpux avatar biswa96 avatar bjlemke avatar danyeaw avatar elieux avatar filnet avatar hmartinez82 avatar imperators79 avatar jeremyd2019 avatar jpetermugaas avatar kmilos avatar krullborg avatar lazka avatar martell avatar mati865 avatar mehdichinoune avatar mingwandroid avatar mmuetzel avatar nacho avatar naveen521kk avatar nebuhiiejamu avatar ognevny avatar pal1000 avatar peterbud avatar podsvirov avatar schala avatar taozuhong avatar umarcor avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

kspine

mingw-packages's Issues

Probable Ada build fix.

index e91367a7112..c4796bf7b70 100644
--- a/config/mh-mingw
+++ b/config/mh-mingw
@@ -13,3 +13,5 @@ STAGE4_CXXFLAGS += -D__USE_MINGW_ACCESS
 # as GCC turns out to need that much more to pass all the limits-* tests.
 LDFLAGS += -Wl,--stack,12582912
 BOOT_LDFLAGS += -Wl,--stack,12582912
+
+ADA_CFLAGS = -masm=att
-- ```

It built for me here [intel_asm_syntax branch](https://github.com/stahta01/MINGW-packages/tree/intel_asm_syntax)
[arifacts](https://github.com/stahta01/MINGW-packages/actions/runs/7601551588)

For the CI servers to build I had to build the pkgrel else it errored out.

Tim S.

Undefined reference to timersub while compiling darknet

Hi again,

I'm trying to compile darknet which gives an undefined reference to timersub while linking at the end.

mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.1/../../../../x86_64-w64-mingw32/bin/ld.exe: CMakeFiles\darknet.dir/objects.a(classifier.c.obj):classifier.c:(.text+0x572c): undefined reference to 'timersub'

If this is an upstream issue I will gladly report it upstream.

Kind regards

gcc package missing make depends

I think "${MINGW_PACKAGE_PREFIX}-mcfgthread" needs added to makedepends for mingw-w64-gcc.

I built it and the build failed in libgcc because it failed to find gthr.h under mcfgthread folder.

Tim S.

resolving old gcc (8.3.0) compilation

hi,

i'm sorry for opening an issue but there is no chat or forum for that so i'm using this instead...

i'm trying to build gcc 8.3.0 (since no repository for old mcfgthread) and also it's a good exercise :-)
so this is what i done:

  1. git clone lhmouse
  2. find in "git log" the commit for 8.3.0 change update:

commit 9fb1f4c
Author: Alexey Pavlov [email protected]
Date: Sat Feb 23 16:11:53 2019 +0300

gcc: Update to 8.3.0
  1. git checkout for commit number
  2. compile mcfgthread depedency - went well
  3. going to gcc-git folder trying to : "makepkg-mingw"

result:
remote: fatal: no such ref: refs/heads/gcc-8-branch

what is are the needed changes for PKGBUILD so i can get the 8.3.0 compilation work ?

error during build

after getting source
git clone https://github.com/lhmouse/MINGW-packages.git

and then gotten the following error:

$ makepkg-mingw
==> Making package: mingw-w64-gcc-mcf 10.0.1.d20200507.c12.g0df8d1efee2-1 (Sun, Jun 21, 2020 11:51:22 PM)
==> Checking runtime dependencies...
==> Missing dependencies:
-> mingw-w64-x86_64-mcfgthread-libs
==> Checking buildtime dependencies...
==> Missing dependencies:
-> mingw-w64-x86_64-mcfgthread
==> ERROR: Could not resolve all dependencies.

mingw with windows gcc plugin suppot is missing

hi
i'm using windows Mingw and couldn't find a copmlete build of Mingw with latest gcc that was gcc configure with "--enable-plugin"
can you please build and upload a new build with gcc configured with "----enable-plugin" ? it should generate a new folder that is now missing in the latest build
the new folder should be generate in "mingw32\lib\gcc\i686-w64-mingw32\8.3.1" as a "plugin" folder with some libs and includes so it would be possible to compile plugins also in windows build..
it was published here that this is now supported :
https://www.phoronix.com/scan.php?page=news_item&px=GCC-Plugins-Windows-MinGW

Compiling OpenCV with your Compiler stops with error that vidcap.h is missing

Hi,

I am not able to compile OpenCV (4.6.0) with your compiler suite with videoio enabled; it errors out with vidcap.h not found which seems to be part of MinGWs w32api (and also part of the Windows SDK - MS Media Foundation). Could you point me in the right direction on how to solve the problem?

Kind Regards

Linker error

Hi lhmouse,

Firstly, thanks very much for your up to date builds of gcc. I have been using them to compile vim/gvim (x64) on windows for a while now and have had great success.
However, the latest build of gcc 9.2.1 (27-Aug-2019) throws this error when compiling GvimExt.dll:
make -C GvimExt -f Make_ming.mak CROSS=no CROSS_COMPILE= CXX='g++' STATIC_STDCPLUS=no
make[1]: Entering directory 'U:/My Documents/Vim/vim/vim/src/GvimExt'
g++ -shared -O2 -s -o gvimext.dll \
-Wl,--enable-auto-image-base \
-Wl,--enable-auto-import \
-Wl,--whole-archive \
gvimext.o gvimext.res gvimext_ming.def \
-Wl,--no-whole-archive \
-luuid -lgdi32
c:/tmp/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/9.2.1/../../../../x86_64-w64-mingw32/bin/ld.exe: c:/tmp/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/9.2.1/../../../../x86_64-w64-mingw32/lib/../lib/libuuid.a(lib64_libuuid_a-uuid.o):uuid.c:(.rdata+0x640): multiple definition of FMTID_ImageSummaryInformation'; gvimext.o:gvimext.cpp:(.rdata$FMTID_ImageSummaryInformation[FMTID_ImageSummaryInformation]+0x0) : first defined here c:/tmp/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/9.2.1/../../../../x86_64-w64-mingw32/bin/ld.exe: c:/tmp/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/9.2.1/../../../../x86_64-w64-mingw32/lib/../lib/libuuid.a(lib64_libuuid_a-uuid.o):uuid.c:(.rdata+0x650): multiple definition of FMTID_MediaFileSummaryInformation'; gvimext.o:gvimext.cpp:(.rdata$FMTID_MediaFileSummaryInformation[FMTID_MediaFileSummaryInfor
mation]+0x0): first defined here
c:/tmp/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/9.2.1/../../../../x86_64-w64-mingw32/bin/ld.exe: c:/tmp/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/9.2.1/../../../../x86_64-w64-mingw32/lib/../lib/libuuid.a(lib64_libuuid_a-uuid.o):uuid.c:(.rdata+0x660): multiple definition of `FMTID_AudioSummaryInformation'; gvimext.o:gvimext.cpp:(.rdata$FMTID_AudioSummaryInformation[FMTID_AudioSummaryInformation]+0x0)
: first defined here
collect2.exe: error: ld returned 1 exit status
make[1]: *** [Make_ming.mak:66: gvimext.dll] Error 1
make[1]: Leaving directory 'U:/My Documents/Vim/vim/vim/src/GvimExt'
make: *** [Make_cyg_ming.mak:1051: GvimExt/gvimext.dll] Error 2
make: Leaving directory 'U:/My Documents/Vim/vim/vim/src'

Copying libuuid.a from the previous release of 9.2.1 (13-aug-2019) into x86_64-w64-mingw32\lib directory of the latest release fixes the problem.
Cheers

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.