Log in

View Full Version : Compiling GCC for MinGW & Cross-Compiling with Linux


Pages : 1 2 [3] 4 5

Kurosu
1st April 2007, 00:55
'thunk alias' error still happens with the baseclasses in ffdshow

See this gcc bug report:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27067

Patch worked fine on the 20060715 gcc 4.2 snapshot, but probably can't be merged properly now.

cc979
1st April 2007, 14:01
See this gcc bug report:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27067

Patch worked fine on the 20060715 gcc 4.2 snapshot, but probably can't be merged properly now.

latest time tried i patching gcc-4.2-rev121020 it was fine, but i failed to get it to worked with later revisions, maybe it will get intergrated into the trunk

i patched gcc-4.1.2 http://forum.doom9.org/showthread.php?p=953608#post953608

cheers

cc979
1st April 2007, 14:04
i just uploaded a cross-compiled gcc-4.3 for anyone who wants try it

http://www.mytempdir.com/1278497

libgomp/pthreads/gmp/mpfr are included

cheers

cc979
6th April 2007, 01:12
just read on mingw news:
Snapshot: mingw-w64-headers-20070405-1.tar.bz2 2007-04-05 00:33
Header set for x86_64-pc-mingw32 support. This is a header set tested only for x86_64 version, but it includes also the definitions for x86 and ia64, too. It was used to build and verify the patch to gcc 4.3 (trunk) and may also it has some use to mingw.
http://www.mingw.org/news.shtml

_xxl
12th May 2007, 06:33
Can you please upload all mingw builds to rapidshare?
mytempdir doesn't work.

cc979
12th May 2007, 18:06
Can you please upload all mingw builds to rapidshare?
mytempdir doesn't work.

i don't keep them, i delete them once uploaded

will be building prerelease-4.2.0-20070501 soon

Lemonzest
17th May 2007, 13:51
any word on a build of 4.2.0 final? it was released today :) thanks

morph166955
17th May 2007, 18:14
I just heard about it a few mins ago. I'm going to play around with it later today (in linux though till i get my footing all with it). I don't have my mingw setup on this box so I can't make a build for everyone to use. cc979 might but I don't know what his plans are.

dancho
18th May 2007, 09:21
just in case that someone maybe need it:

unofficial MinGW 4.3.0 gcc and g++ PATCHED against 27067 bug ( big thx to 20-40 )

http://forums.codeblocks.org/index.php/topic,5870.0.html

cc979
18th May 2007, 14:27
been little busy will build gcc 4.2.0 now, that is if ubuntu works had trouble with nvidia driver latest ubuntu

morph166955
18th May 2007, 18:01
cc979...are you doing your gcc builds strictly cross-compile now or are you doing them native in mingw/msys?

I'm may do a 4.2 native compile today myself, if not ill do it some time next week if I have time among compiling my own linux distro (see the linux section for my post that has more info).

cc979
18th May 2007, 19:52
just finished a linux-cross-compiled version of gcc-4.2 - which i will do for all gcc builds, i stopped doing windows native builds a while back

i just need to upload it now, will be later - after a few tests

cheers

ps. just tested gcc-4.2.0 with latest svn of ffdshow-tryout - looks like the thunk alias patch did not make into the final release

cc979
19th May 2007, 00:17
release mingw32-gcc-4.2.0-build-i686.7z
md5: 60C67B6E0FDE83C682913418F7496C9A

http://www.mytempdir.com/1332104
http://www.speedyshare.com/411490356.html

clsid
20th May 2007, 13:05
Thanks!

Edit: Did you forgot to strip the binaries? They seem rather big compared to the older versions.

cc979
20th May 2007, 19:57
Thanks!

Edit: Did you forgot to strip the binaries? They seem rather big compared to the older versions.

no should be stripped, there are larger than 4.12 irc

_xxl
27th May 2007, 12:00
Intel® C++ Compiler for Linux
icc/gcc Compatibility

It is possible to cross-compile libavcodec with icc9?

cc979
27th May 2007, 14:36
It is possible to cross-compile libavcodec with icc9?

no idea,
the cross-compile - you need to have/make compiler the runs on linux that creates code for windows unless that icl9 thing does have an already cross-compiled compiler its unlikely - but maybe someone who knows more about icl9 on linux would tell you

cheers

clsid
25th July 2007, 16:08
Could you make a GCC 4.2.1 mingw build? It was released last week. Thanks.

Romario
25th July 2007, 22:20
What about new ICL 10, why somebody don't compile FFDSHOW with that version?

cc979
27th July 2007, 17:31
What about new ICL 10, why somebody don't compile FFDSHOW with that version?

looks like posted in wrong thread

cc979
27th July 2007, 17:32
Could you make a GCC 4.2.1 mingw build? It was released last week. Thanks.

i will asap, been a little busy lately

cc979
28th July 2007, 20:29
i've just compiled this: mingw32-gcc-4.2.1

md5: 77658C321A7F05EEF6E0D752FC0ECA26

http://www.speedyshare.com/610947847.html

