Skip to content

Command line compiler reports not finding lib. #23

@Spoiledpay

Description

@Spoiledpay

Test in the Windows console, using the command line, and adding compiler.exe to the path. It informs you with a warning that it cannot find a file and therefore does not compile it.

1 - Compiler.exe Prog.ob07 win64con -out Prog.exe
A - Akron Oberon Compiler v1.66 (64-bit) 10-feb-2023
Copyright (c) 2018-2023, Anton Krotov

file C:\temp\oberon07\samples\Windows\hello\lib\Windows\RTL.ob07 not found

but,

1 - C:\temp\oberon07>Compiler.exe c:\temp\oberon07\samples\Windows\hello\Prog1.ob07 win64con -out C:\temp\oberon07\samples\Windows\hello\Prog1.exe

Akron Oberon Compiler v1.66 (64-bit) 10-feb-2023
Copyright (c) 2018-2023, Anton Krotov

compiling (1) API (SYSTEM)
compiling (2) RTL (SYSTEM)
compiling (3) Out (SYSTEM)
compiling (4) Prog1

780 lines, 0.00 sec, 7168 bytes

If you pass the complete path line, it compiles. But in the case if only the place where the code to be compiled is, it cannot find the lib and does not compile. Is there a way to adjust this?

thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions