Re: [Mingw-w64-public] [Project News | New Builds]

2014-04-26 Thread Adrien Nader
On Sun, Apr 27, 2014, Dongsheng Song wrote: > On Sat, Apr 26, 2014 at 11:49 PM, Dongsheng Song > wrote: > > On Sat, Apr 26, 2014 at 10:25 PM, Adrien Nader wrote: > >> On Sat, Apr 26, 2014, Dongsheng Song wrote: > >>> On Sat, Apr 26, 2014 at 3:22 PM, Adrien Nader wrote: > >>> > On Sat, Apr 26, 20

Re: [Mingw-w64-public] [Project News | New Builds]

2014-04-26 Thread Dongsheng Song
On Sat, Apr 26, 2014 at 11:49 PM, Dongsheng Song wrote: > On Sat, Apr 26, 2014 at 10:25 PM, Adrien Nader wrote: >> On Sat, Apr 26, 2014, Dongsheng Song wrote: >>> On Sat, Apr 26, 2014 at 3:22 PM, Adrien Nader wrote: >>> > On Sat, Apr 26, 2014, Dongsheng Song wrote: >>> >> On Sat, Apr 26, 2014 at

Re: [Mingw-w64-public] [Project News | New Builds]

2014-04-26 Thread Dongsheng Song
On Sat, Apr 26, 2014 at 10:25 PM, Adrien Nader wrote: > On Sat, Apr 26, 2014, Dongsheng Song wrote: >> On Sat, Apr 26, 2014 at 3:22 PM, Adrien Nader wrote: >> > On Sat, Apr 26, 2014, Dongsheng Song wrote: >> >> On Sat, Apr 26, 2014 at 12:31 AM, Adrien Nader wrote: >> >> > I believe --with-arch=c

Re: [Mingw-w64-public] [Project News | New Builds]

2014-04-26 Thread Adrien Nader
On Sat, Apr 26, 2014, Dongsheng Song wrote: > On Sat, Apr 26, 2014 at 3:22 PM, Adrien Nader wrote: > > On Sat, Apr 26, 2014, Dongsheng Song wrote: > >> On Sat, Apr 26, 2014 at 12:31 AM, Adrien Nader wrote: > >> > I believe --with-arch=core2 is a big issue for generic toolchains. It > >> > will cr

Re: [Mingw-w64-public] Do I need -flto when building a static lib?

2014-04-26 Thread TOCK Chiu
Then you must experience the same thing as I did. 2014-04-26 21:24 GMT+08:00 lh_mouse : > Yes gcc 4.9.0. > Thread model: win32 > gcc version 4.9.0 (i686-win32-sjlj-rev0, Built by MinGW-W64 project) > > 2014-04-26 > -- > Best regards, > lh_mouse > -

Re: [Mingw-w64-public] Do I need -flto when building a static lib?

2014-04-26 Thread lh_mouse
Yes gcc 4.9.0. Thread model: win32 gcc version 4.9.0 (i686-win32-sjlj-rev0, Built by MinGW-W64 project) 2014-04-26 Best regards, lh_mouse 发件人:TOCK Chiu 发送时间:2014-04-26 21:20 主题:Re: [Mingw-w64-public] Do I need -flto when building a static lib? 收件人:"mingw-w64-public" 抄送: Are you using GCC

Re: [Mingw-w64-public] Do I need -flto when building a static lib?

2014-04-26 Thread lh_mouse
2014-04-26 Best regards, lh_mouse 发件人:TOCK Chiu 发送时间:2014-04-26 21:20 主题:Re: [Mingw-w64-public] Do I need -flto when building a static lib? 收件人:"mingw-w64-public" 抄送: Are you using GCC 4.9.0? Since GCC 4.9.0, LTO-enabled object file doesn't contain normal object code but GIMPLE byteco

Re: [Mingw-w64-public] Do I need -flto when building a static lib?

2014-04-26 Thread TOCK Chiu
Are you using GCC 4.9.0? Since GCC 4.9.0, LTO-enabled object file doesn't contain normal object code but GIMPLE bytecode by default. If you want to link to a static library, you have to pass -fuse-linker-plugin to let it extract LTO segments, and AFAIK it's enabled by default when -flto is passed.

[Mingw-w64-public] Do I need -flto when building a static lib?

