Sign in Join

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

Mailing lists / lazarus / 2010-03

make clean bigide

10 messages · 5 people · –

Reply by email Subscribe to this list Your subscription

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

Kjow

Hi all,

I noticed that if I build Lazarus svn with "make clean bigide" or "make clean all", it makes Lazarus without any extra packages (like glscene).

There is a way/an option to build a lazarus svn update mantaining all packages already installed? (e.g. like >> make clean bigide OPT="-dOldAutoSize -allPackages")

As wrote in others email these days, I need to build Lazarus svn updates with:

make clean bigide OPT="-dOldAutoSize"

cause the bug newautosize.

Thanks,
Kjow

Reply by email

Flávio Etrusco
to Kjow
Kjow wrote
Hi all, I noticed that if I build Lazarus svn with "make clean bigide" or "make clean all",

"make clean" doesn't clean "bigide" files. You need to use "make bigideclean". "make all" is the same as "make", so it doesn't build additional components.

Show quoted text 7 lines
it makes Lazarus without any extra packages (like glscene). There is a way/an option to build a lazarus svn update mantaining all packages already installed? (e.g. like >> make clean bigide OPT="-dOldAutoSize -allPackages")

If you search the list you'll find about this command: ./lazbuild --build-all --build-ide=

But maybe bigide should (be changed to) build with _all_ packages? Just wondering...

Show quoted text 9 lines
As wrote in others email these days, I need to build Lazarus svn updates with: make clean bigide OPT="-dOldAutoSize" cause the bug newautosize. Thanks, Kjow

Best regards,
Fl?vio

Reply by email

Mattias Gaertner
to Flávio Etrusco
Show quoted text 23 lines
On Tue, Mar 16, 2010 at 7:08 AM, Kjow wrote: > Hi all, > > I noticed that if I build Lazarus svn with "make clean bigide" or > "make clean all", "make clean" doesn't clean "bigide" files. You need to use "make bigideclean". "make all" is the same as "make", so it doesn't build additional components. >it makes Lazarus without any extra packages (like > glscene). > > There is a way/an option to build a lazarus svn update mantaining all > packages already installed? (e.g. like >> make clean bigide > OPT="-dOldAutoSize -allPackages") > If you search the list you'll find about this command: ./lazbuild --build-all --build-ide= But maybe bigide should (be changed to) build with _all_ packages? Just wondering...

The 'make' tool is not capable of such complex task.

Mattias

Reply by email

Kjow
to Flávio Etrusco: "make clean" doesn't clean "bigide" files. You need to use "make bigideclean". "make all"…

2010/3/16 Fl?vio Etrusco :

"make clean" doesn't clean "bigide" files. You need to use "make bigideclean". "make all" is the same as "make", so it doesn't build additional components.

ok, so it will be:

make bigideclean bigide OPT="-dOldAutoSize" FPCOPT="-Xg"

Show quoted text 5 lines
If you search the list you'll find about this command: ./lazbuild --build-all --build-ide= But maybe bigide should (be changed to) build with _all_ packages? Just wondering...

Umm... but if I run:

./lazbuild --build-all --build-ide=

after:

make bigideclean bigide OPT="-dOldAutoSize" FPCOPT="-Xg"

I will lose the -dOldAutoSize option... right?

Kjow

Reply by email

waldo kitty
to Kjow
Kjow wrote 7 lines
./lazbuild --build-all --build-ide= after: make bigideclean bigide OPT="-dOldAutoSize" FPCOPT="-Xg" I will lose the -dOldAutoSize option... right?

i would suspect so...

since lazbuild works for you, your actual problem/question is

"how to pass -dOldAutoSize to/thru lazbuild?"

/that/ is the question that needs to be answered for you to use lazbuild and get everything the way you want/need it...

Reply by email

Kjow
to waldo kitty

2010/3/16 waldo kitty :

Show quoted text 8 lines
i would suspect so... since lazbuild works for you, your actual problem/question is ? "how to pass -dOldAutoSize to/thru lazbuild?" /that/ is the question that needs to be answered for you to use lazbuild and get everything the way you want/need it...

