Displaying 9 results from an estimated 9 matches for "emain".
Did you mean:
main
2020 Aug 29
0
[klibc:riscv64-enable-relax] Kbuild, klcc: Support multiple objects in KLIBCCRTSHARED
...ff --git a/klcc/Kbuild b/klcc/Kbuild
index 0e625802..ca46c6ce 100644
--- a/klcc/Kbuild
+++ b/klcc/Kbuild
@@ -21,6 +21,7 @@ $(obj)/$(KLIBCCROSS)klibc.config: $(src)/Kbuild \
$(Q)echo 'STRIP=$(STRIP)' >> $@
$(Q)echo 'STRIPFLAGS=$(KLIBCSTRIPFLAGS)' >> $@
$(Q)echo 'EMAIN=$(KLIBCEMAIN)' >> $@
+ $(Q)echo 'CRTSHARED=$(notdir $(KLIBCCRTSHARED))' >> $@
$(Q)echo 'BITSIZE=$(KLIBCBITSIZE)' >> $@
$(Q)echo 'VERSION=$(shell cat $(srctree)/usr/klibc/version)' >> $@
$(Q)echo 'prefix=$(INSTALLDIR)' >> $@
dif...
2005 Apr 09
0
not everybody uses bash
...#39; >> $@
echo 'LDFLAGS=$(LDFLAGS)' >> $@
- echo "STRIP=$(shell bash -c 'type -p $(STRIP)')" >> $@
+ echo "STRIP=$(shell which strip)" >> $@
echo 'STRIPFLAGS=$(STRIPFLAGS)' >> $@
echo 'EMAIN=$(EMAIN)' >> $@
echo 'BITSIZE=$(BITSIZE)' >> $@
@@ -34,7 +34,7 @@
$(CROSS)klcc: klcc.in $(CROSS)klibc.config makeklcc.pl
$(PERL) makeklcc.pl klcc.in $(CROSS)klibc.config \
- $(shell bash -c 'type -p $(PERL)') > $@ || ( rm -f $@ ; e...
2004 Jun 23
4
CRIS port of klibc
...an -iprefix to find libgcc includes when
+# nostdinc is used. It also needs -mlinux to compile linux applications.
+INCLUDE_PREFIX = $(shell $(CC) -print-libgcc-file-name | sed -e
s/libgcc.a//)
+ARCHREQFLAGS = -iprefix $(INCLUDE_PREFIX) -mlinux
# How to tell the linker main() is the entrypoint
EMAIN := -e _main
+
+# Use gcc to link to get all the flags correct
+LD = cris-gcc
+LDFLAGS += -mlinux -nostdlib
\ No newline at end of file
diff -urN ./klibc/arch/cris/Makefile.inc
../klibc-0.146-modified/klibc/arch/cris/Makefile.inc
--- ./klibc/arch/cris/Makefile.inc Thu Jun 10 08:59:15 2004
+++ ../kl...
2019 Feb 19
0
[klibc:master] klcc: Enable stripping even if CONFIG_DEBUG_INFO is enabled
...$@
$(Q)echo 'OPTFLAGS=$(KLIBCOPTFLAGS)' >> $@
$(Q)echo 'LDFLAGS=$(KLIBCLDFLAGS)' >> $@
- $(Q)echo 'STRIP=$(KLIBCSTRIP)' >> $@
+ $(Q)echo 'STRIP=$(STRIP)' >> $@
$(Q)echo 'STRIPFLAGS=$(KLIBCSTRIPFLAGS)' >> $@
$(Q)echo 'EMAIN=$(KLIBCEMAIN)' >> $@
$(Q)echo 'BITSIZE=$(KLIBCBITSIZE)' >> $@
2004 Jan 04
1
Density Plots
...er version of R (1.6.2) to run a Monte Carlo simulation, generating 10,000 samples per 'run'. When I plot histograms I get the expected 'bins' on the x-axis and the frequency distribution on the y-axis. However when I ask R to plot the SAME data set with a density curve the x-axis remains the same but the y-axis can generate values of up to 1e8 etc. Can anyone (a) explain why this might be so and/or (b) suggest a fix?
Many thanks
David Tyler
[[alternative HTML version deleted]]
2004 Jun 24
1
klibc & dynamic linking
Hello,
Sorry if this question is a FAQ, but I don't find it anywere. Does klibc
support dynamic linking ?
TIA
--
gpg key@ keyserver.linux.it: Goffredo Baroncelli (ghigo) <kreijack@inwind.it>
Key fingerprint = CE3C 7E01 6782 30A3 5B87 87C0 BB86 505C 6B2A CFF9
2005 Feb 10
1
[PATCH] make DEBUG=true
...===============================
--- MCONFIG (revision 1003)
+++ MCONFIG (working copy)
@@ -62,5 +62,11 @@
#
include $(KLIBSRC)/arch/$(ARCH)/MCONFIG
+ifeq ($(DEBUG),true)
+STRIP = /bin/true -Since_we_are_debugging
+OPTFLAGS += -O1 -g
+endif
+
+
# How to tell the linker main() is the entrypoint
EMAIN ?= -e main
Index: klibc/arch/i386/MCONFIG
===================================================================
--- klibc/arch/i386/MCONFIG (revision 1003)
+++ klibc/arch/i386/MCONFIG (working copy)
@@ -13,7 +13,7 @@
gcc_major := $(shell echo __GNUC__ | $(CC) -E -xc - | tail -n 1)
-OPTFLAGS = $(...
2013 Aug 21
0
Build problems: klibc with Linux 3.10.7
...lcc/klibc.config
echo 'OPTFLAGS= -Os' >> klcc/klibc.config
echo 'LDFLAGS=-m elf32ppclinux' >> klcc/klibc.config
echo 'STRIP=ppc-linux-strip' >> klcc/klibc.config
echo 'STRIPFLAGS=--strip-all -R .comment -R .note' >> klcc/klibc.config
echo 'EMAIN=-e main' >> klcc/klibc.config
echo 'BITSIZE=32' >> klcc/klibc.config
echo 'VERSION=2.0.2' >> klcc/klibc.config
echo 'prefix=/tmp/klibc-install/lib/klibc' >> klcc/klibc.config
echo 'bindir=/tmp/klibc-install/lib/klibc/bin' >> klcc/kli...
2013 Aug 21
5
Build problems: klibc with Linux 3.10.7
On Tue, Aug 20, 2013 at 07:44:39AM +0200, leroy christophe wrote:
> >
> Find attached two patches I have in order to build klibc 2.0.2
> against kernel 3.8.13
> We had to introduce those patches when going from kernel 3.6 to kernel 3.7
> Hope it helps.
>
those patches are wrong and again very brittle.
just use the way it is described in `make help':
A) cd ~/src/linux