Forum > Win32/64
From Windows to Mac
(1/1)
clemmi:
Hi,
I made a GUI application in Windows 7 and made an .exe file which is 21,175KB.
I copied all the files of the project to my MacBook OS X, opened Lazarus in the MacBook and made an .app file.
The .app file in my MacBook says it's 12 KB but when I try to send it to a friend via email it says it can't make it because it's more than 15 Mb in size.
I understand that may be because it included the complete libraries, etc.
Can you refer me again to how to make it a smaller size to email it, if possible?
Or, solve this problem:I had no problem sending the 21 Mb .exe file from my Windows 7 email.
When I copy the .app file to a flash card to transfer from Mac to PC it shows as a 12 KB file (folder with 4 files when I looked at it in Windows).
How do I get the whole 21 Mb copied to my flash card instead of only the 12 KB file?
Thanks.
Leledumbo:
--- Quote ---Can you refer me again to how to make it a smaller size to email it, if possible?
--- End quote ---
FAQ, on the left menu, chapter 1.2.
BigChimp:
--- Quote from: clemmi on January 30, 2014, 08:23:38 pm ---When I copy the .app file to a flash card to transfer from Mac to PC it shows as a 12 KB file (folder with 4 files when I looked at it in Windows).
How do I get the whole 21 Mb copied to my flash card instead of only the 12 KB file?
--- End quote ---
Try googling/Apple sites for "copy application bundle to flash card" or similar search terms. In other words, it's more of a general OSX thing than a Lazarus thing.
That said, I think I had good luck with regular cp -r (or whatever the command is on OSX exactly: recursive copy).
Another nifty solution is to create a compressed disk image with your application bundle. You can add a readme and a link to the Applications folder, which is usually how OSX software is distributed.
It all ends up in a .dmg file (a real file, not a directory pretending to be a file) which you can easily copy.
http://wiki.lazarus.freepascal.org/Deploying_Your_Application
and the link it points to.
clemmi:
Thanks for both answers. I'lll try and post the results when/if successful.
-cl
Navigation
[0] Message Index