|
-
Dec 14th, 2002, 03:26 PM
#1
Thread Starter
Hyperactive Member
gcc on redhat *nix 6, search files
how do i tell gcc on my redhat linux box to search a folder and all subfolders for includes. also how do i tell my program to search for files on my *nix box?
I know a lot oF Vb, expert in C++, and i think in assembly.
MSVC++6.NET
vb6
masm
Windowz Xp
I find my self using this a lot in C++
__asm {
}
-
Dec 14th, 2002, 03:51 PM
#2
Monday Morning Lunatic
Under Unix, you can use the output of the "find" command. I don't think most compilers allow you to have recursive searching for include files, since you can include from different directories:
Code:
#include <bits/std_iostream.h>
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Dec 14th, 2002, 07:53 PM
#3
Thread Starter
Hyperactive Member
i have to find a way, becuase i cant use any includes,
I know a lot oF Vb, expert in C++, and i think in assembly.
MSVC++6.NET
vb6
masm
Windowz Xp
I find my self using this a lot in C++
__asm {
}
-
Dec 14th, 2002, 08:12 PM
#4
Monday Morning Lunatic
Can't use *any*? What do you mean?
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Dec 14th, 2002, 08:16 PM
#5
Thread Starter
Hyperactive Member
if i
#include <IOSTREAM>
says not found
#include <IOSTREAM.h>
says not found
#include </usr/include/IOSTREAM>
not found
...
...
...
...
every thing i try it wont find any thing.
i tried coping the includes to my files home dir, it works, but there are so many it needs.
I know a lot oF Vb, expert in C++, and i think in assembly.
MSVC++6.NET
vb6
masm
Windowz Xp
I find my self using this a lot in C++
__asm {
}
-
Dec 14th, 2002, 08:33 PM
#6
Monday Morning Lunatic
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Dec 15th, 2002, 11:06 AM
#7
Frenzied Member
All of the system-provided include files are lowercase.
Using uppcase letters in all or part of the name (on unix ) is a good way to differentiate your home grown includes from the standard library.
-
Dec 15th, 2002, 04:30 PM
#8
Thread Starter
Hyperactive Member
i tried lower and upper, i tried I- /usr, as there are many folders with the includes, and it still wont compile its missing tto much stuff.
I know a lot oF Vb, expert in C++, and i think in assembly.
MSVC++6.NET
vb6
masm
Windowz Xp
I find my self using this a lot in C++
__asm {
}
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|