Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am trying to port a application written in windows visual C++ to linux g++. Before I started this job, I was thinking everything is possible in linux than windows atleast on the developer point of view.
But, after started this job, I am quite unhappy that some of the libraries provided by msdn is not available in linux. I don't find equivalent or better than windows library . But, I am fairly confident that linux is more reliable and everything is open(though).
Some example problems I faced while porting the application are :
1) uptime - there is no system call available in linux(need to find out from /proc/uptime)
2) timesetEvent - There is no equivalent function or utility available in linux c++.
3) getUDPTable - No library available. Need to parse /proc/net/udp
4) There is a "Microsoft Developer Network" site which provides all the required library details and complete reference,documentations.
I am very much pity that there is no for linux. but, I don't lose my fire or interest on linux for all these small problems. If possible I will contribute some open source library. If you can give some help, it would be helpful for me.
When I will like linux completely is that when I started developing some application there should be a site which should give help of complete library and routines for all the languages. linux is still in progress...
I am trying to port a application written in windows visual C++ to linux g++. Before I started this job, I was thinking everything is possible in linux than windows atleast on the developer point of view.
But, after started this job, I am quite unhappy that some of the libraries provided by msdn is not available in linux. I don't find equivalent or better than windows library . But, I am fairly confident that linux is more reliable and everything is open(though).
Some example problems I faced while porting the application are :
1) uptime - there is no system call available in linux(need to find out from /proc/uptime)
2) timesetEvent - There is no equivalent function or utility available in linux c++.
3) getUDPTable - No library available. Need to parse /proc/net/udp
4) There is a "Microsoft Developer Network" site which provides all the required library details and complete reference,documentations.
I am very much pity that there is no for linux. but, I don't lose my fire or interest on linux for all these small problems. If possible I will contribute some open source library. If you can give some help, it would be helpful for me.
When I will like linux completely is that when I started developing some application there should be a site which should give help of complete library and routines for all the languages. linux is still in progress...
Libraries provided by Microsoft, have nothing to do with Linux. Everything you've stated, has equivalents in Linux, you just haven't found them yet.
You say you're moving from "MICROSOFT VISUAL C++"....that's Microsoft's version of what they think C++ should be, not a 'standard' C++. There are hundreds of sites that have many libraries and routines, for more languages than Windows support.
I do accept your words, in fact I am a very good fan of linux . I used to argue if someone says windows is better.
But.. I think still I am not convinced totally..
Quote:
Libraries provided by Microsoft, have nothing to do with Linux. Everything you've stated, has equivalents in Linux, you just haven't found them yet.
-> You are true. I did not find the answer. My problem is I am not able to find it out very easily. Incase of windows they have a single site and they have complete reference. Incase of linux there are so many sites which gives reference for different different libraries, but not all at once.
Quote:
You say you're moving from "MICROSOFT VISUAL C++"....that's Microsoft's version of what they think C++ should be, not a 'standard' C++. There are hundreds of sites that have many libraries and routines, for more languages than Windows support.
-> There are hundreds of libraries but when I did google it's confusing. No place I found the answer for the above three doubts.
For uptime I got the answer. For others I still don't have answers .
If you know some developer resource, kindly give me the urls of those sites.
On the whole what I am trying to say is that though windows has limited environment it helps the developer to use their libraries irrespective of whether they follow standard or not. Definitely it has it's own limitations.
On the linux side, it has a versatile environment and powerful, reliable, stable libraries and kernel . But the problem I see here is unavailability of those to the developers.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.