Re: [fpc-pascal] Re: Handling with sources and exebutables with different names

2012-05-18 Thread Tomas Hajny
On Thu, May 17, 2012 21:09, luciano de souza wrote: > Actually, there are no errors. > > Using cmd.exe on Windows 7 and FPC 2.6.0, I did: > > fpc test.pas -oindex.cgi > > I got test.exe and no errors are raised. Please add option -s (i.e. 'fpc -s test.pas -oindex.cgi') and post content of the gene

Re: [fpc-pascal] Re: Handling with sources and exebutables with different names

2012-05-17 Thread Sven Barth
On 17.05.2012 21:09, luciano de souza wrote: Actually, there are no errors. Using cmd.exe on Windows 7 and FPC 2.6.0, I did: fpc test.pas -oindex.cgi I got test.exe and no errors are raised. But did the compiler write something else? A warning maybe (maybe you need to pass "-vw" to see it)

[fpc-pascal] Re: Handling with sources and exebutables with different names

2012-05-17 Thread luciano de souza
Actually, there are no errors. Using cmd.exe on Windows 7 and FPC 2.6.0, I did: fpc test.pas -oindex.cgi I got test.exe and no errors are raised. We can do -d in the commandline or {$ifdef ..} in the source code. Several other options are available from the two modes. Is there a directive, plac