On Mon, 3 Apr 2006 17:27:20 -0300
Roberto Antonio Berrospe Machin <[EMAIL PROTECTED]> wrote:

> Hi Vincent..
> Yeah looks good, but 100% under lazarus ide, i did the hard way :)
> Also, there're something about createmacapplication...
> 
> Its not needed to use ln... Mac programer usually will distribute  
> their applications everything in the same .app application, i mean,  
> the applications are inside a folder with the extension .app and with  
> an structure that createmacapplication creates; but, then the  
> tutorial says you should use ls "ive tested"; it creates a symbolic  
> link inside the package.. but the app is still not there, so if you  
> send to some one or want to distribute the app, you will have a link  
> inside instead the binary file as usual the mac apps does have  
> inside.. so the right way is just taking the binary and copy / move  
> it to "apppname.app/Contents/MacOS/appnamebinary" and thats it you  
> can distribute your app. I think createmacapplication can be modified  
> to copy the binary to the right place.
> 
> Just that, the rest is ok for my opinion.. but also, can be good to  
> have the handly way, ussing just the terminal :)

The link is used for these reasons:
- The compilation is the same under all platforms
- the linker does not get a long path. As I tested, I had problems with too
many parameters, so they were cut off.


Mattias


> 
> 
> Thanks.
> 
> Roberto.
> 
> 
> El 03/04/2006, a las 04:58 PM, Vincent Snijders escribió:
> 
> > Roberto Antonio Berrospe Machin wrote:
> >> Ok got it.. sorry to bother with my messages.. wel i think we all  
> >> can  get good idea on how to hardcore with lcl :)
> >> i got Carbon compiling by specifying -k-framework -kcarbon
> >> fpc -Fu/usr/local/share/lazarus/lcl/units/powerpc-darwin -Fu/usr/  
> >> local/share/lazarus/lcl/units/powerpc-darwin/carbon -Fl/sw/lib - 
> >> Fl/ usr/X11R6/lib -k-framework -kcarbon  tests.pas
> >> And i get the native mac app with the form and button working  
> >> well..  i've needed to run createmacapplication
> >> createmacapplication tests
> >> and then
> >> ln -s ../../../tests tests.app/Contents/MacOS/tests
> >> and its running well on finder... :)
> >> Well i hope the carbon developer continue this good job and same  
> >> with  lazarus team... (in my case, ill try to get in dept again  
> >> after long  time without programing in pascal) ;)
> >
> > I think most, if not all, of this documented on http:// 
> > wiki.lazarus.freepascal.org/index.php/Carbon_Interface
> >
> > Can you check the accuracy of that page?
> >
> > Vincent
> >
> > _________________________________________________________________
> >     To unsubscribe: mail [EMAIL PROTECTED] with
> >                "unsubscribe" as the Subject
> >   archives at http://www.lazarus.freepascal.org/mailarchives
> 
> ----------------------------------------
> Roberto Antonio Berrospe Machin
> Senior Programer / Developer
> Berlin Productions, Uruguay.
> Tel: 099733303
> International: (+598) 99733303
> ----------------------------------------
> 
> 
> _________________________________________________________________
>      To unsubscribe: mail [EMAIL PROTECTED] with
>                 "unsubscribe" as the Subject
>    archives at http://www.lazarus.freepascal.org/mailarchives

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to