Sign in Join

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

Mailing lists / lazarus / 2009-10

Lazarus IDE: Project -> Save As does not change name of target filename (executable) anymore

3 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

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

Bart

Lazarus 0.9.29 r22094, Linux/GTK2

When I make a new project I usually give it another name (right from the start) than the standard Project1

So I do
Project -> Save As
For unit: unit1.pp
Then for the .lpi I enter something like "stupid.lpi"

I then build the program
This is the messages window output:
Compiling stupid.lpr
Compiling unit1.pp
Linking project1
5291 lines compiled, 8.10 sec
2 hint(s) issued
Project "stupid" successfully built

When I try to find the stupid exec utable it is not there: bart at simenon:~/LazarusProjecten/bugs/ProjectName> ls -l totaal 20808
drwxr-xr-x 2 bart users 80 2009-10-12 19:29 backup drwxr-xr-x 3 bart users 80 2009-10-12 19:29 lib -rwxr-xr-x 1 bart users 20697334 2009-10-12 19:29 project1 <-- the executable -rw-r--r-- 1 bart users 137040 2009-10-12 19:29 stupid.ico -rw-r--r-- 1 bart users 2423 2009-10-12 19:29 stupid.lpi -rw-r--r-- 1 bart users 379 2009-10-12 19:29 stupid.lpr -rw-r--r-- 1 bart users 417519 2009-10-12 19:29 stupid.lrs -rw-r--r-- 1 bart users 791 2009-10-12 19:29 stupid.manifest -rw-r--r-- 1 bart users 274 2009-10-12 19:29 stupid.rc -rw-r--r-- 1 bart users 123 2009-10-12 19:28 unit1.lfm -rw-r--r-- 1 bart users 260 2009-10-12 19:28 unit1.lrs -rw-r--r-- 1 bart users 324 2009-10-12 19:28 unit1.pp

The executable still has the name: project1

The stupid.lpi reads:

<CompilerOptions>
<Version Value="8"/>
<Target>
<Filename Value="project1"/>
</Target>

Now I have to manually open Project -> Project Options to set the Target Filename to stupid.

Is this a new bug and should I file a bugreport, or is this by design?

Bart

Reply by email

Mattias Gärtner
to Bart

Zitat von Bart :

Show quoted text 9 lines
Lazarus 0.9.29 r22094, Linux/GTK2 When I make a new project I usually give it another name (right from the start) than the standard Project1 So I do Project -> Save As For unit: unit1.pp Then for the .lpi I enter something like "stupid.lpi"

Now it works even with "stupid.lpi".

Mattias

Reply by email