2014-04-26 Thread lh_mouse
Hello there, do I need -flto when building a static lib? Here is an example: E:\Desktop>gcc foo.c -c -flto E:\Desktop>ar rcs libfoo.a foo.o E:\Desktop>gcc main.c -L. -lfoo -flto C:\Users\LH_Mouse\AppData\Local\Temp\ccc30oDd.ltrans0.ltrans.o:ccc30oDd.ltrans0.o:(.text+0x1e): undefined reference to

Re: [Mingw-w64-public] [Project News | New Builds]

2014-04-26 Thread JonY
On 4/26/2014 16:58, Dongsheng Song wrote: > On Sat, Apr 26, 2014 at 4:47 PM, JonY wrote: >> On 4/26/2014 10:27, Matthew Brett wrote: >>> >>> I've had problems with sourceforge before. It looks like, to allow >>> people to upload, you have add the person as Developer or Admin, and >>> then (this f

Re: [Mingw-w64-public] [Project News | New Builds]

2014-04-26 Thread niXman
niXman 2014-04-26 13:53: > try: > $ ssh dongsheng,mingw-...@frs.sourceforge.net ssh -t dongsheng,mingw-...@shell.sourceforge.net create -- Regards, niXman ___ Dual-target(32 & 64-bit) MinGW-W64 compilers for 32 and 64-bit Windows: http://sourceforge

Re: [Mingw-w64-public] [Project News | New Builds]

2014-04-26 Thread niXman
Dongsheng Song 2014-04-26 12:22: > $ sftp dongsheng,mingw-...@frs.sourceforge.net try: $ ssh dongsheng,mingw-...@frs.sourceforge.net -- Regards, niXman ___ Dual-target(32 & 64-bit) MinGW-W64 compilers for 32 and 64-bit Windows: http://sourceforge.ne

Re: [Mingw-w64-public] [Project News | New Builds]

2014-04-26 Thread Dongsheng Song
On Sat, Apr 26, 2014 at 4:47 PM, JonY wrote: > On 4/26/2014 10:27, Matthew Brett wrote: >> >> I've had problems with sourceforge before. It looks like, to allow >> people to upload, you have add the person as Developer or Admin, and >> then (this for the project 'numpy'): >> >> Go the 'tools' sid

Re: [Mingw-w64-public] [Project News | New Builds]

2014-04-26 Thread Dongsheng Song
On Sat, Apr 26, 2014 at 3:22 PM, Adrien Nader wrote: > On Sat, Apr 26, 2014, Dongsheng Song wrote: >> On Sat, Apr 26, 2014 at 12:31 AM, Adrien Nader wrote: >> > I believe --with-arch=core2 is a big issue for generic toolchains. It >> > will create troubles which will be very annoying to pinpoint.

Re: [Mingw-w64-public] [Project News | New Builds]

2014-04-26 Thread JonY
On 4/26/2014 10:27, Matthew Brett wrote: > > I've had problems with sourceforge before. It looks like, to allow > people to upload, you have add the person as Developer or Admin, and > then (this for the project 'numpy'): > > Go the 'tools' sidebar: > https://sourceforge.net/p/numpy/admin/tool

Re: [Mingw-w64-public] [Project News | New Builds]

2014-04-26 Thread Dongsheng Song
On Sat, Apr 26, 2014 at 3:24 PM, JonY wrote: > On 4/26/2014 13:44, Dongsheng Song wrote: >> On Sat, Apr 26, 2014 at 10:24 AM, niXman wrote: >>> Dongsheng Song 2014-04-26 06:17: Not help, still no 'Add File' or 'Add Folder'. >>> >>> I also can't see this buttons(bug?), but I use ShellService:

Re: [Mingw-w64-public] [Project News | New Builds]

2014-04-26 Thread JonY
On 4/26/2014 13:44, Dongsheng Song wrote: > On Sat, Apr 26, 2014 at 10:24 AM, niXman wrote: >> Dongsheng Song 2014-04-26 06:17: >>> Not help, still no 'Add File' or 'Add Folder'. >> >> I also can't see this buttons(bug?), but I use ShellService: >> https://sourceforge.net/p/forge/documentation/She

Re: [Mingw-w64-public] [Project News | New Builds]

2014-04-26 Thread Adrien Nader
On Sat, Apr 26, 2014, Dongsheng Song wrote: > On Sat, Apr 26, 2014 at 12:31 AM, Adrien Nader wrote: > > I believe --with-arch=core2 is a big issue for generic toolchains. It > > will create troubles which will be very annoying to pinpoint. > > > > Any x86_64/amd64/EM64T (I love how Intel always ma