hi, i'm trying to cross-compile using cygwin and the precompiled mipsel-hdhlan toolchain from the downloads area. based on this link: http://buffalo.nas-central.org/index.php?title=Articles/GeneralCrossToolchain
. this is what i've tried so far:
1) download and install minimal cygwin w/ autoconf, autohead, automake, make and binutils.
2) decompressed the precompiled toolchain in the main Cygwin directory and let it go in the /usr directory (had a few error in just using WinRAR, so opted to using bunzip2. is there anything wrong with that .bz2 file?).
3) append the mipsel-hdhlan-linux directory to path:
export PATH = "/usr/local/bin:/usr/local/linkstation/gcc-3.4.4-glibc-2.3.5/mipsel-hdhlan-linux/bin:"$PATH
4) run configure in the package main dir:
./configure --build=i686-pc-cygwin --host=mipsel-hdhlan-linux --target=mipsel-hdhlan-linux
5) run make:
- no options since my gnu make does not seem to take in the same options from the tutorial above.
6) in the pakage ./src directory, the executables (*.exe) were created (which runs on my building machine, by the way.), instead of the usual binary for my linkstation.
i suspect this has got something to do with my make utilizing the gnu cc and make for cygwin instead of the ones provided in the cross-toolchain. why is this happening? i can just build my own cross-toolchain, but if there's one already available for download, i mean, why do it?
plz be clear, since i am a complete newbie on this...