www.digitalmars.com         C & C++   DMDScript  

c++.command-line - Characters before OPTLINK

reply "W這dzimierz Skiba" <abx abx.art.pl> writes:
I have impression that link.exe outputs unnecessary characters in its 
banner:

  link /NOLOGO /SILENT test.res
  
  OPTLINK (R) for Win32  Release 7.50B1
  Copyright (C) Digital Mars 1989 - 2001  All Rights Reserved

Between '.res' and 'OPTLINK' there are three chars 0D 0A 0D.
This is not visible on screen but visible when you output results to file 
and try to use in the context of "Windows-type text files".
   
Note that this copyright is outputed while switches /NOLOGO /SILENT suggest it 
should not. I run hundreds of builds in test suit for wxWindows and this is a
little 
annoying when you analyze files.

Is there any chance to fix both issues (if they are fixable at all).

ABX
Feb 13 2004
parent reply "Walter" <walter digitalmars.com> writes:
"W這dzimierz Skiba" <abx abx.art.pl> wrote in message
news:c0irq5$29qq$1 digitaldaemon.com...
 Is there any chance to fix both issues (if they are fixable at all).

I prefer to leave the linker as is, it's written entirely in assembler!
Feb 13 2004
next sibling parent "W這dzimierz Skiba" <abx abx.art.pl> writes:
"Walter" <walter digitalmars.com> wrote in 
news:c0iu3o$2e9f$1 digitaldaemon.com:
 Is there any chance to fix both issues (if they are fixable at all).

I prefer to leave the linker as is, it's written entirely in assembler!

Understable, thanks anyway. ABX
Feb 13 2004
prev sibling parent reply "W這dzimierz Skiba" <abx abx.art.pl> writes:
"Walter" <walter digitalmars.com> wrote in 
news:c0iu3o$2e9f$1 digitaldaemon.com:
 "W這dzimierz Skiba" <abx abx.art.pl> wrote in message
 news:c0irq5$29qq$1 digitaldaemon.com...
 Is there any chance to fix both issues (if they are fixable at all).

I prefer to leave the linker as is, it's written entirely in assembler!

Hmm, what can I do if this linker crashes or hangs frequently on one of my machines? Tests does not show hardware corruption and I run several other hard tasks on this machine. Is there any known problem with OPTLINK under WinXP on P4 2.6 GHz with MB 800MHz ? Neither crash nor hanging are regular. How can I make it to work, this happen either with free DMC and full DMC install from CD. If this is made with assembler, is it ready for P4, hyper threading, fast mother board and other modern "goodies"? Any idea ? ABX
Feb 17 2004
next sibling parent "Walter" <walter digitalmars.com> writes:
"W這dzimierz Skiba" <abx abx.art.pl> wrote in message
news:c0t170$6qr$1 digitaldaemon.com...
 "Walter" <walter digitalmars.com> wrote in
 news:c0iu3o$2e9f$1 digitaldaemon.com:
 "W這dzimierz Skiba" <abx abx.art.pl> wrote in message
 news:c0irq5$29qq$1 digitaldaemon.com...
 Is there any chance to fix both issues (if they are fixable at all).

I prefer to leave the linker as is, it's written entirely in assembler!

Hmm, what can I do if this linker crashes or hangs frequently on one of my machines? Tests does not show hardware corruption and I run several other hard tasks on this machine. Is there any known problem with OPTLINK under WinXP on P4 2.6 GHz with MB 800MHz ? Neither crash nor hanging are

 How can I make it to work, this happen either with free DMC and full DMC
 install from CD. If this is made with assembler, is it ready for P4, hyper
 threading, fast mother board and other modern "goodies"?

 Any idea ?

I don't know what might make optlink crash. It has proven to be a very reliable program. It's built with 386 code, so should run fine on any 32 bit x86 processor.
Feb 17 2004
prev sibling parent reply Jan Knepper <jan smartsoft.us> writes:
OptLink has problems:



