Buffalo NAS-Central Forums

Welcome to the Linkstation Wiki community
It is currently Fri Nov 24, 2017 3:39 pm

All times are UTC+01:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Thu May 17, 2007 12:13 am 
Offline
Newbie

Joined: Tue Jan 09, 2007 6:42 am
Posts: 39
Location: Adanac
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:
Code:
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:
Code:
./configure --build=i686-pc-cygwin --host=mipsel-hdhlan-linux --target=mipsel-hdhlan-linux


5) run make:
Code:
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...


Top
   
PostPosted: Thu May 17, 2007 12:16 am 
Offline
Newbie

Joined: Tue Jan 09, 2007 6:42 am
Posts: 39
Location: Adanac
also, my PATH variable keeps on reverting to it's original value (without the mipsel-hdhlan-linux directory). is that normal?


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 2 posts ] 

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited