Hi All - I wish some insight on the possibility of reallocating a function stack to a malloced regions in realtime ie I jump out of a function and the next time I jump in the stack would have moved along with its data. To me it seems unreliable cause the values in the stack have no type hence I would not know if the stack value is a data value or a pointer. If I mistakenly interpret a data value as a pointer I will update the data value resulting in data corruption.
hi
i was trying to cross-compile an app-"gstreamer" for my ARM box.
i configured the package like this:
./configure --host=arm-linux --disable-tests --disable-failing-tests --disable-examples LDFLAGS=-L/home/bayyavs/backup/popt-1.7/.libs/ CPPFLAGS=/home/bayyavs/backup/popt-1.7/
But while compiling,iam getting this error :
arm-linux-gcc : cannot specify -o with -c or -S and multiple compilations
Hi,
I am compiling code using gcc on SunOS. It gives me following error.
---
cc1: error: unrecognized command line option "-mv8"
cc1: error: unrecognized command line option "-msupersparc"
---
I do not wish to simply delete those options from makefile without knowing their effect on compilation.
I will be thankful with your reply.
regards,
Faisal
How would I compile a program so any dependencies are built into the resulting binary?
Eg. so I could move the binary to any other system and not worry about shared libraries.
Thanks!
hello,
I am attempting to build the latest release of gcc. My current version was preinstalled as:
gcc (GCC) 3.4.6 20060404 (Red Hat 3.4.6-3)
And is configured as:
--prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-java-awt=gtk --host=i386-redhat-linux
Mercury seems to have vanished off the face of the earth (er... site). Will it return? I was looking forward to seeing what's new with the mail_archive module.
CodeWeavers this month announced version 6.0 of its flagship Windows compatibility product. Now called CrossOver Linux, the new version is the first with official support for games. With its growing application support and foray into gaming, CrossOver Linux 6 is an excellent alternative for Linux users who are stuck with a Windows application at work or at school.
Hello,
I just found this forum from a link and I must say it is really great and fully packed with valuable information. I have been DR enthusiast for about a year now. Most of the things I learned by trial and error. I am having a problem with a Western digital SATA hard drive and was hoping for some good advice.
Model: WD2500JS-40MVB1
Problem: Drive is clicking.
Although I didn't believe it was an electronic problem, I replaced the PCB anyway.Result: Nothing changed, the drive is still clicking.I am pretty sure that it is a problem with a Head, so I want to replace the Head stack!I have a downer drive, and although I don't have any real experience with Head stack transfers, I have played with the Head stack before, and I am confident that I will be able to successfully make the transfer. My problem is that I don't have a clean room.I was hoping that someone could give me some advice on how to perform this without using an authentic class 100 clean room.
Taking a stab at writing a portable PHP code for a calendar control, a developer turns out a surprisingly compact, and easily customizable code for just about anyone's particular needs.
Can anyone recommend a data Recovery Company? Like anyone who's had a hard drive crash, I don't want to trust the recovery of my image files to an inexperienced outfit. I have/had a LaCie d2 Big Disk 500GB with about 400GB of files on it. Evidently, the problem is most likely electronic, as there is a small hole burned on the control card. Some of the files are backed up, but not all, and they are all important to me.It's my understanding that the 2 Maxtor drives inside are RAID O configured, which makes recovering the files more complicated. If it's risky to fix, then I want to use a reliable, established company.Any recommendations would be greatly appreciated.If you are pretty sure it is the control board, you can do what the recovery company would probably do anyway...that is to replace the electronics.
I am receiving about two of these drives daily. (Momentus 5400.2)
Without exception, they are manufactured in China, and have firmware 7.01. Also, they are all out of Mac computers.
Is anyone else coming across these? Has anyone successfully managed to repair one?
I am trying to build my appliaction then i am getting the following error with gcc 3.3.3
pasting "version" and "." does not give a valid preprocessing token.
The source of this error is the following piece of code
#define paste_tokens(a,b) real_paste_tokens(a,b)
#define real_paste_tokens(a,b) a ## b
#define stringify(x) real_stringify(x)
#define real_stringify(x) #x
#define NAME_STRING stringify(paste_tokens(lib, paste_tokens(TARGET, .so)))
I have a problem with busybox binary on router board image, created with openwrt environment (www.openwrt.org) under gentoo..
My OS System where i compile openwrt is gentoo amd64 (turon64) with gcc-4.1.1 and binutils-2.17 (same problems also with amd64 env with semprion and on 32bit chroot env).
I compile image for router board 532a (that use mipsel processor) but when i try to exec printf command from ash (busybox) shell
If you write a switch statement in C with many cases, the gcc doesn't build a cascade of conditional jumps as it would do for if/then/else or some small switch statements. Instead it does one jump to a location, which is dynamically determined like this:
805f0e1: jmp DWORD PTR [eax*4+134674476]
Of course, this is for efficiency, but does anyone know a way to turn this off and make gcc generate a normal cascade like if/then/else?
Assume the following scenario
Main calls functions A B C
A calls functions A1 and A2
B calls Functions B1 and B2
C calls functions C1 and C2
Now i insert a break on function B2.
During run time , I need to display the functions that has been called till a particular point.
Assume when the execution is at B2, I need the compiler to print the function names Main,A,A1,A2,B,B1.
How