* On multi processor platform. Every once and a while OptLink would just 
freeze on me on my Dual P3 733 MHz... The Machine I now use as the 
internet host system which hosts www.digitalmars.com and 
news.digitalmars.com... ;-)



* If you have HUGE static data. Something like:

struct  DATA
{
    DWORD	array [ 16 ];
};

DATA	hugedata [ 1000000 ];

OptLink might crash and just take the IDDE down with it.



* ???



Sorry if I have not been too forth comming which information.

Thanks!
Jan



W這dzimierz Skiba wrote:
 "Walter" <walter digitalmars.com> wrote in 
 news:c0iu3o$2e9f$1 digitaldaemon.com:
 
"W這dzimierz Skiba" <abx abx.art.pl> wrote in message
news:c0irq5$29qq$1 digitaldaemon.com...

Is there any chance to fix both issues (if they are fixable at all).

I prefer to leave the linker as is, it's written entirely in assembler!

Hmm, what can I do if this linker crashes or hangs frequently on one of my machines? Tests does not show hardware corruption and I run several other hard tasks on this machine. Is there any known problem with OPTLINK under WinXP on P4 2.6 GHz with MB 800MHz ? Neither crash nor hanging are regular. How can I make it to work, this happen either with free DMC and full DMC install from CD. If this is made with assembler, is it ready for P4, hyper threading, fast mother board and other modern "goodies"? Any idea ? ABX

-- ManiaC++ Jan Knepper But as for me and my household, we shall use Mozilla... www.mozilla.org
Feb 17 2004
parent reply Arjan Knepper <arjan ask.me> writes:
I'm experiencing the same kind of problems with optlink on a brand new 
Intel 875PBZ P4 system with  Windows XP and HT

Arjan

Jan Knepper wrote:
 OptLink has problems:
 
 
 
 * On multi processor platform. Every once and a while OptLink would just 
 freeze on me on my Dual P3 733 MHz... The Machine I now use as the 
 internet host system which hosts www.digitalmars.com and 
 news.digitalmars.com... ;-)
 
 
 
 * If you have HUGE static data. Something like:
 
 struct  DATA
 {
    DWORD    array [ 16 ];
 };
 
 DATA    hugedata [ 1000000 ];
 
 OptLink might crash and just take the IDDE down with it.
 
 
 
 * ???
 
 
 
 Sorry if I have not been too forth comming which information.
 
 Thanks!
 Jan
 
 
 
 W這dzimierz Skiba wrote:
 
 "Walter" <walter digitalmars.com> wrote in 
 news:c0iu3o$2e9f$1 digitaldaemon.com:

 "W這dzimierz Skiba" <abx abx.art.pl> wrote in message
 news:c0irq5$29qq$1 digitaldaemon.com...

 Is there any chance to fix both issues (if they are fixable at all).

I prefer to leave the linker as is, it's written entirely in assembler!

Hmm, what can I do if this linker crashes or hangs frequently on one of my machines? Tests does not show hardware corruption and I run several other hard tasks on this machine. Is there any known problem with OPTLINK under WinXP on P4 2.6 GHz with MB 800MHz ? Neither crash nor hanging are regular. How can I make it to work, this happen either with free DMC and full DMC install from CD. If this is made with assembler, is it ready for P4, hyper threading, fast mother board and other modern "goodies"? Any idea ? ABX


