in the Lazarus Settings for the current Project, youi can find a Option: "All Options".
Copy this Text and place it in a Bash shell Script.
- dont forget to set a sheba !
First, it's a shebang, not a sheba.
Second, you're assuming that OP's using Linux or some other variant of unix. I believe that in actual fact he's using Windows, but more fool him for not giving people enough info to answer his question.
- dont forget to add a backslash after each optione line \
like:
#!/bin/bash
fpc <the options goes there> \
<other option goes there> \
...
You don't need any of that crap, since lazbuild picks up the options from the .lpi file: see the earlier answer.
MarkMLl