Re: [Mingw-w64-public] how to remove libgcc_s_sjlj-1.dll dependency

2014-05-05 Thread YIRAN LI
2014-05-05 22:16 GMT+10:00 Teemu Nätkinniemi : > On 5.5.2014 10:19, YIRAN LI wrote: > > I'm building an opensource project on mingw32 and found the generated > > dll depends on libgcc_s_sjlj-1.dll. The function referenced is __divdi3. > > > > I tried to add ldflags = -static- libgcc, but seems it

Re: [Mingw-w64-public] [PATCH] Don't use __stdcall on ARM

2014-05-05 Thread Kai Tietz
Patch is ok for apply. Thanks, Kai -- Is your legacy SCM system holding you back? Join Perforce May 7 to find out: • 3 signs your SCM is hindering your productivity • Requirements for releasing software faster • Expert ti

Re: [Mingw-w64-public] [PATCH] Don't use __stdcall on ARM

2014-05-05 Thread André Hentschel
Am 05.05.2014 23:29, schrieb André Hentschel: > Please review, i'll commit it. Again the right patch attached now, it's getting late, sorry. Index: ddk/include/ddk/usbbusif.h === --- ddk/include/ddk/usbbusif.h (Revision 6609) +++ ddk

[Mingw-w64-public] [PATCH] Don't use __stdcall on ARM

2014-05-05 Thread André Hentschel
Please review, i'll commit it. Index: mingw-w64-headers/include/winnt.h === --- mingw-w64-headers/include/winnt.h (Revision 6596) +++ mingw-w64-headers/include/winnt.h (Arbeitskopie) @@ -32,6 +32,13 @@ #endif #endif /* _AMD64_ */

Re: [Mingw-w64-public] [PATCH] More ARM related changes to winnt.h

2014-05-05 Thread Kai Tietz
Hallo André, the patch is ok for apply. Thanks, Kai 2014-05-05 22:19 GMT+02:00 André Hentschel : > Am 05.05.2014 22:17, schrieb André Hentschel: >> Please review, i'll commit it. (most likely i'll split it up into individual >> patches, if that's ok) > > Sorry, now with the correct changes atta

Re: [Mingw-w64-public] [PATCH] More ARM related changes to winnt.h

2014-05-05 Thread André Hentschel
Am 05.05.2014 22:17, schrieb André Hentschel: > Please review, i'll commit it. (most likely i'll split it up into individual > patches, if that's ok) Sorry, now with the correct changes attached Index: mingw-w64-headers/include/winnt.h

[Mingw-w64-public] [PATCH] More ARM related changes to winnt.h

2014-05-05 Thread André Hentschel
Please review, i'll commit it. (most likely i'll split it up into individual patches, if that's ok) Index: mingw-w64-headers/include/winnt.h === --- mingw-w64-headers/include/winnt.h (Revision 6596) +++ mingw-w64-headers/include/win

Re: [Mingw-w64-public] how to remove libgcc_s_sjlj-1.dll dependency

2014-05-05 Thread Adrien Nader
On Mon, May 05, 2014, YIRAN LI wrote: > 2014-05-05 17:32 GMT+10:00 lh_mouse : > > > 0) Try -static first. I have been using this option since long ago and it > > never fails; > > 1) Try -static-libgcc -static-libstdc++. These two should be used > > together. Using only one of them does not work, a

Re: [Mingw-w64-public] how to remove libgcc_s_sjlj-1.dll dependency

2014-05-05 Thread Teemu Nätkinniemi
On 5.5.2014 10:19, YIRAN LI wrote: > I'm building an opensource project on mingw32 and found the generated > dll depends on libgcc_s_sjlj-1.dll. The function referenced is __divdi3. > > I tried to add ldflags = -static- libgcc, but seems it doesn't work. > > Could any one let me know how can I get

Re: [Mingw-w64-public] how to remove libgcc_s_sjlj-1.dll dependency

2014-05-05 Thread Rafaël Carré
On 05/05/14 13:51, YIRAN LI wrote: > 2014-05-05 20:42 GMT+10:00 Rafaël Carré : > >> On 05/05/14 09:19, YIRAN LI wrote: >>> Hi, >>> >>> I'm building an opensource project on mingw32 and found the generated dll >>> depends on libgcc_s_sjlj-1.dll. The function referenced is __divdi3. >>> >>> I tried

