Recent

Author Topic: How do i enable verbose build make output  (Read 50592 times)

Lis

  • New member
  • *
  • Posts: 9
How do i enable verbose build make output
« on: August 14, 2008, 10:28:16 am »
Hey all.
Is there a make switch that enables verbose output when building lazarus?

Or is there a overview of all make arguments somewhere? Would be cool to see a list of arguments somewhere.

Thanks Lis.

Leledumbo

  • Hero Member
  • *****
  • Posts: 8757
  • Programming + Glam Metal + Tae Kwon Do = Me
RE: How do i enable verbose build make output
« Reply #1 on: August 15, 2008, 02:26:57 pm »
Quote
Is there a make switch that enables verbose output when building lazarus?

For the most verbose one, use -va. Try other -vXXX for specific result.
Quote
Or is there a overview of all make arguments somewhere?

Try make help (I forgot whether it exists in Lazarus, but it does exist in Free Pascal source).

Lis

  • New member
  • *
  • Posts: 9
RE: How do i enable verbose build make output
« Reply #2 on: August 16, 2008, 12:56:59 pm »
The -va switch would help in the future maybe but not for the problem i had.
I wanted to see what commands are executed if make prints:
Linking ... or Compiling ...
So instead of seeing what the compiler or linker loads or writes i want to see
what commands are used to execute the compiler or linker.
I also tried the make -v switch but that does not write out all commands that
are executed.

Make help in lazarus gives me:
sh-3.2# make help
make: *** No rule to make target `help'.  Stop.


Greets Louis.

Bart

  • Hero Member
  • *****
  • Posts: 5289
    • Bart en Mariska's Webstek
RE: How do i enable verbose build make output
« Reply #3 on: August 18, 2008, 12:05:28 am »
make --help (or man make)?

Bart

Leledumbo

  • Hero Member
  • *****
  • Posts: 8757
  • Programming + Glam Metal + Tae Kwon Do = Me
RE: How do i enable verbose build make output
« Reply #4 on: August 19, 2008, 02:41:12 pm »
For compiling, it's showed as fpc <compiler options> someunit.pas (or .pp).
For linking, depending on your platform, FPC may use internal linker or GNU ld. I'm not sure, but try adding -Cn. That way, you'll get ppas.bat (on Windows) and link.res (linker response file for GNU ld). Check ppas.bat for the commands.

Bart

  • Hero Member
  • *****
  • Posts: 5289
    • Bart en Mariska's Webstek
Re: RE: How do i enable verbose build make output
« Reply #5 on: August 24, 2008, 04:54:03 pm »
Quote from: "Lis"
Make help in lazarus gives me:
sh-3.2# make help
make: *** No rule to make target `help'.  Stop.


Couldn't resist.
Unix shell humor...
Code: [Select]
% make love
Make: Don't know how to make love. Stop.


Bart :)

 

TinyPortal © 2005-2018