Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
I was trying to compile a UDF module and it asked me for the source folder of my Linux. I don't know what it is at this time, and its best guess was wrong. How would I go about finding it?
Related: When using GCC and G++, what are the libraries used under Linux that are equivalent to those used by the M$ Development Studio? IE: iostream.h, math.h, fstream.h, etc. Are they the same? If in doubt over which one, I am most interested in G++ over GCC, but I do want them both.
Distribution: Redhat v8.0 (soon to be Fedora? or maybe I will just go back to Slackware)
Posts: 857
Rep:
There could be many source folders on your system, depending on what source you are actually looking for. If you are looking for the kernel source, its usually in /usr/src/linux-2.4
When using GCC and G++, what are the libraries used under Linux that are equivalent to those used by the M$ Development Studio? IE: iostream.h, math.h, fstream.h, etc. Are they the same? If in doubt over which one, I am most interested in G++ over GCC, but I do want them both.
most of the standard c++ include files are the same between linux and ms but not exactly the same in implementation. an example is string.h. in windows, there's a stricmp which is a string compare that ignores case. in linux, it's called strnocasecmp. but if you stick to ansi compliant code, the basic headers like iostream.h, string.h, fstream.h, etc are basically the same. system header files are different though.
I figured it was, but that's giving me an error. Now knowing this, I'll try to get rid of the # that is standard in the #include <iostream.h> precompiler. I always needed to put it in like that when using M$ Development Studio. I think Linux uses that as a comment, don't it?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.