_xxl
28th July 2007, 20:38
i've just compiled this: mingw32-gcc-4.2.1
Thanks!

ffmpeg
29th July 2007, 02:29
Hi, cc979 .I fail to download the file from the following address
http://www.speedyshare.com/610947847.html

cc979
29th July 2007, 06:28
cc-mingw32-gcc-4.2.1-build-i686.tar.bz2
md5: 77658C321A7F05EEF6E0D752FC0ECA26

http://www.mytempdir.com/1375468

_xxl
29th July 2007, 07:31
cc-mingw32-gcc-4.2.1-build-i686
binutils-2.17.50-20070129-1
mingw-runtime-3.11
w32api-3.8
pthreads and yasm
download (http://rapidshare.com/files/45687331/gcc.rar.html)

clsid
29th July 2007, 13:22
There are newer versions: runtime 3.12 and w32api 3.9

cc979
29th July 2007, 16:46
3.12 runtime headers was buggy, last time i used it

cweb
10th August 2007, 14:14
anyone tried 3.13 runtime?
w32api-3.10 is out too..

DeathTheSheep
28th August 2007, 20:22
Would anyone know where to get a cygwin GCC-4.3 binary? I would think this is the place to ask.

cc979
29th August 2007, 14:47
Would anyone know where to get a cygwin GCC-4.3 binary? I would think this is the place to ask.

probably need to compile one, i would try but i dont use cygwin

cc979
2nd September 2007, 19:32
out of curiosity how many would want a mingw64 build of gcc & binutils ?

clsid
2nd September 2007, 20:10
That would be very useful for compiling libavcodec. That would give a big performance boost for ffdshow 64-bit, which is currently much slower than the regular 32-bit version.

But is there already a 64-bit version of the mingw environment?

cc979
3rd September 2007, 14:11
i will look into it further

MatMaul
21st October 2007, 16:52
can we have a 4.2.2 build please :p

cweb
21st October 2007, 17:02
can we have a 4.2.2 build please :p
How reliable are these 4.2.x builds? Are they able to compile all the stuff you can throw at them or are there some problems/bugs etc...?

cc979
21st October 2007, 17:45
i shall build it soon

cc979
22nd October 2007, 09:19
new build of a cross compiled gcc

cc-mingw32-gcc-4.2.2-build-i686.7z
md5: EBD343B4C42845E725A9AA7393FBE6A0

http://www.speedyshare.com/119683991.html

MatMaul
23rd October 2007, 18:57
thanks :)

clsid
23rd October 2007, 19:05
Same here. :thanks:

clsid
28th October 2007, 12:01
Can you make a fresh build of GCC 3.4.6? Thanks.

cc979
28th October 2007, 23:12
old one, any reason ?

will do i get time - soon

Inventive Software
29th October 2007, 00:48
If you have a fresh MinGW, you can compile 3.4.6 yourself. I have done it before....

clsid
29th October 2007, 11:17
I don't have msys installed. So that won't work.

I want 3.4.6 because I want to test the performance of the code that it generates compared to 4.2.2.

cc979
29th October 2007, 19:47
cross compiled gcc-3.4.6
md5: 596F1B7ED81D35AB3DE2D464A742F116

http://www.speedyshare.com/324965439.html

clsid
29th October 2007, 21:50
Thanks.

haruhiko_yamagata
27th December 2007, 12:02
I can't compile ffdshow.ax using MinGW-GCC 4.2.2.

I created a small sample to reproduce the error.

struct Ifoo
{
virtual void __stdcall stdcallfunc(void)=0;
};

struct foo
{
virtual void cdeclfunc(void);
};

void foo::cdeclfunc(void){}

struct fooImp: public foo, public Ifoo
{
virtual void stdcallfunc(void) __attribute__((stdcall));
virtual void cdeclfunc(void){};
};

void fooImp::stdcallfunc(void){}



gcc -S foo.cpp
foo.cpp:18: error: 'void *LTHUNK0()' aliased to undefined symbol '_ZN6fooImp11stdcallfuncEv'


Is this a bug of GCC or MinGW?
If we can confirm that this is a bug, I'll write a report.

My guess is it's a bug in stdcall compiling.
I think '_ZN6fooImp11stdcallfuncEv' should be '_ZN6fooImp11stdcallfuncEv@4'.

cc979
28th December 2007, 07:13
it a bug of gcc 4.2+ there was a fix, but it seems it did not make it into the svn

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27636

haruhiko_yamagata
28th December 2007, 13:20
it a bug of gcc 4.2+ there was a fix, but it seems it did not make it into the svn

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27636
Thank you for reply. It seems to have been committed in the trunk after creating 4.2 branch as rev 125020 (http://gcc.gnu.org/viewcvs?view=rev&revision=125020).
I expect GCC 4.3 will be able to compile ffdshow.ax again.

cc979
30th December 2007, 08:51
i've made a test build of:
gcc version 4.2.3 20071226 (prerelease)

it seems it does not have the patch http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27067

i'll try adding it later