/make_gcc_aarch64 (ecd91729d1b15f7cae1080337b642133dec95aa6) (1193 bytes) (mode 100755) (type blob)
#!/bin/sh
LC_ALL=C
export LC_ALL
set -e
#-------------------------------------------------------------------------------
# build dir and src dir
build_dir=$(readlink -e .)
echo build_dir=$build_dir
src_dir=$(readlink -e $(dirname $0))
echo src_dir=$src_dir
config_h_dir=$build_dir
#-------------------------------------------------------------------------------
arch=aarch64
#-------------------------------------------------------------------------------
# configure our ultra-thin linux "uapi" (User API) abstraction layer
rm -f $build_dir/ulinux/arch
mkdir -p $build_dir/ulinux
ln -f -s $src_dir/ulinux/archs/$arch $build_dir/ulinux/arch
#-------------------------------------------------------------------------------
echo ASM all.S;
$arch-linux-gnu-gcc -pipe -c -fvisibility=hidden -o $build_dir/all_S.o -I$config_h_dir -I$build_dir $src_dir/all.S
echo CC all.c
$arch-linux-gnu-gcc -pipe -fPIC -O2 -c -static-libgcc -fvisibility=hidden -o $build_dir/all_c.o -I$config_h_dir -I$build_dir -I$src_dir $src_dir/all.c
echo LD lnanohttp
$arch-linux-gnu-ld -s -Bstatic -nostdlib $($arch-linux-gnu-gcc -print-libgcc-file-name) -o $build_dir/lnanohttp $build_dir/all_S.o $build_dir/all_c.o
Mode |
Type |
Size |
Ref |
File |
100644 |
blob |
246 |
bbf313b25987d0d61b1cea33a8e6188501e221ac |
.gitignore |
100644 |
blob |
34520 |
dbbe3558157f5861bff35dcb37b328b679b0ccfd |
LICENSE |
100644 |
blob |
711 |
7b6f3427768af8d274abb84700dfc15a92c141f6 |
README |
100644 |
blob |
160 |
740a1744453fc75aebe4c3e1dacd117141dc0040 |
all.S |
100644 |
blob |
375 |
bf0a2131dfb6d9ae3646055f1e7035c7c6d60566 |
all.c |
100644 |
blob |
1659 |
1701bba0dec03fc5dd39e90846cfce49958176c6 |
config.default.h |
100644 |
blob |
1013 |
115022668b11bc675aac6c8e4d98592da7af4440 |
exit_codes.h |
100644 |
blob |
22354 |
41ea7a150b07f05277b2322b58067b87b921af53 |
lnanohttp.c |
100755 |
blob |
1193 |
ecd91729d1b15f7cae1080337b642133dec95aa6 |
make_gcc_aarch64 |
040000 |
tree |
- |
7446ca8ef43378965dd632fa0945ece4c1239ef0 |
ulinux |
100644 |
blob |
3911 |
61d33c0f458518c884db1bfbc9542f8b5824a005 |
ulinux_namespace.h |
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"
Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/sylware/lnanohttp
Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/sylware/lnanohttp
Clone this repository using git:
git clone git://git.rocketgit.com/user/sylware/lnanohttp
You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a
merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main