This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
all: | |
world | |
#clean: | |
# rm example-0 | |
# Para despues / for after, for libs | |
world: | |
rm example-0 && gcc `pkg-config --cflags gtk+-3.0` -o example-0 mainwindow.cc `pkg-config --libs gtk+-3.0` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mainwindow.cc: | |
#include <gtk/gtk.h> | |
static void | |
activate (GtkApplication* app, | |
gpointer user_data) | |
{ | |
GtkWidget *window; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -e | |
qemu-img create -f qcow2 fedora.img 60G | |
curl -L -o Fedora-Workstation-Live-x86_64-36-1.5.iso https://download.fedoraproject.org/pub/fedora/linux/releases/36/Workstation/x86_64/iso/Fedora-Workstation-Live-x86_64-36-1.5.iso | |
qemu-system-x86_64 \ | |
-m 4G \ | |
-vga virtio \ | |
-cdrom Fedora-Workstation-Live-x86_64-36-1.5.iso \ | |
-accel hvf \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt install build-essential autoconf bison flex texinfo \ | |
help2man gawk libtool libncurses5-dev python3-dev \ | |
python3-distutils git libtool-bin | |
git clone http://github.com/crosstool-ng/crosstool-ng | |
cd crosstool-ng | |
./bootstrap | |
./configure && make |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/Library/Homebrew/cmd/install.rb b/Library/Homebrew/cmd/install.rb | |
index 0f9a00a..c2bed9e 100644 | |
--- a/Library/Homebrew/cmd/install.rb | |
+++ b/Library/Homebrew/cmd/install.rb | |
@@ -299,7 +299,7 @@ module Homebrew | |
def symlink_ld_so | |
ld_so = HOMEBREW_PREFIX/"lib/ld.so" | |
return if ld_so.readable? | |
- sys_interpreter = ["/lib64/ld-linux-x86-64.so.2", "/lib/ld-linux.so.3", "/lib/ld-linux.so.2", "/lib/ld-linux-armhf.so.3"].find do |s| | |
+ sys_interpreter = ['/libexec/ld-elf.so.1'].find do |s| |