Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2016-04

FPC create unit path

3 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Darius Blaszyk

Hi,

When I try to compile a test app, I get an error saying the output folder (defined by FU) cannot be created by FPC. I suppose this behaviour is ok? Is there a way to have FPC to create the requested folder?

fpc -FU.\test mytest.pp
Error: Can't create object file: .\test\mytest.o (error code: 3) Fatal: Can't create object .\test\mytest.o

Regards, Darius

Sven Barth
to Graeme Geldenhuys
Graeme Geldenhuys wrote 6 lines
On 2016-04-27 20:39, Darius Blaszyk wrote: > Is there a way to have FPC to create the requested > folder? I asked the same thing years back, and I was told that no, it's not the job of the compiler, but rather the job of the build script or your IDE.

Indeed. That's by design

Regards,
Sven