www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - new optlink

reply Walter Bright <newshound1 digitalmars.com> writes:
I've been using it for a month now, and it seems to work. I'm especially 
interested in the experiences of those on a multicore cpu.

http://ftp.digitalmars.com/Digital_Mars_C++/Patch/beta.zip
Apr 05 2007
next sibling parent reply Lester L. Martin The 2nd <Lester ewam-associates.com> writes:
Dear Walter,
I have a dual core AMD Athlon and I will test all the test programs you supply
with D on this linker.  Then after I get through writing my program I will test
it on that linker.
I will try and post here every once and a while to let you know how my
experience with the linker goes.

 http://ftp.digitalmars.com/Digital_Mars_C++/Patch/beta.zip
Apr 06 2007
parent reply Walter Bright <newshound1 digitalmars.com> writes:
Lester L. Martin The 2nd wrote:
 I have a dual core AMD Athlon and I will test all the test programs you supply
with D on this linker.  Then after I get through writing my program I will test
it on that linker.
 I will try and post here every once and a while to let you know how my
experience with the linker goes.
Thanks.
Apr 06 2007
parent reply Lester L. Martin The 2nd <Lester ewam-associates.com> writes:
All samples have compiled correctly and ran correctly.
I am going to create a sample program to test the linker.
Walter Bright Wrote:

 Lester L. Martin The 2nd wrote:
 I have a dual core AMD Athlon and I will test all the test programs you supply
with D on this linker.  Then after I get through writing my program I will test
it on that linker.
 I will try and post here every once and a while to let you know how my
experience with the linker goes.
Thanks.
Apr 06 2007
parent reply Lester L. Martin The 2nd <Lester ewam-associates.com> writes:
Wait better yet I'll test the dfl samples.
Apr 06 2007
parent reply Lester L. Martin The 2nd <Lester ewam-associates.com> writes:
hmm...
Why aren't the libs that came with the old linker recompiled for the new linker
or just simply copied over(as I had to do)? Are you working on this? Before
release you need to do this because a lot of developers will be wondering how
come a library such as dfl that needs gdi32.lib and a couple of other odd libs
can't compile.
Well anyway I did successfully get all the dfl examples to compile after
copying over all the needed libs.  I look forward to the widespread use of this
new linker.

My system is AMD Athlon dual core with DMD 1.010 and link 8.00.1 with DFL and
soon to be installed tango.

Love the new linker; thanks for all your work on improving the D developer
experience.

Lester
Apr 06 2007
parent reply Bill Baxter <dnewsgroup billbaxter.com> writes:
Lester L. Martin The 2nd wrote:
 hmm...
 Why aren't the libs that came with the old linker recompiled for the new
linker or just simply copied over(as I had to do)? Are you working on this?
Before release you need to do this because a lot of developers will be
wondering how come a library such as dfl that needs gdi32.lib and a couple of
other odd libs can't compile.
 Well anyway I did successfully get all the dfl examples to compile after
copying over all the needed libs.  I look forward to the widespread use of this
new linker.
 
 My system is AMD Athlon dual core with DMD 1.010 and link 8.00.1 with DFL and
soon to be installed tango.
 
 Love the new linker; thanks for all your work on improving the D developer
experience.
 
 Lester
Walter usually releases zip packages so they can be "installed" by just unzipping them over your previous install. I assume that's what he was expecting you to do in this case too. If the upgrade doesn't work for some reason, you can go back to the previous version by unzipping the previous version over top of the new version. --bb
Apr 06 2007
parent reply Lester L. Martin The 2nd <Lester ewam-associates.com> writes:
my unzip program is wierd then.  It will first replace the folder(removing
files inside) and then it will put the new files inside. I have problems do the
install you do and so every time I upgrade to a new D I end up having to
reinstall everything after uninstalling every thing.  If that is the way Walter
intended it then I need to find a better zip program. 
Apr 06 2007
next sibling parent reply Lester L. Martin The 2nd <Lester ewam-associates.com> writes:
tango does not work good with dfl.  There may be a way to get it to work but I
have found none so I will uninstall tango because I use DFL more for GUI
programs.  If Tango had a good OO GUI I might consider replacing dfl. HINT
HINT!!!!!!!!!!
Apr 06 2007
next sibling parent Aarti_pl <aarti interia.pl> writes:
Lester L. Martin The 2nd napisał(a):
 tango does not work good with dfl.  There may be a way to get it to work but I
