I am trying to build the September 2003 version of the 2.4 kernel for the SSV 5280 Coldfire (no MMU) using the CodeSorcery m68k-ucLinux tools on Windows 7/Cygwin. This tool chain works for user-mode binaries.

Questions arising -

1. Does anyone know if the Code Sorcery cross compiler works with Cygwin symlinks? It appears to ignore them but I'd like to check.

2. Am having an unexpectedly torrid time with header paths. The compiler refuses to find stdarg.h though it finds the wrapper:

r:/data/neo/SSU-VS/uCLinux/lib/libc/include/stdarg.h:3:2: warning: #warning "Including r:/data/neo/SSU-VS/uCLinux/lib/libc/include/stdarg.h"

The wrapper does this:

#include <machine/stdarg.h>

Is machine supposed to be a macro, a symlink or a real directory?

The wrapper works if I do this:

#ifndef _STDARG_H
#define    _STDARG_H
//#include <machine/stdarg.h>
#include <m68k/stdarg.h>
#endif

3. In \lib a symlink called uCLibc is created. On this rig the link is to \uClib, which does not exist. Any ideas as to the intention here?

4. In /linux-2.4.x/include/linux/compile.h:7: I get

error: missing terminating " character

The offending item is shown verbatim below:

#define LINUX_COMPILER "gcc version 4.3.3 (Sourcery G++ Lite 4.3-209)
"

The string is generated by the Makefile with this command @ line 416 or thereabouts:

@echo \#define LINUX_COMPILER \"`$(CC) $(CFLAGS) -v 2>&1 | tail -n 1`\" >> .ver

Any magic for tail to remove the offender?

Right now I am hacking the makefile for Linux-2.4.x to include specific directories where the correct files are located. Clearly not WAD but I cannot progress otherwise.

Thanks for any help

Jerry


_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to