- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,everybody
I have build a socket program,it has server and client program. I will run server on De2 board and client on PC. But I have problem. Client is excute on "colinux" or "NiosII SDK shell"? How to compile client program and run on PC? I don't know "compile" and "excute" command on colinux? Need your help! NiosQLink Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can use gcc to compile your client program, and run it within coLinux shell. But coLinuxs needs a virtual network adaptor driver to access network interface (or bridge) from Windows. You may read the wiki of coLinux or Blackfin.
I would suggest you install a native Linux on one partition of your PC, eg CentOS 4.4. It would be easier than coLinux for a newbie.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- originally posted by hippo@Mar 21 2007, 10:14 AM you can use gcc to compile your client program, and run it within colinux shell. but colinuxs needs a virtual network adaptor driver to access network interface (or bridge) from windows. you may read the wiki of colinux or blackfin.
i would suggest you install a native linux on one partition of your pc, eg centos 4.4. it would be easier than colinux for a newbie.
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=22395)
--- quote end ---
--- Quote End --- Hi,hippo Your are Nios God! great! thank for your response. I'm a Nios newbie. If i use centOS ,then how to setup network? I use centOS just compile client program and run it. Can you teach me how to compile client program and run it on CentOS? thank your very much! NiosQ
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You may read the Redhat's step by step guide,
http://www.redhat.com/docs/manuals/enterprise/ (http://www.redhat.com/docs/manuals/enterprise/) You may also check other redhat docs, and CentOS wiki . Programming on Linux PC is jus the same as Nios2 ucLinux. gcc hello.c -o hello ./hello # to run the compiled hello
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page