have found none so I will uninstall tango because I use DFL more for GUI
programs.  If Tango had a good OO GUI I might consider replacing dfl. HINT
HINT!!!!!!!!!!
We are waiting for premiere of SWT port to D. But I anticipate it will be rather soon seeing a fast progress of this project. This port is based on Tango backend, so do not remove Tango from your disc :-) See: http://dsource.org/projects/tioport/ Regards Marcin Kuszczak
Apr 06 2007
prev sibling next sibling parent Lars Ivar Igesund <larsivar igesund.net> writes:
Lester L. Martin The 2nd wrote:

 tango does not work good with dfl.  There may be a way to get it to work
 but I have found none so I will uninstall tango because I use DFL more for
 GUI programs.  If Tango had a good OO GUI I might consider replacing dfl.
 HINT HINT!!!!!!!!!!
Well, having the existing GUI's compatible with Tango would be the first step, and since DFL have at least some such support, it should be possible to work out your issues. I suppose you have used the this page as your starting place? http://www.dprogramming.com/dfltango.php Feel free to use the Tango forum if the problem seems Tango related, otherwise the DFL forum may be the best. -- Lars Ivar Igesund blog at http://larsivi.net DSource, #d.tango & #D: larsivi Dancing the Tango
Apr 06 2007
prev sibling parent reply "Chris Miller" <chris dprogramming.com> writes:
On Fri, 06 Apr 2007 07:04:32 -0400, Lester L. Martin The 2nd  
<Lester ewam-associates.com> wrote:

 tango does not work good with dfl.  There may be a way to get it to work  
 but I have found none so I will uninstall tango because I use DFL more  
 for GUI programs.  If Tango had a good OO GUI I might consider replacing  
 dfl. HINT HINT!!!!!!!!!!
Why doesn't Tango work good with DFL? What problems are you having? Are you following this page? http://www.dprogramming.com/dfltango.php
Apr 06 2007
parent reply Lester L. Martin The 2nd <Lester ewam-associates.com> writes:
Hey Chris Miller,
I followed your instructions on page and tried rebuild(this did not work). Then
I tried using regular dmd.  I used the tango ready examples and compiled but it
gave me all types of lib issues on both rebuild and dmd so I uninstalled tango
as I use the GUI lib much more than Tango.  Really I had to reinstall all of
dmd and dfl to get back to the way I had it. It just wouldn't work.
I am still using DFL but I won't install tango yet but I do have the installer
on the disk so if you wish to help me with custom setup instructions just email
me at Lester ewam-associates.com
Thanks for everything Chris expecially this great OO GUI library for use with
D.  I look forward to better Tango support.
Lester
Apr 06 2007
parent Lester L. Martin The 2nd <Lester ewam-associates.com> writes:
hmm....
when I tell it to switch from phobos to tango it gives me an error about
shell32.dll has somehow put itself in system dll space and removed user32.dll
from its usual place and the window title is error dll relocation.
Can you help me remove this message if it is what is causing Tango to mess up
Apr 06 2007
prev sibling parent reply Walter Bright <newshound1 digitalmars.com> writes:
Lester L. Martin The 2nd wrote:
 my unzip program is wierd then.  It will first replace the folder(removing
files inside) and then it will put the new files inside. I have problems do the
install you do and so every time I upgrade to a new D I end up having to
reinstall everything after uninstalling every thing.  If that is the way Walter
intended it then I need to find a better zip program. 
You need a better one.
Apr 06 2007
parent reply Chris Nicholson-Sauls <ibisbasenji gmail.com> writes:
Walter Bright wrote:
 Lester L. Martin The 2nd wrote:
 my unzip program is wierd then.  It will first replace the 
 folder(removing files inside) and then it will put the new files 
 inside. I have problems do the install you do and so every time I 
 upgrade to a new D I end up having to reinstall everything after 
 uninstalling every thing.  If that is the way Walter intended it then 
 I need to find a better zip program. 
