[uClibc] Re: some patches/cleanups (Stefan Allius)
Stefan Allius
allius at atecom.com
Wed Sep 1 09:00:40 UTC 2004
Peter S. Mazinger writes:
> Well, I do not know which patch you mean ;-(
> I haven't touched/used anywhere -nostdinc (this was already in CFLAGS)
>
> I have added -nostdlib for utilities and defined the startfiles/libs
> needed explicitly (done in the crt-pie-correction patch)
> I can think of only one problem, if LIBGCC_DIR is not defined correctly
> for cross-compiling (I have tested only in native uclibc env)
>
> The problem was, that [S]crt[01].o was used from the build-system
> (natively installed in /usr/lib) if I ran make utils, so the utilities
> were not linked against the new ones in $(TOPDIR)lib.
> The old behaviour is only correct if we build the host utilities, but not
> for the target utilities.
Ok,
I missunderstand the diff:
> --- ./utils/Makefile.crt~ Wed Sep 1 02:10:20 2004
> +++ ./utils/Makefile Wed Sep 1 02:13:54 2004
> @@ -39,9 +39,41 @@
I thought that utils/Makefile.crt~ was your (new) version and utils/Makefile the
orginal one. So I expected that you want to remove the -nostinc stuff.
I'm sorry.
Bye
Stefan
----------------------------------
Stefan Allius
senior software engineer
ATecoM GmbH
advanced telecommunication modules
Pascalstrasse 67
D-52076 Aachen
Germany
Tel: +49/2408/9596-0
Fax: +49/2408/9596-900
eMail: allius at atecom.com
URL: http://www.atecom.com
----------------------------------
More information about the uClibc
mailing list