RosBE-Unix questions

All development related issues welcome

Moderator: Moderator Team

Post Reply
oldman
Posts: 1179
Joined: Sun Dec 20, 2009 1:23 pm

RosBE-Unix questions

Post by oldman »

Question 1.

In Windows, log2lines is in the RosBE bin folder, but in Unix, there is no log2lines in the RosBE folder! Why?

When ReactOS is compiled log2lines is created in the /host-tools folder, both in Windows and Unix.

Question 2.

If log2lines is run from the RosBE command line, like so:

log2lines switches ISO <old log> new log

Then the new log file is created, but is empty. RosBE returns "log2lines: command not found". I would expect this to fail, because it cannot find log2lines in the RosBE folder.

If you change to the host-tools folder in RosBE and run log2lines from the RosBE command line, like so:

cd /host-tools
log2lines switches ISO <old log> new log

Then the new log file is created, but is empty. RosBE returns "log2lines: command not found". I would have expected this to have succeeded, because RosBE is running in the folder where log2lines is.

If log2lines is run from the RosBE command line, without changing to the host-tools folder, but is linked to it, like so:

/host-tools/log2lines switches ISO <old log> new log

Then the new log file is created and is populated as is expected.

switches = -m -d

Am I just ill-educated or is there some fault somewhere?
Please keep the Windows classic 9x/2000 look and feel.
The layman's guides - debugging - bug reporting - compiling - ISO remaster.
They may help you with a problem, so do have a look at them.
learn_more
Developer
Posts: 246
Joined: Fri Dec 19, 2014 10:00 pm

Re: RosBE-Unix questions

Post by learn_more »

oldman wrote:Question 1.
but in Unix, there is no log2lines in the RosBE folder! Why?
Question 2.

If you change to the host-tools folder in RosBE and run log2lines from the RosBE command line, like so:

cd /host-tools
log2lines switches ISO <old log> new log

Then the new log file is created, but is empty. RosBE returns "log2lines: command not found". I would have expected this to have succeeded, because RosBE is running in the folder where log2lines is.
1:
Linux RosBE is supposed to be the bare minimum required to build ROS, so that when host-tools change RosBE for linux does not need to be re-distributed.

2:
Yes, this has always worked like that on linux,
executing stuff from your current directory works only if you prefix it with './'

for the nitpickers, s/linux/unix
oldman
Posts: 1179
Joined: Sun Dec 20, 2009 1:23 pm

Re: RosBE-Unix questions

Post by oldman »

@learn_more, thanks for the info.
Please keep the Windows classic 9x/2000 look and feel.
The layman's guides - debugging - bug reporting - compiling - ISO remaster.
They may help you with a problem, so do have a look at them.
Post Reply

Who is online

Users browsing this forum: No registered users and 12 guests