You need a better one.
I've been personally using WinRAR for years now. I do recommend it. http://www.rarlab.com/download.htm (Incidentally, I'm also fond of the actual .rar format as well, for my personal use.) -- Chris Nicholson-Sauls
Apr 06 2007
next sibling parent Bill Baxter <dnewsgroup billbaxter.com> writes:
Chris Nicholson-Sauls wrote:
 Walter Bright wrote:
 I've been personally using WinRAR for years now.  I do recommend it.
 
 http://www.rarlab.com/download.htm
Hey, me too! --bb
Apr 06 2007
prev sibling parent reply Bradley Smith <digitalmars-com baysmith.com> writes:
Chris Nicholson-Sauls wrote:
 Walter Bright wrote:
 Lester L. Martin The 2nd wrote:
 my unzip program is wierd then.  It will first replace the 
 folder(removing files inside) and then it will put the new files 
 inside. I have problems do the install you do and so every time I 
 upgrade to a new D I end up having to reinstall everything after 
 uninstalling every thing.  If that is the way Walter intended it then 
 I need to find a better zip program. 
You need a better one.
I've been personally using WinRAR for years now. I do recommend it. http://www.rarlab.com/download.htm (Incidentally, I'm also fond of the actual .rar format as well, for my personal use.) -- Chris Nicholson-Sauls
Wikipedia has a good comparison of file archives: http://en.wikipedia.org/wiki/Comparison_of_file_archivers I recommend 7-zip, http://www.7-zip.org/ WinRAR is shareware. 7-zip is freeware. The RAR format is open source for decompression only. The 7z format is fully open source.
Apr 06 2007
parent Bill Baxter <dnewsgroup billbaxter.com> writes:
Bradley Smith wrote:
 Chris Nicholson-Sauls wrote:
 Walter Bright wrote:
 Lester L. Martin The 2nd wrote:
 my unzip program is wierd then.  It will first replace the 
 folder(removing files inside) and then it will put the new files 
 inside. I have problems do the install you do and so every time I 
 upgrade to a new D I end up having to reinstall everything after 
 uninstalling every thing.  If that is the way Walter intended it 
 then I need to find a better zip program. 
You need a better one.
I've been personally using WinRAR for years now. I do recommend it. http://www.rarlab.com/download.htm (Incidentally, I'm also fond of the actual .rar format as well, for my personal use.) -- Chris Nicholson-Sauls
Wikipedia has a good comparison of file archives: http://en.wikipedia.org/wiki/Comparison_of_file_archivers I recommend 7-zip, http://www.7-zip.org/ WinRAR is shareware. 7-zip is freeware. The RAR format is open source for decompression only. The 7z format is fully open source.
I seem to remember the 7-zip app wasn't so great back when I decided to go with WinRar. Looks like it's caught up quite a bit. WinRar can only make RAR and ZIP. 7-zip can create the unixy formats too, which is cool. Go go open source! --bb
Apr 06 2007
prev sibling next sibling parent Mitja Slenc <mslenc gmail.com> writes:
Walter Bright wrote:
 I've been using it for a month now, and it seems to work. I'm especially 
 interested in the experiences of those on a multicore cpu.
 
 http://ftp.digitalmars.com/Digital_Mars_C++/Patch/beta.zip
Out of curiosity - what are the improvements over the old one? Mitja (xs0)
Apr 06 2007
prev sibling next sibling parent dickl <dick221z yahoo.com> writes:
Walter Bright wrote:
 I've been using it for a month now, and it seems to work. I'm especially 
 interested in the experiences of those on a multicore cpu.
 
 http://ftp.digitalmars.com/Digital_Mars_C++/Patch/beta.zip
Since your making changes to the linker would you please have the linker handle the full win32 names rather than having to use the 8.3 short file name in import libraries. e.g. I have to use this in the .DEF when making an import library LIBRARY IPPS~5~1 rather than the real name of LIBRARY IPPS-5.1 (this line causes the linker to put the DLL name in the executable as IPPS-5.1 rather than IPPS-5.1.DLL)
Apr 06 2007
prev sibling next sibling parent reply Charlie <charlie.fats gmail.com> writes:
I used a script to test it 1,000 times, I got it to hang once with this 
  error:

--- errorlevel -1073741510

Pentium D 3.2 , Windows XP SP2, DMD 1.010 , New optlink

