Programming :: In ASM - When Will The FLAGS Will Be Reset
Mar 14, 2011
I am executiong a instruction, ADD CX, BX ;which affects the (carry flag) CF =1
Now, my question is when (CF =0) it will be reset ?
Is there any constrains for other flags/instruction to reset FLAGS?
View 1 Replies
ADVERTISEMENT
May 19, 2010
I have problems with linking object files.
This is what I get:
View 8 Replies
View Related
Apr 10, 2011
If I would normal compile using the following line:
Code:
Where should those library flags go in a makefile? Say I having the following makefile:
Code:
all: ${PROGS}
clean:
View 8 Replies
View Related
Mar 16, 2010
I cannot seem to find any good documentation on the role of flags -Bdynamic and -Bstatic in g++. The man pages are not very helpful either.I found an example on the web:"gcc object1.o object2.o -Wl,-Bstatic -lapplejuice -Wl,-Bdynamic -lorangejuice -o binary".According to which -Bstatic instructs the linker to statically link
the applejuice library and to dynamically link the orangejuice library. If orangejuice uses the applejuice library anywhere however,the applejuice is also linked dynamically. Is it correct to assume that this is correct and describes the true functionality of those two flags in gcc? (ie: Bstatic and Bdynamic are used for mixing static and shared libraries during linking)Is it correct to assume that the same applies to g++ as well?
View 2 Replies
View Related
Nov 12, 2010
I'd like to create a target named "debug" or something similar which will use some special optimization flags useful when debugging (for example -ggdb). At the moment my makefile is neat (which I like) and looks like
Code:
SRC = $(wildcard *.cxx)
OBJ = $(SRC:.cxx=.o)
INCDIR = -I.
LIB = -lm
[Code]....
View 2 Replies
View Related
Aug 16, 2010
I have written a regular expression (tested in regexpal and regextester alpha something) with which I want to replace something like code...
but it only matches functions which occupy one line only, despite my tests showing multiple line matching in javascript testers online and using the m and s flags (which should make it multi line no?)
View 14 Replies
View Related
Jul 9, 2011
I am writing a C program which is contains Mysql header files and APIs but it can not compile it and its error is : Quote: undefined reference to
to all of Mysql APIs that I included their headers .In command line I compile my source like this with no problem: Quote: gcc test.c -Wall -o test -lz `mysql_config --cflags --include --libs`
I think code block does not have bold italic part of this command. How can I add this to code block to compile my project or those project that contains Mysql APIs (just my project not all of defined projects that has no relation to mysql APIs)with this gcc flags.
View 3 Replies
View Related
Jul 10, 2011
I am writing a C program which is contains Mysql header files and APIs but it can not compile it and its error is :
Quote:
undefined reference to
to all of Mysql APIs that I included their headers .In command line I compile my source like this with no problem:
Quote:
gcc test.c -Wall -o test -lz `mysql_config --cflags --include --libs`
I think code block does not have bold italic part of this command. How can I add this to code block to compile my project or those project that contains Mysql APIs (just my project not all of defined projects that has no relation to mysql APIs)with this gcc flags.
View 2 Replies
View Related
Jun 3, 2011
I'm unable to reset using either the reset option in gnome shell or the command using a terminal. When I select it the shell exits and displays the graphic "exploding" and then it just sits there. Shutdown works fine; just no reset. Any ideas? I've installed from the DVD. I booted the live CD and it resets just fine so I know it's no my hardware
View 1 Replies
View Related
Jun 29, 2011
I have beeen trying to find a list of all flags that can be used in UNIX and their meaning but I have had no luck.
Does anyone know if such a list exists?
If so where can I find it?
View 10 Replies
View Related
Sep 7, 2010
I am creating a very minimal LFS distro that will be targeted towards a very low ram machine as a server.
The machine has 32MB of RAM and a P3 Processor.
I am using a flash drive as the hard drive. The flash drive is rated at 512 MB.
The processor I am not worried about but the RAM I am.
What would be the best optimization flags for RAM and Size?
I didn't set "march" to "native" because I am building the LFS distro on a much much faster PC and going to run it on the older PC.
I know: CFLAGS="-Os -s -march=pentium3" is the minimal but is there anything else?
Should I use "-march=pentium3" or "-march=i686"?
View 2 Replies
View Related
Jul 23, 2015
I'm researching how I want to go about making my own LXDE install without using any of the options from tasksel. I have a few questions about metapackages.
First: Will the apt-get flags "--install-suggests" and "--no-install-recommends" affect what is installed from metapackage dependencies?
For example, if I install the lxde package, it also installs lxde-core. If I do:
Code: Select allsudo apt-get install lxde --no-install-recommends will recommended packages from lxde-core also be excluded?
Second: Is there a way to automatically install the alternative "or" packages listed?
For example, [URL] lists several alternatives to the defaults: audacious instead of lxmusic, transmission instead of deluge, etc.
View 2 Replies
View Related
Nov 2, 2009
I have several questions:
Is it possible to find out with which flags system was build?
Is it possible with what options and flags application was built ( mplayer for example)?
How to set default gcc flags for building packages in fedora?
View 2 Replies
View Related
Mar 26, 2011
i am trying to connect my AWUS036H to my Compaq CQ60 laptop running Ubuntu 10.10. when i check ifconfig, one minute my wlan1 is there, next minute its not, if i try to do a sudo ifconfig wlan1 up i get, wlan1: ERROR while getting interface flags: No such device and when i try it again it accepts the command no probs, i suspect this is because the device is in and out every few seconds. when i checked rfkill, i found a hard block which i resolved with unblock all, i have checked the unit under windows and it works just fine so i suspect it is a problem with my ubuntu
View 2 Replies
View Related
Feb 12, 2011
Greetings, I want to automatically append flags to certain commands. For example, when I type:
ls
at the prompt, I want the
-la
flags automatically appended without me having to type:
ls -la
View 2 Replies
View Related
Jun 28, 2011
While using wifi slax every gos ok until i get wlan0 error while getting interface flags no such device how can i fix this.
View 1 Replies
View Related
Apr 10, 2010
Running Vector Linux 6.0 light (icewm). I've always set my compiler flags at the end of my profile file in etc folder (/etc/profile). They always worked whenever it came to compiling any application (./configure && make). Since I installed vector linux they don't. I used mostly slackware in the past then switched to absolute linux. Loved it but then it got old + on reinstall it crashed on bootup with horizontal corruption on bottom half of screen! Don't know why cause everything was the same!
So obviously vector linux works somewhat different as my compiler settings are stored the same way I've always stored them in /etc/profile but they aren't being used-enforced.
Hell I even made a #/bin/bash file with | CFLAGS="blah" CXXFLAGS="${CFLAGS}" && export CFLAGS CXXFLAGS | but after making it executable they don't wanna stick. Not sure if it was done before the ./configure part of compiling though... Even if it did work it's still not the set it and forget it that I've always had with past slackware installs
How do I tell vector linux to use my compiler flags without having to make it work but typing in console | CFLAGS="-O2 -march=prescott -mtune=prescott -pipe -ffast-math -fmerge-all-constants -funswitch-loops -mmmx -msse -msse2 -msse3 -fomit-frame-pointer" CXXFLAGS="${CFLAGS}" && export CFLAGS CXXFLAGS ./configure | everytime I wanna compile something?
I can login-stay in real-mode terminal console incase I feel like doing things outside of X. I like vector linux but I wish it was more slackware like. It seems a bit proprietary for being like slackware.
View 2 Replies
View Related
Jul 12, 2009
I've got a question about chattr command. is it possible to restrict a root access for this command. what i want is something similar to freebsd behaviour aka the kernel secure level. setting a particular security level results in limiting some operations (i.e changing immutable flags on files) by root. well, if someone gained an access to a machine in some way, nothing would stop him changing the file's flags. so the question is if it can be achieved with selinux?
View 2 Replies
View Related
Dec 8, 2010
Chromium was running fine , till i enabled GPU Acceleration , Click2Play and tabbed preferences from "about:flags" ... Now every time i start chromium it instantly crashes..
This is the crash report :
----------- .xsession-errors ---------------------
[5095:5095:2310863628:ERROR:base/native_library_linux.cc(32)] dlopen failed when trying to open /usr/lib/chromium/libffmpegsumo.so: /usr/lib/chromium/libffmpegsumo.so: cannot open shared object file:
[5097:5097:2310891375:ERROR:base/native_library_linux.cc(32)] dlopen failed when trying to open /usr/lib/chromium/libffmpegsumo.so: /usr/lib/chromium
[Code].....
I think i need to disable GPU acceleration to get it running... so i need to disable it from a config file in /home/.config/chromium .
View 1 Replies
View Related
Apr 9, 2010
I am having an odd problem with a program I'm trying to run which is supposed to connect to a network. The messages printed when I start up the program are:
SIOCSIFNETMASK: No such device
192.168.11.50: ERROR while getting interface flags: No such device
SIOCADDRT: File exists
One reason this is particularly odd is that the network itself appears to be working fine, otherwise. I can connect to the internet on my computer and everything, but the program is not able to connect to it, for whatever reason. I've tried tinkering with the settings but nothing worked.
View 3 Replies
View Related
May 4, 2010
I use 4 languages on my Gnome Desktop, that's the max that they allow! I also use flags as language indicators on my gnome-panel. The problem is that, I am using two Indian languages and the flags for these two is the same.. (The Indian one!) I would like to use custom flags for these two languages.. I know that I have to place them in /usr/share/pixmaps/ ..... But, how do I ensure that these two languages target two different files? Presently both the languages are using the in.png file...
View 3 Replies
View Related
Mar 29, 2011
I wanted to stop hi jacking the work around thread. I'm running Kubuntu 64 bit I started by following this walk through[URL].. everything is fine until i get to Step 5 this line :
sudo ifconfig wlan0 down (on some hardware it is ra0)I receive this output: wlan0: ERROR while getting interface flags: No such device I started browsing other threads to see what else could be happening. I ran this line : sudo lshw -C network
with an output of:
*-network:0 UNCLAIMED
description: Network controller
product: RaLink
vendor: RaLink
physical id: 0
bus info: pci@0000:06:00.0
version: 00
width: 32 bits
[Code]...
View 9 Replies
View Related
May 28, 2011
this is how to set your ubuntu for compiling to use multi processor. some older packages require you to use only 1 processor. so comment the export make flag, then "echo $MAKEFLAGS" to see how many processors your using you might need to "source .bashrc" to update the rc file
Code:
cat >> ~/.bashrc << "EOF"
# parallel compile settings
[code]....
View 2 Replies
View Related
Mar 16, 2010
Can both EXT4_FEATURE_INCOMPAT_META_BG and EXT4_FEATURE_INCOMPAT_FLEX_BG flags turn on the same time? If yes, I am wondering whether there is a correlation between the numbers of block groups in META group and FLEX group. Where are backups of superblock and group description table (GDT) stored in this case?
View 1 Replies
View Related
Jun 15, 2010
I am reporting various network statistics in a c++ program by reading the values out of /proc. However, I am having trouble determining the link status. In particular, I am wondering:
1. How are the standard interface flags (IFF_UP, IFF_RUNNING) as referenced in if.h accessed from user land? The ifconfig man page lists its files as
/proc/net/socket (doesn't exist in suse), /proc/net/dev, and /proc/net/if_inet6. None of these seem to contain these flags.
2. ip link show reports a "NO-CARRIER" flag. How does this correlate with the "UP" and/or "RUNNING" flags as reported by ifconfig, and how is it accessed from user space?
View 1 Replies
View Related
Jun 14, 2010
yesterday without reason my eth0 dissappeared. I read through various threads, tried couple of things, and now its s back as eth3. If I bring up the network on the console it says [OK], but I cant ping my router or access any website.
BTW: During the proccess I removed network-manager-kde, which I regret now (cause I cant install it again w/o network). Even so my network was configured manually, it would be good to have it now for testing connections. The machine also got no CDROM-drive, I installed via USB.
EDIT: I booted up again, and now eth3 is gone again I get the former error message when I restart the network: "eth3: ERROR while getting interface flags: No such device"Same with all other ethX. As far as I can see w/ my basic knowledge, the realtek adapter is present and working. ifconfig only shows me "lo" nothing else.
View 9 Replies
View Related
Oct 14, 2010
On Ubuntu Server 10.10 the second bond device won't come up. Someone please advise the correct configuration. Error message when I run /etc/init.d/networking restart:
Code:
SIOCSIFADDR: No such device
bond1: ERROR while getting interface flags: No such device
SIOCSIFNETMASK: No such device
SIOCSIFBRDADDR: No such device
bond1: ERROR while getting interface flags: No such device
bond1: ERROR while getting interface flags: No such device
Failed to bring up bond1.
[code]...
View 5 Replies
View Related
Feb 6, 2010
Everytime I login the SELinux Troubleshooter panel applet alerts me that I have 1 alert to view, however when I click on the icon and bring up the Troubleshooter there are no alerts
View 2 Replies
View Related
Feb 17, 2011
I'm trying to cross compile something and it requires a recent version of Boost. I'm using squeeze and gnome and my updates are all up to date. I could not get through the 'configure' stage with Boost dev packages from the debian repository, so I went to the Boost web site. I thought the package requires boost 1.44 or later, so I downloaded 1.45.0 from the site and proceeded to build and install it. I think I installed it right, using /usr/local/ as the prefix. Back at my main project, I try to configure my build and I get some of the following text and then the configure stops.
Code:
checking for Boost's header version... 1_45
checking for the toolset name used by Boost for arm-none-linux-gnueabi-g++... configure: WARNING: could not figure out which toolset name to use for arm-none-linux-gnueabi-g++
checking boost/date_time/posix_time/posix_time.hpp usability... yes
[code]....
I cannot get past the 'date_time' thing. Does anyone know what is meant by 'flags to link with Boost date_time' ?
View 2 Replies
View Related
Oct 24, 2010
There are several posts here about not being able to boot without the install disk, which is also my case. I imagine the solution for me should be easy, because I only have a single installed OS on this machine, which is a MacBook Pro 2.1. Here's the result of fdisk -l:
Code:
WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
[Code]...
Partition table entries are not in disk order sda4 is a partition that did not appear in the partition overview when I installed the operating system. I thought I'd look for help here while I continue to research the problem myself.
View 4 Replies
View Related