Sign in Join

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

Mailing lists / fpc-pascal / 2001-08

FreePascal + GCC : Vars?

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

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

Unknown author

Hello :-)

Thank you for helping me to put GCC and FPC link together. I tried both sugestions and finally it works.

Well... there is still a thing I can't do:
I'm trying to make my pascal vars visible from a gcc program. The manual says I need to use cvar after the var name and compile with -Sv option.

But when I try to:

Var
  teste : integer; cvar;

fpc ends with up with an error message like:
Error: expecting : found ;
and when I try the -Sv it says me its an obsolete option... Please, whats wrong with my code?

Thanks,
Mauricio Stefani

Reply by email