Feb 17 2004
parent reply Jan Knepper <jan smartsoft.us> writes:
I think OptLink has a lock problem. It is heavy multi threaded if I am 
correct and does something wrong with locking... :-(



Arjan Knepper wrote:
 I'm experiencing the same kind of problems with optlink on a brand new 
 Intel 875PBZ P4 system with  Windows XP and HT
 
 Arjan
 
 Jan Knepper wrote:
 
 OptLink has problems:



 * On multi processor platform. Every once and a while OptLink would 
 just freeze on me on my Dual P3 733 MHz... The Machine I now use as 
 the internet host system which hosts www.digitalmars.com and 
 news.digitalmars.com... ;-)



 * If you have HUGE static data. Something like:

 struct  DATA
 {
    DWORD    array [ 16 ];
 };

 DATA    hugedata [ 1000000 ];

 OptLink might crash and just take the IDDE down with it.



 * ???



 Sorry if I have not been too forth comming which information.

 Thanks!
 Jan



 W這dzimierz Skiba wrote:

 "Walter" <walter digitalmars.com> wrote in 
 news:c0iu3o$2e9f$1 digitaldaemon.com:

 "W這dzimierz Skiba" <abx abx.art.pl> wrote in message
 news:c0irq5$29qq$1 digitaldaemon.com...

 Is there any chance to fix both issues (if they are fixable at all).

I prefer to leave the linker as is, it's written entirely in assembler!

Hmm, what can I do if this linker crashes or hangs frequently on one of my machines? Tests does not show hardware corruption and I run several other hard tasks on this machine. Is there any known problem with OPTLINK under WinXP on P4 2.6 GHz with MB 800MHz ? Neither crash nor hanging are regular. How can I make it to work, this happen either with free DMC and full DMC install from CD. If this is made with assembler, is it ready for P4, hyper threading, fast mother board and other modern "goodies"? Any idea ? ABX



-- ManiaC++ Jan Knepper But as for me and my household, we shall use Mozilla... www.mozilla.org
Feb 17 2004
parent Phil Thompson <phil electricvisions.com> writes:
I expect a workaround would be the same solution we used at work by 
setting the processor affinity.

There is a utility that will set it. It's not the one we used but it 
should do the job.

http://www.beyondlogic.org/solutions/processutil/processutil.htm
(Scroll near the bottom for the download)

Basically, you can tell the program to select a particular combination 
of processors to run on using a bit mask. I've not tried it on 
hyperthreaded machines only on dual processor machines but I believe 
they appear the same to the OS so it should work.

I just found this site by doing a quick search. Looks quite useful actually.


Hope this helps.

Regards,
Phil


Jan Knepper wrote:
 I think OptLink has a lock problem. It is heavy multi threaded if I am 
 correct and does something wrong with locking... :-(
 
 
 
 Arjan Knepper wrote:
 
 I'm experiencing the same kind of problems with optlink on a brand new 
 Intel 875PBZ P4 system with  Windows XP and HT

 Arjan

 Jan Knepper wrote:

 OptLink has problems:



 * On multi processor platform. Every once and a while OptLink would 
 just freeze on me on my Dual P3 733 MHz... The Machine I now use as 
 the internet host system which hosts www.digitalmars.com and 
 news.digitalmars.com... ;-)



 * If you have HUGE static data. Something like:

 struct  DATA
 {
    DWORD    array [ 16 ];
 };

 DATA    hugedata [ 1000000 ];

 OptLink might crash and just take the IDDE down with it.



 * ???



 Sorry if I have not been too forth comming which information.

 Thanks!
 Jan



 W這dzimierz Skiba wrote:

 "Walter" <walter digitalmars.com> wrote in 
 news:c0iu3o$2e9f$1 digitaldaemon.com:

 "W這dzimierz Skiba" <abx abx.art.pl> wrote in message
 news:c0irq5$29qq$1 digitaldaemon.com...

 Is there any chance to fix both issues (if they are fixable at all).

I prefer to leave the linker as is, it's written entirely in assembler!

Hmm, what can I do if this linker crashes or hangs frequently on one of my machines? Tests does not show hardware corruption and I run several other hard tasks on this machine. Is there any known problem with OPTLINK under WinXP on P4 2.6 GHz with MB 800MHz ? Neither crash nor hanging are regular. How can I make it to work, this happen either with free DMC and full DMC install from CD. If this is made with assembler, is it ready for P4, hyper threading, fast mother board and other modern "goodies"? Any idea ? ABX




Feb 17 2004