Skip to main content



      Home
Home » Newcomers » Newcomers » Building Module(Linux Development using eclipse)
Building Module [message #1005070] Thu, 24 January 2013 07:21 Go to next message
Eclipse UserFriend
Hi,

I want to start the Linux development on eclipse.
I have installed Eclipse Juno on Ubuntu platform.
Can anyone let us know how to start with eclipse in Ubuntu and how to compile debug the modules in eclipse.

BR,
Naveen.
Re: Building Module [message #1005181 is a reply to message #1005070] Thu, 24 January 2013 10:38 Go to previous messageGo to next message
Eclipse UserFriend
On 1/24/2013 6:34 AM, Naveen B wrote:
> Hi,
> I want to start the Linux development on eclipse. I have installed
> Eclipse Juno on Ubuntu platform.
> Can anyone let us know how to start with eclipse in Ubuntu and how to
> compile debug the modules in eclipse.
>
> BR, Naveen.

It's hardly different than Windows or Macintosh.

Try a tutorial such as those from http://www.vogella.de.
Re: Building Module [message #1005355 is a reply to message #1005181] Thu, 24 January 2013 23:26 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

Thanks for your kind reply.
I want to build the below code in the eclipse,

#include<linux/module.h>
#include<linux/version.h>
#include<linux/kernel.h>
#include<linux/init.h>
#include<linux/string.h>

int hello_init(void)
{
printk("Module named Hello inserted\n ");
strcpy(NULL,"Hello");
return 0;
}

void hello_exit(void)
{
printk("Module named Hello removed\n ");
}

module_init(hello_init);
module_exit(hello_exit);

MODULE_LICENSE("GPL");
********************* Makefile *********************
obj-y := hello.o
all:
make -C ../../include M=$(PWD) modules

BR,
Naveen.
Re: Building Module [message #1005519 is a reply to message #1005355] Fri, 25 January 2013 15:49 Go to previous messageGo to next message
Eclipse UserFriend
On 1/24/2013 9:26 PM, Naveen B wrote:
> Hi,
> Thanks for your kind reply.
> I want to build the below code in the eclipse,
> #include<linux/module.h>
> [snip]

http://www.eclipse.org/forums/index.php/t/161206/
Re: Building Module [message #1005624 is a reply to message #1005519] Sun, 27 January 2013 10:39 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

I dint find an answer for which you gave me an link.
I need to create an makefile, then i need to link to my source code. Like wht we do in the GCC compiler.
Eclipse is really not user friendly.

BR,
naveen
Re: Building Module [message #1005652 is a reply to message #1005624] Sun, 27 January 2013 23:28 Go to previous messageGo to next message
Eclipse UserFriend
On 01/27/2013 08:39 AM, Naveen B wrote:
> Hi,
> I dint find an answer for which you gave me an link.
> I need to create an makefile, then i need to link to my source code.
> Like wht we do in the GCC compiler.
> Eclipse is really not user friendly.
>
> BR, naveen

Hmmm... the link I gave you has all the information you need to go get
help with your problem. You are mostly wasting your time asking in this
forum: it's not the best one.
Re: Building Module [message #1005660 is a reply to message #1005652] Mon, 28 January 2013 00:55 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

I rechecked the link which you provided me. There is no information on how to move ahead with the Linux development using Eclipse. I am unable to create an simple makefile using Eclipse.
Will Eclipse generates the makefile automatically.

Re: Building Module [message #1005769 is a reply to message #1005660] Mon, 28 January 2013 11:33 Go to previous message
Eclipse UserFriend
On 1/27/2013 10:55 PM, Naveen B wrote:
> Hi,
> I rechecked the link which you provided me. There is no information on
> how to move ahead with the Linux development using Eclipse. I am unable
> to create an simple makefile using Eclipse.
> Will Eclipse generates the makefile automatically.

Which part of "If you are having trouble with C/C++ tooling in Eclipse
(CDT), you are welcome to post in this "Newcomers" group but might get
more response if you post in the CDT-specific group:
http://www.eclipse.org/forums/eclipse.tools.cdt" is difficult to understand?

You can keep asking your questions about C/C++ development in this forum
and you'll keep getting ignored or being referred to the Eclipse CDT
forum. It's time to trust the advice given.
Previous Topic:What are the greatest difficulties faced by developers of eclipse plugins?
Next Topic:Path from Android Dev to Web Dev
Goto Forum:
  


Current Time: Mon Jul 14 21:32:36 EDT 2025

Powered by FUDForum. Page generated in 0.13307 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top