1
0
Fork 0
mirror of https://github.com/tailix/libkernaux.git synced 2024-12-04 11:25:18 -05:00

Fix compiler prefixes

This commit is contained in:
Alex Kotov 2022-01-11 18:31:48 +05:00
parent 737941f616
commit 934b06976d
Signed by: kotovalexarian
GPG key ID: 553C0EBBEB5D5F08
7 changed files with 14 additions and 3 deletions

View file

@ -143,6 +143,8 @@ cross-compiler in `$PATH` to make without it in `$PATH`:
```
./configure \
--host='i386-elf' \
--enable-assert \
--enable-guard \
--with-libc \
AR="$(which i386-elf-ar)" \
CC="$(which i386-elf-gcc)" \

3
config/dev Executable file
View file

@ -0,0 +1,3 @@
#!/bin/sh
exec ./configure --enable-assert --enable-guard

3
config/i386 Executable file
View file

@ -0,0 +1,3 @@
#!/bin/sh
exec ./configure --host='i386-elf' --enable-assert --enable-guard --with-libc AR=`which i386-elf-ar` CC=`which i386-elf-gcc` RANLIB=`which i386-elf-ranlib` CFLAGS='-ffreestanding -nostdlib -fno-builtin -fno-stack-protector'

3
config/x86_64 Executable file
View file

@ -0,0 +1,3 @@
#!/bin/sh
exec ./configure --host='x86_64-elf' --enable-assert --enable-guard --with-libc AR=`which x86_64-elf-ar` CC=`which x86_64-elf-gcc` RANLIB=`which x86_64-elf-ranlib` CFLAGS='-ffreestanding -nostdlib -fno-builtin -fno-stack-protector'

View file

@ -1,6 +1,6 @@
all: run
CCPREFIX = i386-elftailix-
CCPREFIX = i386-elf-
AS = $(CCPREFIX)as
CC = $(CCPREFIX)gcc

View file

@ -1,6 +1,6 @@
all: run
CCPREFIX = i386-elftailix-
CCPREFIX = i386-elf-
AS = $(CCPREFIX)as
CC = $(CCPREFIX)gcc

View file

@ -1,6 +1,6 @@
all: run
# CCPREFIX = i386-elftailix-
CCPREFIX = x86_64-elf-
AS = $(CCPREFIX)as
CC = $(CCPREFIX)gcc