Hi Huke,
> How can I made the configure script knows what "basic machine" it's using ?
There are three basic things configure needs to know:
1. What cross-tools (e.g.: nios-elf, rather than powerpc-eabi, or arm-thumb-elf, etc)
2. What is the include path for .h files.
3. What is the library path (or libc, etc).
To modify the configuration scripts, you may have to do some hard work ... it's not
always as straight-forward as the the libosip source tree. Basically, you must read
and understand how the configure scripts work, then modify the scripts to support
your target environment.
> > reason you need to set CPPFLAGS and LDFLAGS in your environment
> Excuse me to ask you:how can I do this?
Please see the link in my earlier post.
> But now I'm using the windows operating system!!!
I'm a bit confused here: You want your code to run on a Nios-32 processor that
is running uClinux, correct?
If this is the case, you surely have uClinux running, no? ... and this means you
have a development environment (with headers, libraries, etc) under windows.
Regards,
--Scott