link_test.r:

for i 0 1000 1
[
	call/console "dmd foo.d"
	wait 0.5
]

foo.d :

import std.stdio;

void main ()
{}

Charlie

Walter Bright wrote:
 I've been using it for a month now, and it seems to work. I'm especially 
 interested in the experiences of those on a multicore cpu.
 
 http://ftp.digitalmars.com/Digital_Mars_C++/Patch/beta.zip
Apr 06 2007
parent reply Davidl <Davidl 126.com> writes:
 from the error code it's STATUS_CONTROL_C_EXIT
u sure u didn't press Ctrl+C ?

 I used a script to test it 1,000 times, I got it to hang once with this  
   error:

 --- errorlevel -1073741510

 Pentium D 3.2 , Windows XP SP2, DMD 1.010 , New optlink

 link_test.r:

 for i 0 1000 1
 [
 	call/console "dmd foo.d"
 	wait 0.5
 ]

 foo.d :

 import std.stdio;

 void main ()
 {}

 Charlie

 Walter Bright wrote:
 I've been using it for a month now, and it seems to work. I'm  
 especially interested in the experiences of those on a multicore cpu.
  http://ftp.digitalmars.com/Digital_Mars_C++/Patch/beta.zip
Apr 06 2007
parent Charlie <charlie.fats gmail.com> writes:
I pressed control+c when it hung for 10 seconds.

I've only seen this a dozen or so times , but optlink definitely hangs 
on occasion on my dual-core machine.

Davidl wrote:
 from the error code it's STATUS_CONTROL_C_EXIT
 u sure u didn't press Ctrl+C ?
 
 I used a script to test it 1,000 times, I got it to hang once with 
 this   error:

 --- errorlevel -1073741510

 Pentium D 3.2 , Windows XP SP2, DMD 1.010 , New optlink

 link_test.r:

 for i 0 1000 1
 [
     call/console "dmd foo.d"
     wait 0.5
 ]

 foo.d :

 import std.stdio;

 void main ()
 {}

 Charlie

 Walter Bright wrote:
 I've been using it for a month now, and it seems to work. I'm 
 especially interested in the experiences of those on a multicore cpu.
  http://ftp.digitalmars.com/Digital_Mars_C++/Patch/beta.zip
Apr 06 2007
prev sibling next sibling parent reply David L. Davis <SpottedTiger yahoo.com> writes:
Walter Bright Wrote:

 I've been using it for a month now, and it seems to work. I'm especially 
 interested in the experiences of those on a multicore cpu.
 
 http://ftp.digitalmars.com/Digital_Mars_C++/Patch/beta.zip
Walter I've tested the new linker against my larger proects (VariantStruct, Diva, and RandomData) on my Intel Core 2 Duo E6400 CPU (both running at 2.13Mhz each) under WinVista Ultimate, and it compiles and runs the D code without any problems. Thanks for working on this! :) David L. Davis "Dare to reach for the Stars...Dare to Dream, Build, and Achieve!" ------------------------------------------------------------------- MKoD: http://spottedtiger.tripod.com/D_Language/D_Main_XP.html
Apr 06 2007
parent reply Walter Bright <newshound1 digitalmars.com> writes:
David L. Davis wrote:
 Walter Bright Wrote:
 
 I've been using it for a month now, and it seems to work. I'm especially 
 interested in the experiences of those on a multicore cpu.

 http://ftp.digitalmars.com/Digital_Mars_C++/Patch/beta.zip
Walter I've tested the new linker against my larger proects (VariantStruct, Diva, and RandomData) on my Intel Core 2 Duo E6400 CPU (both running at 2.13Mhz each) under WinVista Ultimate, and it compiles and runs the D code without any problems. Thanks for working on this! :)
I'm just glad I can generate a working linker from the source. I've started a background project to translate it to D. Any significant improvements to it would have to be in the D version.
Apr 06 2007
parent reply %u <s yahoo.com> writes:
Tried the new linker:

http://ftp.digitalmars.com/Digital_Mars_C++/Patch/beta.zip

In release mode (-d -O -inline -release), it works, and generate the exe file.
But when running the program (using wxd, 0.09 version), the main UI window
doesn't show up.

In debug mode (-d -g -gc -debug), it errors out:
Unexpected OPTLINK Termination at EIP=00412793

