Sign in Join

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

Mailing lists / lazarus / 2003-05

Changing Target FileName

7 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

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

SteveG

Changing the target filename in program/options doesnt seem to recognise anything after a fullstop (eg TestModule.xxx) - is there any way to override this ? (other than manually renaming after a compile)

Thanks

Mattias Gaertner
to SteveG: If my application Title is 'Test' and I change the target filename to 'Test.nlx' it only…
Show quoted text 17 lines
At 09:52 3-5-2003, you wrote: >On Sat, 03 May 2003 09:20:40 +1000 >SteveG wrote: > > > If my application Title is 'Test' and I change the target filename to > > 'Test.nlx' it only compiles as 'Test' - ignores anything after the > > period (fullstop) - am I using this incorrectly ? > >I didn't know, that fpc is doing this. Under win32 it makes sense to >change the file extension, but under linux? >I hope, someone of the fpc-team is reading this and can explain. > >Underscore works. Can you use Test_nlx instead? I can't reproduce it with the compiler (test with 1.0.6). I created a test.lnx.pas and it compiled into test.lnx and under win32 i created a test.win32.pas and it compiled to test.win32.exe

A test.lpr file should be compiled to a test.nlx file. Something like this:

ppc386 -otest.nlx test.lpr

Mattias

Show quoted text 8 lines
Peter _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Mattias Gaertner
to SteveG: Changing the target filename in program/options doesnt seem to recognise anything after a…
If my application Title is 'Test' and I change the target filename to 'Test.nlx' it only compiles as 'Test' - ignores anything after the period (fullstop) - am I using this incorrectly ?

I didn't know, that fpc is doing this. Under win32 it makes sense to change the file extension, but under linux?
I hope, someone of the fpc-team is reading this and can explain.

Underscore works. Can you use Test_nlx instead?

Mattias

Show quoted text 31 lines
Mattias Gaertner wrote: > On Sat, 03 May 2003 08:08:09 +1000 > SteveG wrote: > > >>Changing the target filename in program/options doesnt seem to recognise > >> anything after a fullstop (eg TestModule.xxx) - is there any way to >>override this ? (other than manually renaming after a compile) > > > What do you mean with fullstop? > > I just tried and it seems to work: Setting the target filename changes > the output file of the compilation. > > > Mattias > > _________________________________________________________________ > To unsubscribe: mail with > "unsubscribe" as the Subject > archives at http://www.lazarus.freepascal.org/mailarchives > _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Peter Vreman
to SteveG: If my application Title is 'Test' and I change the target filename to 'Test.nlx' it only…
you wrote 12 lines
On Sat, 03 May 2003 09:20:40 +1000 SteveG wrote: > If my application Title is 'Test' and I change the target filename to > 'Test.nlx' it only compiles as 'Test' - ignores anything after the > period (fullstop) - am I using this incorrectly ? I didn't know, that fpc is doing this. Under win32 it makes sense to change the file extension, but under linux? I hope, someone of the fpc-team is reading this and can explain. Underscore works. Can you use Test_nlx instead?

I can't reproduce it with the compiler (test with 1.0.6). I created a test.lnx.pas and it compiled into test.lnx and under win32 i created a test.win32.pas and it compiled to test.win32.exe

Peter

SteveG
to SteveG: Changing the target filename in program/options doesnt seem to recognise anything after a…

If my application Title is 'Test' and I change the target filename to 'Test.nlx' it only compiles as 'Test' - ignores anything after the period (fullstop) - am I using this incorrectly ?

Mattias Gaertner wrote 22 lines
On Sat, 03 May 2003 08:08:09 +1000 SteveG wrote: >Changing the target filename in program/options doesnt seem to recognise > anything after a fullstop (eg TestModule.xxx) - is there any way to >override this ? (other than manually renaming after a compile) What do you mean with fullstop? I just tried and it seems to work: Setting the target filename changes the output file of the compilation. Mattias _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
SteveG
to SteveG: Changing the target filename in program/options doesnt seem to recognise anything after a…

Underscore solves my prob - I use this when loading modules for my program to differentiate development/completed. Once a module is complete, all I have to change is the target filename Thanks

Mattias Gaertner wrote 59 lines
On Sat, 03 May 2003 09:20:40 +1000 SteveG wrote: >If my application Title is 'Test' and I change the target filename to >'Test.nlx' it only compiles as 'Test' - ignores anything after the >period (fullstop) - am I using this incorrectly ? I didn't know, that fpc is doing this. Under win32 it makes sense to change the file extension, but under linux? I hope, someone of the fpc-team is reading this and can explain. Underscore works. Can you use Test_nlx instead? Mattias >Mattias Gaertner wrote: > >>On Sat, 03 May 2003 08:08:09 +1000 >>SteveG wrote: >> >> >> >>>Changing the target filename in program/options doesnt seem to recognise >> >>> anything after a fullstop (eg TestModule.xxx) - is there any way to >>>override this ? (other than manually renaming after a compile) >> >> >>What do you mean with fullstop? >> >>I just tried and it seems to work: Setting the target filename changes >>the output file of the compilation. >> >> >>Mattias >> >>_________________________________________________________________ >> To unsubscribe: mail with >> "unsubscribe" as the Subject >> archives at http://www.lazarus.freepascal.org/mailarchives >> > > >_________________________________________________________________ > To unsubscribe: mail with > "unsubscribe" as the Subject > archives at http://www.lazarus.freepascal.org/mailarchives _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives