/make_gcc_x86_64 (303ed53e1ef0a6f89a5d13c2eb21c271e0b6dcd0) (1245 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=x86_64
#-------------------------------------------------------------------------------
# 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 syncsm
$arch-linux-gnu-ld -Bstatic -nostdlib $($arch-linux-gnu-gcc -print-libgcc-file-name) -o $build_dir/syncsm $build_dir/all_S.o $build_dir/all_c.o
echo STRIP syncsm
$arch-linux-gnu-strip -s $build_dir/syncsm
Mode |
Type |
Size |
Ref |
File |
100644 |
blob |
853 |
cfee40c9af4999813fcbb3a32e07de953696d003 |
ABBREVIATIONS |
100644 |
blob |
3802 |
1058e91164c6384b9d271e249ee74a7df9952884 |
README |
100644 |
blob |
967 |
eb0eb02192cae4ec269d7836bcccf789dd3baa09 |
RULES_GLOBAL_NAMESPACE |
100644 |
blob |
226 |
47e8cbfba1358960f381e80943afaa64d6083673 |
RULES_POINTER |
100644 |
blob |
141 |
a7eef9c825adfb6cb392c5f61048ae1a9961144f |
TODO |
100644 |
blob |
186 |
e08b0072d50fa683daf4b72ffcca9afe28f33928 |
all.S |
100644 |
blob |
907 |
68a9ab080cac0188391966e29be979548a77b537 |
all.c |
100644 |
blob |
2570 |
9c5f66db8962e15d99644ac8f42fc207e27d3178 |
config.default.h |
100644 |
blob |
448 |
b3b72c25ea89e0f17ab77ead13e89b915186ec95 |
dns.h |
040000 |
tree |
- |
60975c8ad01566be3264e1648a304087dae2e6e4 |
dns |
100755 |
blob |
1246 |
6ebc4041142bda951a9a02320d45deb7ee43f39b |
make_gcc_aarch64 |
100755 |
blob |
1245 |
303ed53e1ef0a6f89a5d13c2eb21c271e0b6dcd0 |
make_gcc_x86_64 |
040000 |
tree |
- |
fcae74b207287320abbbd373133626ae7ee67ed0 |
namespace |
100644 |
blob |
434 |
6b73d3e06f341d75c9f17c00b0720b85498ef628 |
perr.h |
100644 |
blob |
450 |
88813b86df39c72cc32605e178edfdd544297e42 |
smtp.h |
040000 |
tree |
- |
eca08c8db66629459c72e1223d89a03895dc8bab |
smtp |
100644 |
blob |
13459 |
1169541482e1d1c3e5a2e61c0dcb338d2d3c5689 |
syncsm.c |
100644 |
blob |
1948 |
678eed4da259f00ba708f070aeddb69229322df6 |
syncsm.h |
100644 |
blob |
880 |
82aad126f033e8ecb5c919dbd27996b094bbfbe8 |
ulinux.h |
040000 |
tree |
- |
503817b57582aa9b3b6a5482104fe81605a6a035 |
ulinux |
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/syncsm
Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/sylware/syncsm
Clone this repository using git:
git clone git://git.rocketgit.com/user/sylware/syncsm
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