GDC (under MingW32) works in both debug & release mode on the same system.
Apr 06 2007
parent reply Walter Bright <newshound1 digitalmars.com> writes:
%u wrote:
 Tried the new linker:
 
 http://ftp.digitalmars.com/Digital_Mars_C++/Patch/beta.zip
 
 In release mode (-d -O -inline -release), it works, and generate the exe file.
 But when running the program (using wxd, 0.09 version), the main UI window
 doesn't show up.
 
 In debug mode (-d -g -gc -debug), it errors out:
 Unexpected OPTLINK Termination at EIP=00412793
What happens with the old linker?
Apr 07 2007
parent reply %u <s yahoo.com> writes:
== Quote from Walter Bright (newshound1 digitalmars.com)'s article
 %u wrote:
 Tried the new linker:

 http://ftp.digitalmars.com/Digital_Mars_C++/Patch/beta.zip

 In release mode (-d -O -inline -release), it works, and generate the exe file.
 But when running the program (using wxd, 0.09 version), the main UI window
 doesn't show up.

 In debug mode (-d -g -gc -debug), it errors out:
 Unexpected OPTLINK Termination at EIP=00412793
What happens with the old linker?
http://d.puremagic.com/issues/show_bug.cgi?id=424 looks like exceed the max number of fix-ups (I don't know what's that mean).
Apr 07 2007
parent Walter Bright <newshound1 digitalmars.com> writes:
%u wrote:
 looks like exceed the max number of fix-ups (I don't know what's that mean).
A fixup is a relocatable value.
Apr 07 2007
prev sibling next sibling parent reply Don Clugston <dac nospam.com.au> writes:
Walter Bright wrote:
 I've been using it for a month now, and it seems to work. I'm especially 
 interested in the experiences of those on a multicore cpu.
 
 http://ftp.digitalmars.com/Digital_Mars_C++/Patch/beta.zip
Is this the program which would "never ever" be upgraded?
Apr 07 2007
parent reply Walter Bright <newshound1 digitalmars.com> writes:
Don Clugston wrote:
 Walter Bright wrote:
 I've been using it for a month now, and it seems to work. I'm 
 especially interested in the experiences of those on a multicore cpu.

 http://ftp.digitalmars.com/Digital_Mars_C++/Patch/beta.zip
Is this the program which would "never ever" be upgraded?
Yes.
Apr 07 2007
parent reply Hasan Aljudy <hasan.aljudy gmail.com> writes:
Walter Bright wrote:
 Don Clugston wrote:
 Walter Bright wrote:
 I've been using it for a month now, and it seems to work. I'm 
 especially interested in the experiences of those on a multicore cpu.

 http://ftp.digitalmars.com/Digital_Mars_C++/Patch/beta.zip
Is this the program which would "never ever" be upgraded?
Yes.
Do you write it in assembly?
Apr 07 2007
parent Walter Bright <newshound1 digitalmars.com> writes:
Hasan Aljudy wrote:
 
 
 Walter Bright wrote:
 Don Clugston wrote:
 Walter Bright wrote:
 I've been using it for a month now, and it seems to work. I'm 
 especially interested in the experiences of those on a multicore cpu.

 http://ftp.digitalmars.com/Digital_Mars_C++/Patch/beta.zip
Is this the program which would "never ever" be upgraded?
Yes.
Do you write it in assembly?
Steve Russell wrote it originally and Susan Elam worked on it.
Apr 07 2007
prev sibling parent reply Lionello Lunesu <lio lunesu.remove.com> writes:
Walter Bright wrote:
 I've been using it for a month now, and it seems to work. I'm especially 
 interested in the experiences of those on a multicore cpu.
 
 http://ftp.digitalmars.com/Digital_Mars_C++/Patch/beta.zip
The beta link.exe hang again just now. I have an AMD Athlon 64 X2, Vista Ultimate x64. It happens once every 100 links or so. Digital Mars D Compiler v1.015 OPTLINK (R) for Win32 Release 8.00.1 (I've double checked: it's the one from the beta.zip) L.
Jun 11 2007
parent Walter Bright <newshound1 digitalmars.com> writes:
Thanks, that's good information.
Jun 11 2007