Recent

Author Topic: Extended Module Player  (Read 3524 times)

Lulu

  • Sr. Member
  • ****
  • Posts: 265
Re: Extended Module Player
« Reply #45 on: October 16, 2024, 07:47:00 pm »
Hi, I was able to compile libxmp.dll 32b with no libgcc dependancies  8-)
but size is now 759k

Code: Pascal  [Select][+][-]
  1.         ntdll.dll => /c/Windows/SYSTEM32/ntdll.dll (0x7ff8633d0000)
  2.         KERNEL32.DLL => /c/Windows/System32/KERNEL32.DLL (0x7ff862080000)
  3.         KERNELBASE.dll => /c/Windows/System32/KERNELBASE.dll (0x7ff861040000)
  4.         msvcrt.dll => /c/Windows/System32/msvcrt.dll (0x7ff8632f0000)
  5.         libxmp.dll => /c/Pascal/TestLibXmp/libxmp-libxmp-4.6.0/build/libxmp.dll (0x657c0000)
  6.  

Tested on Win7 32b
wishing you a nice life!
GitHub repositories https://github.com/Lulu04

Fred vS

  • Hero Member
  • *****
  • Posts: 3410
    • StrumPract is the musicians best friend
Re: Extended Module Player
« Reply #46 on: October 16, 2024, 08:30:05 pm »
Excellent!

Did you try to strip it' ?
Code: Bash  [Select][+][-]
  1. > strip.exe libxmp.dll
I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

Lulu

  • Sr. Member
  • ****
  • Posts: 265
Re: Extended Module Player
« Reply #47 on: October 16, 2024, 08:58:08 pm »
I didn't know the strip command. After some research I understand it remove some info from compiled file.
Thank you fred, I've learn something new!

After the 'strip', the size of the file is 642k
Attached the 'stripped' version.
wishing you a nice life!
GitHub repositories https://github.com/Lulu04

Fred vS

  • Hero Member
  • *****
  • Posts: 3410
    • StrumPract is the musicians best friend
Re: Extended Module Player
« Reply #48 on: October 16, 2024, 09:38:17 pm »
I didn't know the strip command. After some research I understand it remove some info from compiled file.
Thank you fred, I've learn something new!

After the 'strip', the size of the file is 642k
Attached the 'stripped' version.

Thank you Lulu.  ;D

Strip remove some unused data for the executable, mainly used for debugging
But it can also have bad result so it is better to test it deeply.
I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

Lulu

  • Sr. Member
  • ****
  • Posts: 265
Re: Extended Module Player
« Reply #49 on: October 17, 2024, 09:54:53 am »
Strip remove some unused data for the executable, mainly used for debugging
But it can also have bad result so it is better to test it deeply.

Thank for the precision. To be sure, I've re-tested the stripped dll on my 32b machine (because I applyed 'strip' command with my 64b machine).
All is ok with UOS SimplePlayer and the three music modules.  :)

wishing you a nice life!
GitHub repositories https://github.com/Lulu04

Fred vS

  • Hero Member
  • *****
  • Posts: 3410
    • StrumPract is the musicians best friend
Re: Extended Module Player
« Reply #50 on: October 17, 2024, 02:00:33 pm »
Strip remove some unused data for the executable, mainly used for debugging
But it can also have bad result so it is better to test it deeply.

Thank for the precision. To be sure, I've re-tested the stripped dll on my 32b machine (because I applyed 'strip' command with my 64b machine).
All is ok with UOS SimplePlayer and the three music modules.  :)

Hello Lulu,
Your libxmp-32.dll was added in uos.
Many thanks.
Fre;D
I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

 

TinyPortal © 2005-2018