Sign in Join

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

Mailing lists / fpc-devel / 2005-11

File locations

4 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

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

Michael Van Canneyt
to Vincent Snijders: I think this has been caused by a fix in the -o option handling. Before it ignored the…
Vincent Snijders wrote 12 lines
Paul Davidson wrote: > Latest (more or less) versions of 2.1.1 and 2.0.1 seems to have changed > file locations for generated files. > > This breaks the FPC XCode integration kit. I think this has been caused by a fix in the -o option handling. Before it ignored the extension. Now it cannot be used in combination with -FE. I think Michael van Canneyt is working on a fix for this: -FE is not ignored if the -o options doesn't include a path.

This is correct. Revision 1698 contains this fix.

The behaviour is now:
- If -o contains a path, it overrides any previous -FE. If -o does not contain a path, it leaves any -FE setting intact.
- If -FE is specified after -o, it will override the output path.

So

-FEdir1 -odir2/binfile outputs in dir2
-FEdir2 -obinfile outputs in dir2
-odir1/binfile -FEdir2 outputs in dir2

Michael.

Reply by email

Vincent Snijders
to Paul Davidson: Latest (more or less) versions of 2.1.1 and 2.0.1 seems to have changed file locations…
Paul Davidson wrote
Latest (more or less) versions of 2.1.1 and 2.0.1 seems to have changed file locations for generated files. This breaks the FPC XCode integration kit.

I think this has been caused by a fix in the -o option handling. Before it ignored the extension.

Now it cannot be used in combination with -FE. I think Michael van Canneyt is working on a fix for this: -FE is not ignored if the -o options doesn't include a path.

Vincent.

Reply by email

Paul Davidson
to Michael Van Canneyt: This is correct. Revision 1698 contains this fix. The behaviour is now: - If -o contains…

Thank you Michael

Michael Van Canneyt wrote 19 lines
This is correct. Revision 1698 contains this fix. The behaviour is now: - If -o contains a path, it overrides any previous -FE. If -o does not contain a path, it leaves any -FE setting intact. - If -FE is specified after -o, it will override the output path. So -FEdir1 -odir2/binfile outputs in dir2 -FEdir2 -obinfile outputs in dir2 -odir1/binfile -FEdir2 outputs in dir2 Michael. _______________________________________________ fpc-devel maillist - http://lists.freepascal.org/mailman/listinfo/fpc-devel

P Davidson
http://CoraxNetworks.com

Reply by email