Recent

Author Topic: [Solved] Command line compilation  (Read 2753 times)

afortuny

  • New Member
  • *
  • Posts: 21
[Solved] Command line compilation
« on: July 25, 2011, 12:46:46 pm »
Hi guys.

Could anyone of you give the command line switch(es) to use to compile a single unit with FPC
eg: fpc -Sh -??  myunit.pp
whithout checking for USES dependencies ?
I did succeed last week but I can't remeber any more which were those $%µ£!?#@  >:D switches !
Still getting the annoying "Can't find unit LCLProc used by myunit"
Thanks,

Antonio.
« Last Edit: July 26, 2011, 08:34:00 am by afortuny »

afortuny

  • New Member
  • *
  • Posts: 21
Re: Command line compilation
« Reply #1 on: July 25, 2011, 01:10:25 pm »
Sorry guys.  O:-)

The error was an unwanted unit mentioned in the implementation clause.
Command line parameters -O2 -Sh -s work.

Antonio.

 

TinyPortal © 2005-2018