Pelles C > Bug reports

"Scanning for dependencies" is too slow

<< < (2/2)

larryli:
Complete project file. the simple project file was generated using the script, and it took the whole night to update the dependencies

John Z:
Hi larryli,

So, 'slow' is relative - what system performed faster than Pelles?

Also have you tried moving the files to the common SSD NTFS file system and tried that?

John Z

larryli:

--- Quote from: John Z on January 26, 2024, 10:06:23 PM ---Also have you tried moving the files to the common SSD NTFS file system and tried that?

--- End quote ---

There is no difference.

frankie:
No way to reduce time.
The reasons are 2. This code has so many nested headers that the time delay is inevitable. My opinion: "it's good to slice code in many modules to make more efficient library use, but the sparse definitions in hundreds of headers and the heavy macro coding is too much for me" (polite for bad coding? probably, even for embedded programming almost all compilers have a 'separate segment by function' to avoid wasting program memory, so this proliferation of headers is not necessary).
The second problem is the PellesC browser that surely isn't designed for such a mess (here would help a lot the MSVC precompiled headers...).
A suggestion to not wait, open a cmd window in the project folder and try:

--- Code: ---> POVARS32
>pomake /F lvgl-9.0.0.ppj

--- End code ---
If you're compiling for 64bits:

--- Code: ---> POVARS64
>pomake /F lvgl-9.0.0.ppj

--- End code ---

Navigation

[0] Message Index

[*] Previous page

Go to full version