question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Question: compiling CudaText on Windows 10 (portable vs not portable and file sizes)

See original GitHub issue

I’m trying to create a workflow to compile on Windows 10 by adapting cudaup.sh as a batch file instead. However, I want to fully understand how to compile it properly in the first place.

The first thing I noticed is that when I compile using lazbuild, e.g.

c:/fpcupdeluxe/lazarus/lazbuild -q --lazarusdir=c:/fpcupdeluxe/lazarus D:\GITHUB\CudaText_up-master\src\CudaText\app\cudatext.lpi

… the resulting file size is 71mb. However, the official release .exe is only around 8mb. Is this to do with some args I’m not passing to lazbuild? Or is this the difference between the cross-platform building in Linux vs Windows?

(I’m using FPC 3.2.0, Lazarus 2.3.0.)

Thanks!

Issue Analytics

  • State:closed
  • Created 9 months ago
  • Comments:10 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
vekshacommented, Dec 19, 2022

@faulknermano, you can use cudaup.sh on windows too. just run it inside git-bash.exe

1reaction
Alexey-Tcommented, Dec 19, 2022

and if you take CudaText ‘release 1.179’ then take the last ‘release’ of ATFlatControls (in the ‘releases’ page of github).

Read more comments on GitHub >

github_iconTop Results From Across the Web

CudaText - Free Pascal wiki
CudaText distributions are portable, if the executable file is located near the "data" sub-folder. So the distribution for Windows is portable (executable ...
Read more >
Difference between portable and installer software - SoftPerfect
Some of our software products are offered in two editions: portable and installer. Portable application is a standalone executable file.
Read more >
Cross-platform code editor - CudaText - Home
This review is based on CudaText 1.13.1.0 (2017-07-11) 64-bit Windows version. ... Being portable, CudaText does not include an installer.
Read more >
Text - Editors - The Portable Freeware Collection
BDV Notepad is a plain text editor with support for themes, unlimited file size, multi-level undo/redo, autosaving, URL-autodetection, lines sorting, case ...
Read more >
UVviewsoft_homepage/History.txt at master · Alexey-T ...
Now all INI files must be in [SynWrite]\Settings subfolder, both for portable and usual install. App is always portable now. (Should not be...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found