[uClinux-dev] uClibc issue
eauth at softsys.co.at
Thu Nov 8 02:35:04 EST 2001
You are using non-pic code, and crt0.S from uclibc, right?
Modify libc to use crt0pic.S instead. That will work for both
pic and non-pic code. That works with 2.4.x, but I think the
parameter passing for the 2.0 kernel is the same.
Jean Finka schrieb:
> We have downloaded the source files for uClibc from your site (http
> download section) as of 6-nov-2001.
> This library was successfully recompiled with the kernel 2.0.x headers
> to be used with the arm-elf-gcc 2.95.3 release..
> In such a configuration (on a kernel 2.0.x) we try to compile a simple
> program :
> #include <stdio.h>
> void main(int argc, char *argv)
> printf("Command : %s\n", argv);
> The compilation is ok. Howevewr the execution does not return the
> program name, instead random characters are returned (example Command :
> Any ideas ?
> This message resent by the uclinux-dev at uclinux.org list server http://www.uClinux.org/
This message resent by the uclinux-dev at uclinux.org list server http://www.uClinux.org/
More information about the uClinux-dev