Что нового

Cctools 6.5 [WORKING]

Cctools 6.5 [WORKING]

cctools is the critical linker and assembler suite used by Apple for macOS and iOS development. While often overshadowed by the high-level LLVM Clang compiler, cctools provides the low-level utilities required to generate Mach-O binaries.

Version 6.5 represents a historical but foundational release of these tools. It was widely distributed with early Xcode 3.x releases (circa 2007–2008) and was the standard toolchain for the iPhone OS SDK (initial versions). For the retro-computing community and developers maintaining legacy codebases, cctools 6.5 is the specific version often required to build toolchains for iPhone OS 2.x and early Mac OS X 10.5 (Leopard) binaries.


Cctools 6.5 is more than just a routine version bump. It represents a maturation of open-source Mach-O tooling, bridging the gap between Apple’s rapid hardware transitions and the broader UNIX cross-compilation community. Cctools 6.5

From reverse engineers analyzing malware to game developers shipping universal binaries, Cctools 6.5 provides the essential utilities needed to manipulate macOS and iOS executables with precision and speed.

If you are still using cctools 4.x or 5.x, upgrading to version 6.5 will immediately improve your workflow, especially if you target Apple Silicon or require cross-platform builds. cctools is the critical linker and assembler suite

Key takeaway: Bookmark the cctools-port GitHub repository, verify your build scripts link against version 6.5, and explore tools like otool and install_name_tool deeply—they are your window into the Mach-O universe.


./x86_64-apple-darwin20.2-cc -o hello hello.c
otool -L hello

Using Cctools’ otool, you can verify that the resulting binary links against the correct dynamic libraries. Cctools 6

(If you need exact, itemized changelog entries, see “Where to get the authoritative changelog” below.)

Автор
T

Tuxzer92

Новичок
Сообщения
65
Репутация
0
Код:
#include <GUIConstantsEx.au3>
#include <ButtonConstants.au3>

Local $nCh1, $nCh2, $nCh3, $nCh4, $nCh5, $nCh6, $msg, $text, $FileSize
$TotalSize=0
$DownloadSize=3
$Free="9"
GUICreate("My GUI Checkbox") ; Создаёт окно в центре экрана
$Label=GUICtrlCreateLabel($text,10,50,100,50)
$Label2=GUICtrlCreateLabel($Free,50,50,100,50)
$nCh1 = GUICtrlCreateCheckbox("Checkbox 1", 10, 10, 120, 20)
$nCh2 = GUICtrlCreateCheckbox("Checkbox 2", 10, 90, 120, 20)
$nCh3 = GUICtrlCreateCheckbox("Checkbox 3", 10, 150, 120, 20)
GUISetState() ; показывает созданное окно

; Запускается цикл опроса GUI до тех пор пока окно не будет закрыто
While 1
    $msg = GUIGetMsg()
    If $msg = $GUI_EVENT_CLOSE Then ExitLoop
   Switch $msg
	  Case $nCh1
		 Check($msg)
	  Case $nCh2
		 Check($msg)
	  Case $nCh3
		 Check($msg)
   EndSwitch
WEnd

Func Check($msg)
   If GUICtrlRead($msg) = $GUI_CHECKED Then
	  $TotalSize+=$DownloadSize
	  GUICtrlSetData ($Label, $TotalSize )
	  If $TotalSize >= $Free Then
		 MsgBox(16,"","ERROR")
	  EndIf
   EndIf
   If GUICtrlRead($msg) = $GUI_UNCHECKED Then
	   $TotalSize-=$DownloadSize
	  GUICtrlSetData ($Label, $TotalSize )
   EndIf
EndFunc

Решил так.
 
Верх