Sign in Join

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

Mailing lists / fpc-devel / 2007-11

Adding new targets to the compiler help screen

4 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

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

Felipe Monteiro de Carvalho

Hello,

I was taking a look at how to add new target options to the compiled help screen (the one that appears when you just type "fpc").

Am I correct to assume that one must edit the compiler/msgtxt.inc file, add the new lines and then correct all the commas that come after the edit?

thanks,

Felipe Monteiro de Carvalho

Reply by email

Florian Klaempfl
to Felipe Monteiro de Carvalho
Show quoted text 8 lines
Hello, I was taking a look at how to add new target options to the compiled help screen (the one that appears when you just type "fpc"). Am I correct to assume that one must edit the compiler/msgtxt.inc file, add the new lines and then correct all the commas that come after the edit?

No.

Edit compiler/msg/errore.msg
make msg

Reply by email

Felipe Monteiro de Carvalho
to Florian Klaempfl
Florian Klaempfl wrote
No. Edit compiler/msg/errore.msg make msg

Good =) That would have been a bit clumsy.

May I already add the information about this option to trunk or should we wait before it's fully working?

I am imagining the following to use fpc for symbian:

You call the compiler with: -Tsymbian

A lot of information is missing, and they can all be added as "Linker options", with -k. If nothing is is passed, default values are used.

The "Linker" will be the mksymbian help util, which detects the sdk location, and processes the complex symbian build, and calls the adequate real linker.

thanks,

Felipe Monteiro de Carvalho

Reply by email

Florian Klaempfl
to Felipe Monteiro de Carvalho
Show quoted text 10 lines
On 11/1/07, Florian Klaempfl wrote: > No. > > Edit compiler/msg/errore.msg > make msg Good =) That would have been a bit clumsy. May I already add the information about this option to trunk or should we wait before it's fully working?

Add it similiar to the other arm targets.

Show quoted text 13 lines
I am imagining the following to use fpc for symbian: You call the compiler with: -Tsymbian A lot of information is missing, and they can all be added as "Linker options", with -k. If nothing is is passed, default values are used. The "Linker" will be the mksymbian help util, which detects the sdk location, and processes the complex symbian build, and calls the adequate real linker. thanks,

Reply by email