Sponsored Content
Full Discussion: Include files
Top Forums Programming Include files Post 302761515 by Corona688 on Friday 25th of January 2013 07:02:29 PM
Old 01-25-2013
Add this to your compile flags:

Code:
-I /path/to/basefolder

...and it will include that path in the search path when opening include files.
This User Gave Thanks to Corona688 For This Post:
 

10 More Discussions You Might Find Interesting

1. Programming

Include files

Hi, I am new to the unix networking. I have written one client and server for UDP sockets.. I got the following errors while conpilation I have include all include files. Could some one help ...is there any other file to be included.....? will the include files change on different unix... (3 Replies)
Discussion started by: reddyb
3 Replies

2. Shell Programming and Scripting

how to include external files in tcsh

Hello Simple question about tcsh , i like to make external file that some tcsh script will read from him var=="some value" how can i make the include in tcsh files? Thanks (0 Replies)
Discussion started by: umen
0 Replies

3. Shell Programming and Scripting

include all files under a directory

I want to include all the subnet files under /etc/dhcpd/ to /etc/dhcpd.conf so here is my content of dhcpd.conf ... include "/etc/dhcpd/*"; however, the check-syntax reports syntax error, as they do not recognize the wildcard *, and display that " file /etc/dhcpd/* could not be found. ... (4 Replies)
Discussion started by: fredao
4 Replies

4. Programming

gcc does not include certain .h-files

Hi there! gcc seems not to include available files, see below: What should I do? Look forward to your reply/replies! Thanks Grahamb In the source directory I enter: #gcc -Wall -I/usr/include ./gtkdaq.c > ./out.log 2>&1 Response: In file included from ./gtkdaq.c:3:... (2 Replies)
Discussion started by: grahamb
2 Replies

5. Solaris

Compilation - unable to finding include files

Hey there, This is gotta be a stupid question, if there ever was one, but I am learning a lot by asking such questions. Now I am trying to build this humungous library, which has all kinds a dependencies, which I realize as it makes, and i download all those dependent libs. The compilation is... (1 Reply)
Discussion started by: shriyer123
1 Replies

6. Solaris

include files

Our admin has upgraded our OS solaris system to 5.11 but no more I can compile any trivial or non-trivial code. I'm trying to compile a trivial c++ program(a Helloworld program) but It gives error indicating that include files do not exist (in this trivial case <stdio.h>), it starts compiling but... (1 Reply)
Discussion started by: Newsha
1 Replies

7. UNIX for Dummies Questions & Answers

linux include files

what is the relationship between /usr/include/sys/*.h and /usr/include/unistd.h ? Fuctions in unistd.h are syscalls. Do the fuctions in sys/*.h call syscalls? (7 Replies)
Discussion started by: vistastar
7 Replies

8. Shell Programming and Scripting

include file name to extracted files

I've written the script below to merge only .txt files that exist in one directory into one huge .txt file and ignore other files with other extensions. now the result is one huge .txt file with all the contents of other .txt files how can i add a File Name as a comment before each file? ... (12 Replies)
Discussion started by: miss_dodi
12 Replies

9. HP-UX

How do I include header files outside of my current directory

I am trying to compile a file called PPFormatageMUT.c in which I have included header file which are at some other location but the point is that while compiling the file, it is throwing error saying that error : no such file or directory source code location:... (1 Reply)
Discussion started by: ezee
1 Replies

10. Shell Programming and Scripting

Using Grep Include/Exclude Files

I wrote this korn script and ran into a hole. I can use find to exclude all the hidden directories and to use my include file/exclude files for running a full backup find / -depth -ipath '/home/testuser/.*' -prune -o -print| grep -f include.mydirs | grep -v -f exclude.mydirs but when I... (8 Replies)
Discussion started by: metallica1973
8 Replies
Bootloader::Path(3)					User Contributed Perl Documentation				       Bootloader::Path(3)

NAME
Bootloader::Path - abstraction of path constants PREFACE
This package provides path for configuration files. It is used to enable testing on created chroot. It is used only for internal purpose. SYNOPSIS
"use Bootloader::Path;" "$path = Bootloader::Path::Prefix ($path);" "$path = Bootloader::Path::Logname();" "$path = Bootloader::Path::Fstab();" "$path = Bootloader::Path::Sysconfig();" "$path = Bootloader::Path::Grub_menulst();" "$path = Bootloader::Path::Grub_devicemap();" "$path = Bootloader::Path::Grub_grubconf();" "$path = Bootloader::Path::Grub_grub();" "$path = Bootloader::Path::Elilo_conf();" "$path = Bootloader::Path::Elilo_efi();" "$path = Bootloader::Path::Elilo_elilo();" "$path = Bootloader::Path::Lilo_lilo();" "$path = Bootloader::Path::Lilo_conf();" "$path = Bootloader::Path::Zipl_conf();" "$path = Bootloader::Path::Zipl_zipl();" DESCRIPTION
"$path = Bootloader::Path::Prefix ($);" Add to absolute path prefix. Only internal function. Allways retuns correct value. "$path = Bootloader::Path::Logname();" Gets logname path. "$path = Bootloader::Path::Fstab();" Gets fstab path. "$path = Bootloader::Path::Sysconfig();" Gets path for bootloader sysconfig. "$path = Bootloader::Path::Grub_menulst();" Gets path for grub configuration file menu.lst. "$path = Bootloader::Path::Grub_devicemap();" Gets path for grub configuration file device.map. "$path = Bootloader::Path::Grub_grubconf();" Gets path for grub configuration file grub.conf (this file contains commands for initialize bootloader). "$path = Bootloader::Path::Grub_grub();" Gets path for grub binary "$path = Bootloader::Path::Elilo_conf();" Gets path of elilo configuration file. "$path = Bootloader::Path::Elilo_efi();" Gets path to efi directory. "$path = Bootloader::Path::Elilo_elilo();" Gets path to elilo binary. "$path = Bootloader::Path::Lilo_lilo();" Gets path to lilo(or powerlilo) binary. "$path = Bootloader::Path::Lilo_conf();" Gets path to lilo(or powerlilo) configuration file. "$path = Bootloader::Path::Zipl_conf();" Gets path to zipl configuration file. "$path = Bootloader::Path::Zipl_zipl();" Gets path to zipl binary. perl v5.12.1 2010-05-14 Bootloader::Path(3)
All times are GMT -4. The time now is 02:04 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy