Programming :: What The "-FC" Option Does In G++
Mar 2, 2010Does anyone know what the "-FC" option does in g++?
I have it in my SConstruct script that builds the command line g++ command, I have searched google
Does anyone know what the "-FC" option does in g++?
I have it in my SConstruct script that builds the command line g++ command, I have searched google
I'm running sed in WinXP on a text file using a script file. Every time I run it I get an unknown option to 's' error:C:Program FilesGnuWin32in>sed -f jagerize.sh input.txt>output.txtsed: file jagerize.sh line 22: unknown option to 's' I've tried two different implementations of sed, with the same result. Deleting the offending line in the script file still produces the same result (as the next line has the same syntax). I'm guessing the problem has something to do with WindowsXP, but I'm a complete newbie with sed and Linux.Here is the script file I am using:
#!/bin/sh
#
# Jagerizer 1.2
[code]...
(i) I usually make multiple dir using -p optionex: mkdir -p dicttest/audrep/tdriver/testNow after creating this dir's i stay in current dir instead i want to go directly to test dir how can i acheive this.(ii) When i execute which command as followswhich testerm i will get the location of testterm now i want to open this filewhen i did in this wayhich testterm | vi The file dosent get opened how can i acheive this ?ex:
linuxx86:110$ which testterm
/view/rdl110_linuxx86/vobs_usrrdl/sc/testterm
linuxx86:110$ which testterm| vi
[code]....
I am trying to compile a hello world program to run on a powerpc processor. I used GCC 4.4.1 from Ubuntu 9.10 on a X86 (PC) platform.
Which value should I use to indicate powerpc architecture?
I'd like to pass the following arguments to a bash script in any order:
Code:
myscript -l <country> -r <file1> <file2> ... -o
I read the argument list in a switch shift loop. I figured out how to read the filelist but only if -f is the last option.
how to position the file list anywhere in the argument list?
I am creating a script for making a public folder in linux. The idea behind is to allow any user to write files in this folder and further each of those files can be used by any user. For this purpose I am using acl. This first requires to set acl as mount option in /etc/fstab which I need to do with help of (awk and sed) command available in linux.
The line below is the fstab entry which I need to make change in.
UUID=e9a3db4b-d8c0-40b4-a661-131e13afea1e
/ext3 relatime,errors=remount-ro 0 1
I want my script to identify this line (most probably with / which denotes the mountpoint) and then add (acl,) without brackets in options. Currently I use the command as below
sed 's/realtime/acl,relatime/' /etc/fstab
but the above command is in reference with (realtime) what I am planning is that my script should be able to find the line which has / and then go to options and add acl there.
I am working with a third party that use windows to compile. When we port that code I am running into a lot of case issues where the includes are not case sensitive. Is there any option in GCC to make it case insensitive. I know its a long shot, as I have done reading and does not seem so.
View 1 Replies View RelatedI have got a program using semctl(). I cant understand the value returned by semctl using GETPID option and its difference with the actual pid obtined by getpid()as in the following code:
Code:
int semid,retval;
semid=semget(0*20,1,0666 | IPC_CREAT);
retval = semctl(semid,0,GETPID,0);
[code]....
I am working for a product which was evolved over a decade. There I have some combination of C style coding and C++ coding in same libraries. I am landing on some instances where C style function is expecting forward declarations for some other function for which I can not declare (due to design and architecture). Is there any g++ compiler option that directs the g++ to look whole preprocessed file (because definition is there down in the preprocessed file) than only forward in the preprocessed file. All these years this code is working as we are using CC compiler and that looks entire preprocessed file than only in the forward direction.
<Sample Code
Header1.h file
Function1()
{
[code]....
if I can not include Header2.h first then Header1.h. I have to include Header1.h and Header2.h because on the design hierarchy in this product. Also the function definitions are in header files as they are either template functions or functions expanded through macros.
I am getting this error "Unknown filter "police", hence option "rate" is unparsable. This is in Linux Kernel 2.6 which is compiled with the "policing" option enabled in Qos (Kernel config). The error seems to be coming from the file tc.c in iproute2/
static int parse_nofopt(struct filter_util *qu, char *fhandle, int argc, char **argv, struct nlmsghdr *n) {
__u32 handle;
if (argc) {
fprintf(stderr, "Unknown filter "%s", hence option "%s" is unparsable
", qu->id, *argv);
return -1;
} if (fhandle) {
struct tcmsg *t = NLMSG_DATA(n);
if (get_u32(&handle, fhandle, 16)) {
fprintf(stderr, "Unparsable filter ID "%s"
", fhandle);
return -1; }
t->tcm_handle = handle; }
return 0; }
This is called from get_filter_kind() which is called from tc_filter_modify(), called from do_filter(), from do_cmd() from main()...all in tc.c. Is this a known "bug" in iproute2+2.6 as the 2.4 Kernel works with the same settings?
when I go to download 11.3 I am presented with the installation medium for a DVD installation with a button that says download DVD. Should there be an option to download an ISO option for a CD installation on this page along with the DVD version? Some of our older machines can only read CD's with a max size of 500+ megs.
View 3 Replies View RelatedI installed Maverick with auto login. One could undo this by reinstalling I suppose, but is there an easier way to get back to the standard form of login?Hopefully that will cause my default key ring to unlock correctly.
View 3 Replies View RelatedWe do use kickstart configuration file to customize the CentOS installation. In the partitioning screen, I do see a check box for encryption (encrypting the disk blocks).
I want to remove this checkbox in my kickstart configuration file. What is the option to use to get rid of this checkbox.
I am using Lam mpi. The problem I am facing is that, I am not able to use the "-s" option for lam mpi which is used for loading the program from a particular node and then using the nodes in the cluster to execute the program.
Now I have to copy instance of the executable to every node for the program to run in the cluster. Is there anyway to load the program from a particular node and then use the cluster nodes in its execution without manually copying the executable to each and every node in the cluster
I want router catch the ip packet which mark router alert label, change it and send to the next hop. Not just forward it immediately.
So I set IP_ROUTER_ALERT and IPV6_ROUTER_ALERT option for ipv4 and ipv6 socket. IP_ROUTER_ALERT was just fine and I can do what I expect. However when I set on IPV6_ROUTER_ALERT, it tells me "Protocol not available" (errno = 92). And This option can be found in "$Kernel/net/ipv6/ipv6_sockglue.c"
Ubuntu Server 9.10I want to set up my dhcp server to also be my DNS server so do I skip these lines or point them at the same server that the config file is on?
View 4 Replies View RelatedI am interested in learning 3D programming. The thing is, I would hate to put too much effort to learn something that doesn't have future and is dying. My favorite language at the time is Java. My goal is professional programming.
So I have several questions:
1. Should I learn JOGL or start learning C++ and do C++ openGL programming?
2. Is there a big difference between JOGL and C++ openGL programming?
3. Is it worth to learn openGL? Does it have a future?
4. Is it a big difference between openGL and directX coding?
5. If choosing Java, then JOGL or LWJGL?
Why and what is the main difference between them?
I no longer seem to have the option to hibernate my laptop. I can suspend it, but I would like the ability to hibernate. Does anyone else have this problem. Could I issue a terminal command to do this?
View 1 Replies View RelatedFedora 15 with Gnome 3 is turning out to be dream for me. I am loving it, except few of the old things are gone. I don't care about the not so important stuff but I do care about the Extract here menu option, that I used to have before. I did checked I have latest unrar installed but still I don't see in Nautilus 3.0.2 context menu Extract Here option to unrar compressed files. So, I have to use the Archive manager which I want to avoid. Other feature I am missing is status bar in desktop (bottom bar) any idea how to get that back on gnome 3.
View 7 Replies View RelatedI have my router encrypted with a 64 bit wep key but i cannot select to enter a 64 bit password...
ImageShack® - Online Photo and Video Hosting
The easiest thing to do would be to change it to 128 bit but thats no fun.. but ill do it if i have to
I would like the ability to right-click on a file and encrypt it, but after genning the PGP key pair in seahorse that option doesn't exist on the pop-up menu.
View 6 Replies View RelatedI have been on Ubuntu for two days now and the option was always there, but now its gone. As you can see on the top right the time is in the corner were the option used to be.
View 4 Replies View RelatedI recently installed 10.04 LTS and I have no option to suspend my desktop. I have always had the option before. I have Ubuntu installed on two other machines that can all suspend. Has this happened to anyone else? Could it be hardware or would a re-install fix the issue?
View 7 Replies View RelatedI need to enable atime on a specific drive. I edited /etc/fstab to include the atime option. After remounting, 'cat /proc/mounts' shows that the drive was mounted with relatime. The option noatime works. Why is the atime option being ignored?
The drive in question is using XFS.
i'm still on Intrepid (i know, i'm behind the times) and i've been poking around for simple-straightforward info on how to upgrade my VLC 0.9.4 to 1.x.....but everything i've found seems to assume one is already on Jaunty at least. even videolan.org has simple-straightforward info for upgrading VLC for all distros as far back as Hardy....except for Intrepid. and i'm half-tempted to just try following the steps given for those who are on Jaunty and just seeing what happens.....though i also can't help but think that it may be dangerous to do that. does it even matter at all which ubuntu version i'm on, and i'm worrying about it for nothing? xD
View 2 Replies View RelatedI just updated a system I maintain remotely to kubuntu 10.4 which went pretty well on the whole.
However, having left it running a few days to monitor things the user wanted to power off the machine (an HP laptop)
There no longer seems to be a way to turn it OFF. Apart from the session options there is only suspend and hibernate.
What happened to OFF ?
I'm using Xubuntu 10.10 on a Toshiba laptop. Since I upgraded to Maverick, I noticed that the gdm login screen does no longer offer the option to hibernate my computer . The bottom right button can be used to "stop, "restart" or "suspend" but no "hibernate" option. I looked at the option the gconf-editor can toggle for simple-greeter, but no mention of "hibernate" option anywhere. Do you have the same issues on your laptop? How to make that "hibernate" option reappear ?
View 6 Replies View RelatedHey all, I recently did a fresh install of 11.04 and decided to poke around with GNOME 3. Long story short it wasn't my cup of tea so I reverted with ppa-purge. Now, Unity isn't my cup of tea either so I like to use Gnome Classic but for some reason now I only have the options of Unity (Ubuntu) and Ubuntu Classic (No effects). Before I installed GNOME 3 I was able to log into Ubuntu Classic (with effects) just fine. I'm an average linux user, not pro but not completely nub so I would prefer to find a way of fixing this without re-installing Ubuntu if possible.
View 8 Replies View RelatedI have connected my Samsung TV to Ubuntu 11.04 via VGA Cable. It all works, but the problem is that on the TV screen its 2 cm to the right.
I don't have an option on the TV like on the monitors to move right or left or Auto adjust.
I have also tired under Monitor in System Settings, No Option and also under nVidia.
How option of strace are used with example, like strace -e trace=file,strace -e trace=process,strace -e trace=signal, strace -e trace=network, strace -e trace=ipc.
View 4 Replies View Related