General :: Find Equivalent Cc Options For Gcc Compiler ?
May 30, 2011
I am comiling some programs on Linux using gcc previously compiled using cc compiler on Solaris. Below are some of the confusions:
1. There is -xildoff option in cc which is giving error "language ildoff not recognized". xildoff in cc is for switching off the option of incremental editor ild. Is there anything equivalent on gcc?
2. There is runtime link option in cc as -R but gcc just says "unrecognised option". Does gcc only supports LD_RUN_PATH?
3. There is -Xa option to force cc to chose a particular flavor of c.Its for default c and K&R C. gcc has -std option but not sure which one is equivalent to -Xa in c. It seems -std=c90?
View 2 Replies
ADVERTISEMENT
Sep 14, 2010
I can't seem to find the KDE equivalent of GNOME's (or Xfce's, or Windows') ALT-spacebar keystroke combination that brings up the window context menu.
View 4 Replies
View Related
Apr 12, 2010
We often require to find an equivalent text command for any GUI operation. Just as an example we click on a folder (say ABC) from the current directory in order to see the contents of that directory. The equivalent command for it to happen would be->
Code:
cd ABC ls Now the thing is that we often don't know what that equivalent command will be. So I want to know that is there any way out to find it. What I want to do is that I shall perform any operation using mouse in the GUI mode(whatever operation it could be) and then I can see a log file to see what I actually did last(rather what the command would have been if I have worked in the text mode)...
View 1 Replies
View Related
Apr 21, 2011
I am writing a script to install a program (a GUI interface) and would like to search if the required software is already installed. This made me think of the command whereis. I was curious how the command whereis is working but didn't know where to search. Is it equivalent with a find at the most common locations?
View 6 Replies
View Related
Jan 24, 2011
I'm wondering what my alternatives are when I lose power to the external hard drive where I have Debian installed. I realize that the best answer may be a battery backup UPS for the external hard drive. It seems that I recall that when a similar scenario happened on my SunOS Sparc workstation, I would simply hit [Stop-A] and then type in the "sync" command. I now have a laptop and am running Debian off of an external harddrive that has its own power supply. When I lose power, my laptop obviously continues to keep running but my session is essentially and understandably hosed because the main filesystem is not accessible. Gnome desktop goes away and I am thrown to the main console login. When power resumes, I cannot login to attempt a remount or anything. When I hit [ctrl-alt-del] thinking that that is less forceful than just holding down the main power on the laptop, I get cannot execute "/sbin/shutdown". Is there a [STOP-A] sync equilavent or some way or keyboard sequence to get to GRUB to issue a reboot command?
[108200.233484] EXT3-fs error (device sdb1); ext3_find_entry: reading directory #55500801 offset 0
"
"
INIT: cannot execute /sbin/getty"
INIT: ld "1" respawning too fast: disabled for 5 minutes
INIT: cannopt execute "/sbin/shutdown"
View 2 Replies
View Related
Jan 25, 2010
How can I disable structure alignment feature of gcc using command-line options ?I recently migrated to 64-bit OS, and doubt that I might be experiencing a structure alignment problem due to the new 64-bit architecture.I checked the sizes of the same C-style struct in both x86 and x86_64, and found out that they appear to be different by 20 bytes.I am not sure if this is due to structure alignment or the differences in data type lengths between two platforms.Hence, I will first disable the structure alignment feature, and then check the struct sizes again.
View 3 Replies
View Related
Jan 7, 2011
Code:
How do I know what option means what to compile my own kernel? How to find support for different hardware in this mess (and exclude it)?
View 3 Replies
View Related
Nov 24, 2010
Is there a way to find out with what options a library was configured with when it was installed? I am trying to install a library on my system that depends on gasnet and it requires me to configure it with the very same options that gasnet was configured with. Gasnet was not originally installed by me, so I cannot tell. I can see bin/, include/, lib/ and share/ directories in the gasnet folder and no other information in it. To be specific, I need to use the same CFLAGS that were used during installation of gasnet. For example, if it was installed using '-g -O2', I have to make sure I use the same CFLAGS here.
View 4 Replies
View Related
Aug 28, 2010
Is there some file in Linux that enumerates and describes mount options for file systems like /etc/services describes ports?
View 2 Replies
View Related
Nov 7, 2009
I have recently installed Fedora 11 and I am having some trouble with it. While installing another program I get the message: make: g77: Command not found
I tied to look for the compiler to install using yum search g77
And got the following list:
I was wondering if it is in some obscure repository, which would seem odd to me. I have the following repositories available (as shown in yumex) :
View 2 Replies
View Related
Jul 29, 2010
I cannot install g++ on my ubuntu...i can't find the option foe the G++ compiler in the Ubuntu Software centre...and while typing G++ in the terminal I get a message that tells me to add some pentium...
View 1 Replies
View Related
Dec 27, 2010
i have installed on my home PC CentOS 5.5, and downloaded Python 3.1.3 source, when I have tried to run the configuration file I have got
checking for --enable-universalsdk... no
checking for --with-universal-archs... 32-bit
checking MACHDEP... linux2
checking machine type as reported by uname -m... x86_64
[Code]....
I have tried downloading gcc and installing it, but got the same message. So, I can't find any C compiler, and I can't install one.
View 4 Replies
View Related
May 19, 2010
I want to compile MFiX which is a simulation software. Therefore, I installed the Intel Fortran Compiler Ver. 11.x When compiling, I can only choose between Ver.9.x and 10.x.
This is a part of the error message when choosing either:
Is there a possibility to link the program to the newer compiler version?
I'm using Centos 5.4.
View 5 Replies
View Related
Apr 5, 2010
I'm using Karmic 64bit.
I tried to build firefox with PGO using Intel C Compiler (icc), but, configure gave this error message.
Code:
configure: error: Could not find the following X libraries: -lX11 -lXext -lXt
*** Fix above errors and then restart with "make -f client.mk build"
When I tried it using gcc, there's no error msg. What can I do?
My .mozconfig file is...
Code:
export CC=icc
[Code]....
View 2 Replies
View Related
Dec 14, 2010
So for those of you who has built GCC from source would know that you can't install GCC without an existing GCC. So my question is, what would happen if all computers in the world suddenly just died, and all you had was the computer in front of you, and a copy of GCC 4.5. How would you install that?
I ask because I would like to install GCC 4.5 on my old powerbook G4 mac without installing a binary GCC provided by Tiger 10.4 disks. I would like to build GCC from source, without an existing GCC to complicate updating.
View 6 Replies
View Related
Feb 5, 2016
I want to search for a file in Dolphin. I select 'Find' and "More Functions" but I columns for filetype, time and rating are not activated. How to have them activated? Online, I come across 'Baloo' service being required. What's that?
View 3 Replies
View Related
Jun 1, 2011
I can't find any proper power management options on Fedora 15, only really basic simple options under the Advanced tab of the Screensaver.Where can I change the Power Management settings in F15?I'd like to set it so that
- screen powers down on closing the lid only, else never powers down / or after a certain time.
- the machine never powers down, either on AC or on battery.
- screen dims on battery after some time, but no on AC.
- hard drive never powers down.
I previously used Fedora 14 and earlier version on my laptops, and could easily set these power management either through the Screensaver, or directly from another menu.Also, I enabled the "Blank Screen Only" mode in the Screensaver, and disabled the "Lock Screen After", but it still asks for a password after some time. How can I stop that?
View 14 Replies
View Related
Sep 9, 2010
i tried to install gcc-4.5.0 on opensuse 11.2 I gave ./configure but it gave the error couldn't find the c compiler.. the message was
[Code]....
View 2 Replies
View Related
Feb 26, 2010
I have to use alsa for audio to work under wine (otherwise pulseaudio starts eating up processor cycles and the audio comes out horrible and distorted), but I have been unable to use the mic. The mic boost is up on the alsa mixer, and they are not muted. I cannot find any options under my system menu for Sound Preferences (which seems to get references in a lot fo help forums), or anywhere else to determine which audio driver the line in on the front uses.
I'm using an Acer laptop from a couple years ago, so support should be no problem.
View 2 Replies
View Related
May 14, 2010
I upgraded from 9.10 to 10.4 and I get the black border around my desktop. I can't find the scaling option and tried installing the proprietary drivers within Ubuntu and still nothing.
View 4 Replies
View Related
Sep 11, 2011
The GNU sort text utility features a non-standard -R option to randomize input lines (presumably by sorting on a hash).
OSX sort does not have this extension. Is there similar functionality available in another text filter?
View 1 Replies
View Related
Oct 25, 2010
Does anyone know where I can dowload a C compiler for Linux?
Running RHAT 5.0 on SunFire X2270
View 2 Replies
View Related
Feb 16, 2010
If I want to use the locate command on a Linux machine, I usually run sudo updatedb first to update the database. I can run the locate command on OS X 10.5 but I can't find updatedb. What's the corresponding updatedb for the mac?
View 2 Replies
View Related
Aug 19, 2010
What is the equivalent of Solaris's cu command in Linux?
View 2 Replies
View Related
Jun 2, 2011
Under unix/linux, there is this extremely useful program screen: it's for bash, text-only, and I can detach a session, log out (the session is still running though), log in later (even from a different computer) and resume the session exactly as I left it. My question is, is there an equivalent to screen for X? So what I want to do is: work remotely with ssh -X in an X-session on a remote linux machine, log out, then later log in from a different computer again with ssh -X and then re-attach the X-session; practically resuming work from the moment when I logged out before. Is this possible?
View 4 Replies
View Related
Jul 14, 2011
When creating a shortcut in windows it makes a .lnk file.
I have researched and it seems these are openable in linux(with some tweaking). Does Linux have an equivalent? If so, whats the extension?
View 2 Replies
View Related
Jul 28, 2011
I need to tail -f a log file that is rotated.
This is the exact same issue as the one here, but on OS X:
Why does less tail mode stop working?
So how can I constantly track a file whose inode might change under OS X?
View 1 Replies
View Related
Aug 20, 2011
I'm looking for a Konsole equivalent for Gnome.I don't want a Quake-style dropdown console. I like tabs and the ability to send a command to all tabs.
View 3 Replies
View Related
Jun 24, 2011
The <Esc> key has an equivalent two-keystroke sequence within vim, I think I remember.
View 8 Replies
View Related
Dec 2, 2010
i want to start a project in my spare time. Starting with 2 PC's and expanding to a few more in the future how can I create my own GRID? I was pointed in the location of Uni-core which i have just started having a look at. Anyway could any offer any advice if you have tried soemthing similar. If I could host my own Virtual Environment using the processors/memory of more than 1 pc ill be a happy chappy. Let me know if it isn't worth the hastle, feel free to suggest something else to try
View 2 Replies
View Related