Performance issue with GNU/ld and DLL
Pascal Obry
pascal@obry.net
Sun Feb 5 09:11:00 GMT 2012
More information about the Binutils mailing list
Sun Feb 5 09:11:00 GMT 2012
- Previous message (by thread): Weird error cross-compiling glibc with binutils 2.22 or head
- Next message (by thread): Performance issue with GNU/ld and DLL
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
PING? Has this been sent to the right mailing-list? Le 28/01/2012 14:55, Pascal Obry a écrit : > Hello, > > This is a performance issue report when building DLL on Windows. To > reproduce I have attached a python script (to generate C files). > > The steps to reproduce are: > > Run gen.py on an empty directory. > > $ gcc -c *.c > > $ time gcc -o main.exe *.o > > takes 0.4 seconds. > > $ time gcc -shared -o dll.dll *.o > > takes 12 seconds. > > It seems that the times goes exponentially. I had generated 1000 files > instead of 200 (N=1000 in gen.py) and I had to kill the linker command > after 10 minutes. > > Is that a known problem? > > Is there a workaround? > > Thanks in advance. > > Pascal. > -- --|------------------------------------------------------ --| Pascal Obry Team-Ada Member --| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE --|------------------------------------------------------ --| http://www.obry.net - http://v2p.fr.eu.org --| "The best way to travel is by means of imagination" --| --| gpg --keyserver keys.gnupg.net --recv-key F949BD3B
- Previous message (by thread): Weird error cross-compiling glibc with binutils 2.22 or head
- Next message (by thread): Performance issue with GNU/ld and DLL
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list