<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
I have attached my buildscript that I use all the time to update
& build from trunk.<br>
<br>
Please make sure to edit the 2nd line where I do a cd to the
directory where fpc and lazarus are stored. <br>
<br>
I have multiple directories for fpc based on the projects I work on,
remove the ones you do not care for in line 7. check out o copy of
fpc in each directory you care for.<br>
<br>
1 #!/bin/sh<br>
<b>2 cd $HOME/devel</b><br>
3 sudo rm -rf $HOME/2.7.1 2>/dev/null<br>
4 #FIXEDVERSION="-r 27463"<br>
5<br>
6 if [ -z "$1" ]; then<br>
7 <b>COMPILE="fpc fpc-linux fpc-mipsel fpc-arm lazarus"</b><br>
<br>
Michael<br>
<br>
Am 07.12.14 um 10:54 schrieb FreeMan:<br>
<blockquote cite="mid:548423EE.6090302@delphiturkiye.com"
type="cite">
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
Thank you for sharing Michael, Yes its retina display<br>
I'm still using qt in linux so use this in osx good idea I think.
If I'm not wrong, if I use qt widgetset in osx, and builded
application need qt library, so if I copy this application to
another osx, have to install qt binary library first, like a in
windows.<br>
<br>
Michael, if its possible, can you share fp script too ? little bit
different then lazarus, isn't it?<br>
<br>
Mattias wrote,
<blockquote type="cite">
<pre wrap="">After that it is the same as under Linux.
</pre>
</blockquote>
This mean I can use my linux script in osx, maybe need small
changing. I'll share my scripts but more questions :) I'll try use
ramdrive, make command kill ssd live, and ram drive so much faster
then ssd (think hdd :) 5400rpm) I know ramdrive how work, and can
loose data need backup etc. <br>
just for test what is speed, This test in kubuntu 14.04 i7 2600k,
8gb ram, ssd raid0<br>
make ram drive, 2gb is enough <br>
I attached my test bash script<br>
this is result:<br>
sent 901,034,905 bytes received 507,271 bytes 257,583,478.86
bytes/sec<br>
total size is 899,101,903 speedup is 1.00<br>
<br>
Başlangıç zamanı : 2014-12-07 11:46:31<br>
Bitiş zamanı : 2014-12-07 11:46:34<br>
Süre : 00 Dakika <big><big><u><b>03</b></u></big></big> saniye
-> saniye mean second<br>
<br>
Don't forget fp folder is my active folder, I mean all (*.o,
*.ppu) compiled files included in copy files. This is just for
"can be?" test, not real test.<br>
<br>
<br>
<br>
<div class="moz-cite-prefix">On 06-12-2014 21:37, Michael Ring
wrote:<br>
</div>
<blockquote cite="mid:54835AF4.7010109@michael-ring.org"
type="cite">When your new Mac has a Retina Display then I'd
recommend building the qt version, the fonts look much much
better than in the Carbon Version (at least for me) <br>
qt has one drawback, the keys [ ] { } do not work on my german
keyboard... <br>
<br>
In theory Cocoa should also give you nice fonts but I did not
manage to build a version that works (I just retried with
current svn, on start I get list index (-1) out of bounds error)
<br>
<br>
To build for qt you will need to first install qt4 libraries,
the installer from the qt page only comes with x64_64 libs, this
is the reason why I will build lazarus with CPU_TARGET=x86_64
later. <br>
<br>
After installing the libs you need to compile the qt4 binding: <br>
<br>
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://users.telenet.be/Jan.Van.hijfte/qtforfpc/fpcqt4.html">http://users.telenet.be/Jan.Van.hijfte/qtforfpc/fpcqt4.html</a>
(V2.5) <br>
<br>
instructions to do so are in the README.TXT. Install the built
binaries. <br>
<br>
I am using the following commands to then build lazarus (There
might be better solutions, but this works fine for me) <br>
<br>
make clean all CPU_TARGET=x86_64 LCL_PLATFORM=qt
OPT="-k'-framework' -k'ApplicationServices'" <br>
#make clean all CPU_TARGET=i386 LCL_PLATFORM=customdrawn
OPT="-k'-framework' -k'ApplicationServices'" <br>
<br>
sudo rm -rf /usr/local/share/lazarus <br>
sudo make install CPU_TARGET=x86_64 LCL_PLATFORM=qt <br>
#sudo make install CPU_TARGET=i386 LCL_PLATFORM=cocoa <br>
<br>
sudo chown -R ring:staff /usr/local/share/lazarus <br>
<br>
# now recompile using lazbuild to have the <br>
lazbuild --build-ide= --ws=qt --cpu=x86_64 --compiler=ppcx64 <br>
#lazbuild --build-ide= --ws=cocoa --cpu=i386 <br>
<br>
Michael <br>
</blockquote>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">--
_______________________________________________
Lazarus mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Lazarus@lists.lazarus.freepascal.org">Lazarus@lists.lazarus.freepascal.org</a>
<a class="moz-txt-link-freetext" href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus">http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus</a>
</pre>
</blockquote>
<br>
</body>
</html>