Find in this group all groups
Unknown more information…

c : 27 December 2007 • 8:57PM -0500

W2k: don't know how to construct "hello"
by div.bruno


Hi, Version 2.2
perl: w2k Version
This is perl, v5.8.8 built for MSWin32-x86-multi-thread (with 50
registered patches, see perl -V for more detail)
perl: linux Version
This is perl, v5.8.8 built for i486-linux-gnu-thread-multi

using cons under linux -> Ok
using cons under w2k -> don't know how to construct "hello"

after tenth of hours reading the doc and single-stepping through
(the first time seeing perl in my life) I have found the following facts:

dir::lookup(          my $e = $dir->{member}->{$entry};
(line number is with modified, see below. It is on line 2389 in

$entry is 'hello' on both linux and w2k.
Under w2k the entry is not found. If you look al the liked lists, you will
see, that there is no 'hello' but a 'hello.exe'

If you insert
$entry .= '.exe'
right before line 2390 it will work correctly in w2k.

In the attachment you will find the two traces 'TraceWin' and
'TraceWinOk'. The following was inserted at line 80 of
'TraceWin': #undef $_exe;
'TraceWinOk': undef $_exe;
In the traces my real target is named 'ampel' and for debugging my
compiler is named 'aaa'.

Unfortunately I havent understood where the mistake is. Is it:
a) The entry in the linked list should not have the '.exe' extension, or
b) The extension should have been added before line 2390.

For me it was simpler to solve it like b). I need it to compile to a PIC
target using
sdcc (Small Device C Compiler) and gputils.

There is also the environment missing in the Construct file to have it
under w2k.

You will also find my Construct and modified in the
for information.

Maybe this will help somebody. For me now cons is fine.


Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

opensubscriber is not affiliated with the authors of this message nor responsible for its content.