Is there a tool for modifying the shared library entries in the dynamic section of an ELF binary? I would like to explicitly modify the shared library dependencies in my binary (i.e. replace path to existing library with a custom path)
...
I have an application written in C++ using Qt4.4.3 on Linux.
Doing some benchmarking, I create a large number of rectangles and compare the difference of performance of drawing various line styles. The worst performance is the “dotted” line style, the “dashed” line style is much faster.
It would seem to me that these should not vary so...
I've written code for an Epson SED1335 lcd driver (not the 1355) and I would like the driver to behave as a FB driver. When it's all said and done, how is the driver named in the kernel command line?
Is it the same name given to the name field in the device_driver structure? Ex. the 1355 driver populates this field with "epson1355fb"...
I am looking for any papers, implementations, or just general ideas about common linux/unix utilities writing/reading structured output/input.
The structured output could be anything, xml, jsopn, yaml, etc.
This question: http://stackoverflow.com/questions/703163/formatting-shell-output-into-structured-data
asks pretty much what I am...
Hi - I am trying to install ffmpeg on an EC2 instance, by doing the following:
(1) Editing: '/etc/yum.repos.d/dag.repo' and inserting:
'[dag]
name=Dag RPM Repository for Red Hat Enterprise Linux
baseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/dag
gpgcheck=1
enabled=1'
(2) Running 'yum update'
I get the error 'http://ap...
I want to version control my web server as described here, by creating a git repo out of my /var/www directory. My hope was that I would then be able to push web content from our dev server to github, pull it to our production server, and spend the rest of the day at the pool.
Apparently a kink in my plan is that Git won't respect fi...
Hi,
I've got problem with look of freshly installed Eclipse in my Ubuntu 10.04. The toolbars and tabs are just too wide, there's lot of empty space above and below text or images on them, so I wish to make them narrower.
Fast look in google didn't give the answer how to configure it, so I hope someone has dealt with it. This is same ...
I'm using RabbitVCS to work with Google Code, and I just recently started having problems with trying to commit. Whenever I try to commit, it says...
Commit failed
Server sent unexpected return value (500 Internal Server Error) in response to Checkout request for (some file that is involved in the commit. The file it fails on isn't con...
I want to load a txt file into an array like file() does in php. I want to be able to access different lines like array[N] (which should contain the entire line N from the file), then I would need to remove each array element after using it to the array will decrease size until reaching 0 and the program will finish. I know how to read t...
How do I upload a single file from my local computer to a SVN repository?
I can import a directory, but I can't import a single file into existing directory.
I use SVN in linux (command line).
Any help would be appreciated.
Edit:
I forgot to mention, I need to upload this file into a specific directory that has nothing to do with di...
I'm trying to setup mercurial using the HgLogin I have the following problem system. I done everything that is needed but when I tried to login to my repository I receive this answer:
remote: /home/mercurial/hg-login: line 1: use: command not found
: command not foundrial/hg-login: line 1:
: command not foundrial/hg-login: line 2:
remo...
On Windows if there is no symbols for a module involved in a callstack, say of a crash dump, then all the call below that module in the callstack would be wrong (not only the names are missed, but also the sequence).
On Linux or Mac OS X, if symbols are absent, the function names are not shown, but the call sequence are still remain.
W...
I got into a discussion a while back. The company I work at develop under Linux and does so in ANSI C. A lot of benefits could come from moving to C++ as far as design goes I think. Our existing code would just have to get rid of all implicit type casts since C++ is a bit stricter about that and it would compile and run as usual. But I w...
Is Performing Complex Multiplication and Division beneficial through SSE Instructions.
I know that Addition and Subtraction does perform better in the SSE Land.
Can some one tell me how I can use to perform complex multiplication to get a better performance.
...
What's the best way of turning a pile of images into a video?
I'm on Linux, by the way.
...
Possible Duplicate:
How does a compiled C++ class look like?
Hi all,
bash$cat struct.c
struct test
{
int i;
float f;
};
bash$gcc -c struct.c
The object file struct.o is of elf format. I am trying to understand what does this object file contain. The source code is just a definition of a struct. There is nothing executable...
I have access to computer in a public library and I want to try out some C++ and maybe other code. Problem is that there is no g++ installed and I can't install it using packages because I have no root access. Is there a "smart" way to make a full environment for programming in a home folder?
I have gcc installed (I can compile C code)....
I am writing a cross-platform compatible function in C++ that creates directories based on input filenames. I need to know if the machine is Linux or windows and use the appropriate forward or back slash. For the following code below, if the machine is Linux then isLinux = true. How do I determine the OS?
bool isLinux;
std::string sla...
I have to use a provided script that takes user input while the script is running instead of parameters. I can't get around this.
An example of script would be:
#!/bin/bash
echo "param one"
read one
doSomething
echo "param two"
read two
doSomething
echo "param three"
read three
doSomething
echo "param four"
read four
doSomething
e...
I cannot build Poppler 0.14.1 from source code on CentOS 5.4. When I do ./configure it ends with a message like:
checking for FONTCONFIG... configure:
error: Package requirements
(fontconfig >= 2.0.0) were not met:
I have successfully built from source code, and installed
fontconfig 2.8.0
on that machine, and also set th...