Re: [Mingw-w64-public] how to remove libgcc_s_sjlj-1.dll dependency

2014-05-05 Thread YIRAN LI
2014-05-05 20:42 GMT+10:00 Rafaël Carré : > On 05/05/14 09:19, YIRAN LI wrote: > > Hi, > > > > I'm building an opensource project on mingw32 and found the generated dll > > depends on libgcc_s_sjlj-1.dll. The function referenced is __divdi3. > > > > I tried to add ldflags = -static- libgcc, but s

Re: [Mingw-w64-public] how to remove libgcc_s_sjlj-1.dll dependency

2014-05-05 Thread Rafaël Carré
On 05/05/14 09:19, YIRAN LI wrote: > Hi, > > I'm building an opensource project on mingw32 and found the generated dll > depends on libgcc_s_sjlj-1.dll. The function referenced is __divdi3. > > I tried to add ldflags = -static- libgcc, but seems it doesn't work. > > Could any one let me know ho

Re: [Mingw-w64-public] how to remove libgcc_s_sjlj-1.dll dependency

2014-05-05 Thread lh_mouse
It is possible to build a DLL with -static. You may need --enable-shared or something if you are using configure script (I am not familiar with it though). When you specify -static or -static-libgcc -static-libstdc++, g++ links against libgcc_eh.a rather than libgcc_s.a. These two files are in di

Re: [Mingw-w64-public] how to remove libgcc_s_sjlj-1.dll dependency

2014-05-05 Thread YIRAN LI
2014-05-05 18:28 GMT+10:00 Alexpux : > > 05 мая 2014 г., в 12:22, YIRAN LI написал(а): > > > > > 2014-05-05 17:32 GMT+10:00 lh_mouse : > >> 0) Try -static first. I have been using this option since long ago and it >> never fails; >> 1) Try -static-libgcc -static-libstdc++. These two should be use

Re: [Mingw-w64-public] how to remove libgcc_s_sjlj-1.dll dependency

2014-05-05 Thread Alexpux
05 мая 2014 г., в 12:22, YIRAN LI написал(а): > > > > 2014-05-05 17:32 GMT+10:00 lh_mouse : > 0) Try -static first. I have been using this option since long ago and it > never fails; > 1) Try -static-libgcc -static-libstdc++. These two should be used together. > Using only one of them does

Re: [Mingw-w64-public] how to remove libgcc_s_sjlj-1.dll dependency

2014-05-05 Thread YIRAN LI
2014-05-05 17:32 GMT+10:00 lh_mouse : > 0) Try -static first. I have been using this option since long ago and it > never fails; > 1) Try -static-libgcc -static-libstdc++. These two should be used > together. Using only one of them does not work, at least on my machine. > 2) There is no space in '

Re: [Mingw-w64-public] how to remove libgcc_s_sjlj-1.dll dependency

2014-05-05 Thread lh_mouse
0) Try -static first. I have been using this option since long ago and it never fails; 1) Try -static-libgcc -static-libstdc++. These two should be used together. Using only one of them does not work, at least on my machine. 2) There is no space in '-static-libgcc'. --

Re: [Mingw-w64-public] mingw-w64 may move to git in the future

2014-05-05 Thread Adrien Nader
On Mon, May 05, 2014, JonY wrote: > > This is a simple change in vim's configuration file (in the case SF > > doesn't changing that in some Web UI). I don't think I can check on > > jon_y's repo (seems I don't have the rights to access it through ssh). > > > > Right now, I made it readonly except

Re: [Mingw-w64-public] how to remove libgcc_s_sjlj-1.dll dependency

2014-05-05 Thread Adrien Nader
Hi, On Mon, May 05, 2014, YIRAN LI wrote: > Hi, > > I'm building an opensource project on mingw32 and found the generated dll > depends on libgcc_s_sjlj-1.dll. The function referenced is __divdi3. > > I tried to add ldflags = -static- libgcc, but seems it doesn't work. > > Could any one let me

[Mingw-w64-public] how to remove libgcc_s_sjlj-1.dll dependency

2014-05-05 Thread YIRAN LI
Hi, I'm building an opensource project on mingw32 and found the generated dll depends on libgcc_s_sjlj-1.dll. The function referenced is __divdi3. I tried to add ldflags = -static- libgcc, but seems it doesn't work. Could any one let me know how can I get rid of this dependency? Thanks ---