| Age | Commit message (Collapse) | Author | Files | Lines |
|
In theory this should be as simple as:
$ cc -fPIE -pie --static helloworld.c
But unfortunately by default this will always add a PT_INTERP referencing
the dynamic loader/linker. On latest binutils >=2.26 this can be worked
around by supplying --no-dynamic-linker. Also tweak the musl-gcc wrapper
to use rcrt1.o as startup file.
|
|
Signed-off-by: Christian Hesse <mail@eworm.de>
|
|
|
|
We need some basic configuration before building dependencies. For
example useful CFLAGS have to be in place to prevent linker errors.
The configure script is run again later with some extra parameters.
|
|
|
|
Instead of compiling lpeg separately and then copying the object files
into the lua source directory, copy the lpeg source files into the
lua build tree and build it together.
|
|
Run configure script for all targets instead of fiddling with
Makefile variables directly.
|
|
This prevents unecessary rebuilds when doing consecutive make
standalone builds.
|
|
Remove more stuff when switching between make local and make standalone.
|
|
|
|
Signed-off-by: Christian Hesse <mail@eworm.de>
|
|
The local target should use the system curses library not a custom
build one. Also the two targets are now compatible with each other,
meaning that the relevant libraries are correctly rebuilt from
scratch against the correct libc.
|
|
All targets start with the package name which allows to easily
rebuild a package by removing everything matching the shell pattern
dependency/build/$package*
|
|
|
|
|
|
This simplifies deployment of vis on remote systems without root
access. The idea is to extract a statically linked binary together with
the lexer syntax files into some directory, adjust $PATH to include it
and have everything just work.
For now this uses /proc/self/exe and thus only works on Linux based
systems.
|
|
The new build instructions are:
$ ./configure && make && sudo make install
The configure script tries to auto detect support for various libraries
and compiler options. These choices can be overwritten by explicitly
specifing --{en,dis}able-{lua,selinux,acl}. See ./configure --help for
all supported options.
The configure script generates config.mk which should allow portable
(among GNU and BSD make) Makefiles. Manually editing config.mk is
still supported.
|