Yes, it is!
Everytime I need to rebuild from IDE...

Kjow

Reply by email

waldo kitty
to Kjow
Kjow wrote 12 lines
2010/3/16 waldo kitty: > i would suspect so... > > since lazbuild works for you, your actual problem/question is > > "how to pass -dOldAutoSize to/thru lazbuild?" > > /that/ is the question that needs to be answered for you to use lazbuild and > get everything the way you want/need it... Yes, it is! Everytime I need to rebuild from IDE...

actually, i think it has been given... after i wrote the above, there were several more in the thread... i had forgotten that you were doing a make before the lazbuild... vincent seems to have given the answer with the following??

cd C:\Develop\Lazarus
svn up
make clean all OPT="-dOldAutoSize"
lazbuild --build-ide=
strip --strip-all lazarus.exe
strip --strip-all lazbuild.exe
strip --strip-all startlazarus.exe
pause
exit

the only other question may be where to add the "-Xg" so you don't have to run "strip" or have you already danced that dance? ;)

i like what you have there... can you tell what svn package that is? i'm on w2k on this machine so hopefully there's a version for it?

Reply by email

Kjow
to waldo kitty

2010/3/16 waldo kitty :

Show quoted text 14 lines
actually, i think it has been given... after i wrote the above, there were several more in the thread... i had forgotten that you were doing a make before the lazbuild... vincent seems to have given the answer with the following?? cd C:\Develop\Lazarus svn up make clean all OPT="-dOldAutoSize" lazbuild --build-ide= strip --strip-all lazarus.exe strip --strip-all lazbuild.exe strip --strip-all startlazarus.exe pause exit

This is my old script, now Paul and Vincent helped me and they wrote this script:

cd C:\Develop\Lazarus svn up

make bigideclean bigide OPT="-dOldAutoSize -Xg"
del lazarus.dbg
del startlazarus.dbg
del lazbuild.dbg

pause exit

It works, but it doesn't add extra packages... I need to rebuild from IDE to have extra packages...

the only other question may be where to add the "-Xg" so you don't have to run "strip" or have you already danced that dance? ;)

The new script includes it and it works, but if I had to rebuild from IDE to add extra packages it become useless...

i like what you have there... can you tell what svn package that is? i'm on w2k on this machine so hopefully there's a version for it?

Umm... I'm sorry but I don't understand, what do you mean? I'm using latest svn of Lazarus, FPC and GLScene on Windows7 and on Ubuntu 9.10

Regards,
Kjow

Reply by email

Juha Manninen
to Kjow

Hi

Show quoted text 5 lines
> the only other question may be where to add the "-Xg" so you don't have to > run "strip" or have you already danced that dance? ;) The new script includes it and it works, but if I had to rebuild from IDE to add extra packages it become useless...

No, the Configure "Build Lazarus" dialog has an Options: line where you can type it ( -Xg )
I learned to use this for stripped, optimized binary: -O2 -g- -Xs

Regards,
Juha

Reply by email

Kjow

2010/3/17 waldo kitty :

Show quoted text 14 lines
your script has "C:\blah" in it... that indicates a windows machine... you are doing a "svn up" in your script... i was asking what svn client you are using on your windows machine ;) it is probably a stupid question, though :? in all my years of coding, since at least 1975 or so, i've never used any type of version control programs... i've been curious about them but have just never figured out how they would fit into my workflow... i can guess that at least i'd have two more steps added... a checkout and a checkin but other than that ??? :? thanks for your responses... i enjoy reading and learning and hope to one day move on away from my ancient TP/BP 6/7 stuff and into the real world with all the GUI happenings...

Oh no... is not stupid question. I'm sorry, but I'm not english/american, so sometime I don't understard clearly some nuances.

initially I used TortoiseSVN, but its functions are cendered on GUI, so is it difficult to use by command prompt, then I discovered this:

http://subversion.tigris.org/ds/viewForumSummary.do?dsForumId=445

It has the same functions of linux svn client and it can be used easily in scripts :)

I hope this was usefull :)
Best Regards,
Kjow

Reply by email