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:
parent
737941f616
commit
934b06976d
7 changed files with 14 additions and 3 deletions
|
@ -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
3
config/dev
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
exec ./configure --enable-assert --enable-guard
|
3
config/i386
Executable file
3
config/i386
Executable 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
3
config/x86_64
Executable 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'
|
|
@ -1,6 +1,6 @@
|
|||
all: run
|
||||
|
||||
CCPREFIX = i386-elftailix-
|
||||
CCPREFIX = i386-elf-
|
||||
|
||||
AS = $(CCPREFIX)as
|
||||
CC = $(CCPREFIX)gcc
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
all: run
|
||||
|
||||
CCPREFIX = i386-elftailix-
|
||||
CCPREFIX = i386-elf-
|
||||
|
||||
AS = $(CCPREFIX)as
|
||||
CC = $(CCPREFIX)gcc
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
all: run
|
||||
|
||||
# CCPREFIX = i386-elftailix-
|
||||
CCPREFIX = x86_64-elf-
|
||||
|
||||
AS = $(CCPREFIX)as
|
||||
CC = $(CCPREFIX)gcc
|
||||
|
|
Loading…
Reference in a new issue