Debian Programming :: GCC Can't Generate 64 Bit Program On Wheezy Mips64?
Dec 21, 2014
I have both 32 bit and 64 bit libs installed with gcc multilib.
I tried following options, but the result is still a 32bit elf:
# cc -mips64 -mabi=o64 -mlong64 -mgp64 -c gendian.c
# file gendian.o
gendian.o: ELF 32-bit LSB relocatable, MIPS, MIPS64 version 1 (SYSV), with unknown capability 0xf41 = 0x756e6700, with unknown capability 0x70100 = 0x1040000, not stripped
The machine is running 64 bit os:
# uname -a
Linux debian 3.2.0-4-5kc-malta #1 Debian 3.2.63-2+deb7u2 mips64 GNU/Linux
Both 4.6 and 4.7 gcc have been tried, and both have the same issue.
Fixed: need -mabi=64
View 0 Replies
ADVERTISEMENT
Oct 8, 2010
I want to write a program in C which will generate a maze randomly and find the solution for it ..
The idea behind is in [url]
How the 16 bit integer is stored in a variable..Earlier I wrote a program on trees and displayed it using dotty.. Is there any such tool to display a maze..I am using ubuntu 10.04.
View 1 Replies
View Related
Dec 2, 2014
How do I generate sql result into xml ? Tried this way (shown below), but it generates all data into single column.
Code: Select allgenerate_xml()
{
f1=_tmp1
f2=_tmp2
cat $SQL_QUERY_OUT |sed -e 's/^"//g;s/"$//g;s/","/|/g'|tr '|' ' ' > $f1
[ -e $SQL_QUERY_OUT ] && rm $SQL_QUERY_OUT
[code]....
View 2 Replies
View Related
Sep 12, 2013
I run Wheezy Xfce 64-bit. I went through the Synaptic listings and added Python 3.3.2 and Tkinter for it, and that works fine; but for some reason PyGtk is available only for Python 2.7, not for Python 3.3, unless I'm just using the wrong way to try to find it. Is there a PyGtk available for Python 3.3 in Wheezy, and, if so, how do I install it and then import it once it's installed?
View 1 Replies
View Related
Nov 15, 2013
Python's test case to test uniqueness of uuid.uuid1() in test_uuid.py is failing on wheezy on Virtualbox. However, when I change it to use uuid.uuid4(), it's successful always. I don't have wheezy installed on a bare machine to test.I faced this problem when installing Python 2.7.6 on my virtualbox. This is blocking a successful installation.
Below is a test file I created:
Code: Select allimport uuid
def test_uuid():
uuids = {}
for u in [uuid.uuid1() for i in range(1000)]:
[code]....
View 0 Replies
View Related
Oct 7, 2009
I want to generate core dump files from my program when it crashes. Its a pretty big process and has about 10-11 threads in it.I have followed the documentation to enable core dump by setting ulimit to unlimited etc. I quickly tried "A demo program creating a core dump" from the following webpage, which succeeds in Segfault and dumping a core file in the directory that I configured.However, I tried running my original program and caused it to crash. I did this by making calls to kill(), raise() or the same null pointer access as shown in the webpage above. In each case, my program crashed but did not generate a core dump file. Am I missing something?My program is in C++ and my environment is Redhat 9.0 (kernel 2.4.20)
Going through the "Why do I NOT get a core dump?" section on the same webpage as above, I can see two potential problems. One - there are issues with the suid/sgid (bullet # 6). I am not able to change any settings with suid because my system does not contain either /proc/sys/fs/suid_dumpable or /proc/sys/kernel/suid_dumpableTwo, my program has threads in it and the bullet # 8 is the problem.
View 1 Replies
View Related
Jul 23, 2010
I would like to ask if there's a program that can archive all emails from my employees to a certain server and can generate reports. specifically all types of emails incoming and outgoing. My employees are aware of my policy due to many confidential files within our office.
View 1 Replies
View Related
Mar 31, 2010
How can I generate a md5 or sha-1 code with perl?
View 2 Replies
View Related
Feb 24, 2011
Does anybody know how to generate excel charts from C, or if it's possible at all?
For example, if I had 2 arrays that I wanted to export to excel and graph against each other. I know how to export it to a csv file, that's no problem, but I have no idea where to start with generating a graph of the data. I can't seem to find any examples anywhere.
I'd appreciate if someone could point me in the right direction.
Just a simple example to show you what I mean code...
View 10 Replies
View Related
Jun 24, 2010
I have a file, two columns, first column has a list of 15000 (yes 15k) unique codes, second column has the afilliate codes of 60 locations repeated to fill out the 15000 rows of unique codes. I need to produce a nice neat paper voucher which will fit onto A6 (1/4 A4) and is ready to print. Each voucher has the unique code and corresponding location. So far I am thinking PHP will do the job. This does it somewhat, but doesn't let be split the fields between the ",". I did this so far in PHP
[Code]...
View 3 Replies
View Related
May 19, 2009
I am trying to generate pdf in thai language. i have installed thai package (extension in babel package). It is finally generating pdf in thai. but thai string are cming very long as compared to original string given in .tex file.
View 3 Replies
View Related
Mar 6, 2010
I need to generate random numbers using /dev/random in C. The numbers should be of type double (64-bit floating point).The functionality should be equal to linux command "od -An -N8 -t fD /dev/random", but written in C.The prototype should be "double drand(void);".
View 7 Replies
View Related
Oct 8, 2014
I have Windows 7==>Oracle VB==>Ubuntu==>Gfortran. How do I debug fortran programs? I would like to have a step by step debugging.
View 1 Replies
View Related
Aug 3, 2010
A script to generate random dates. It uses the year range 2006-2009, and truncates every month of the year to an ordinary February's 28 days, but otherwise it's pretty solid and safe.
Code:
spate=1
while [ $spate -le 120 ]
[code]....
View 1 Replies
View Related
Mar 24, 2011
We are running some script to generate below values however we don't need the first level output as it always shows cpu % as 0.0.
(We dont need following part:
NAME STATE CPU(sec) CPU(%)
XXX -----r 55567 0.0
[code]....
View 10 Replies
View Related
Apr 18, 2010
I want to automate my System-installation. So i try to make a Script that will generate the /etc/motd. Now i have the Problem that the script has some variables and after the "Hostname, OS, HW, IP" the "stars" are anyware, but not there they should. The most problem is the $OS this string can verry long or verry short be. Fedora release 12 (Constantine) or RedHat 5.4 i can do that after the variables place the "stars" on the write position?
Script
Code:
#!/bin/bash
[code]....
View 6 Replies
View Related
Sep 7, 2010
I have some c++ code and want to generate class diagrams using some tool which would scan the c++ code and generate diagrams. Is there any such open source tool to be used on linux machine?
View 1 Replies
View Related
Apr 5, 2011
i have spotted that script (something similar that i am looking for)
[URL]
and i just dont know how to use it.I am not a programmer myself and probably no need for learning that just to create one script! modify "wje_lq" script and run it. thing like : "Just redirect standard output to a file in the normal manner" ? and all this
I.Comment out the first definition of *character-set*, by adding a semicon at the beginning of the line.
II.Uncomment the second definition, which just uses "ABC", by removing the semicolon from the beginning of the line.
III.Comment out the first definition of *word-length*.
IV.Uncomment the second definition, which uses a word length of four.
i would like to generate :
10-character combinations of the following characters (lowercase) 23456789abcdef with no more then 3 same letters repeates no metter side by side or within one line (sequence) so lets say
abcdef1234 accept
fabcde1234 accept
ffabcd1234 accept
which is probably permutation with repetable string ( where abc is not equeal to cba etc .so ti speak position does metter)
fffabc1234 not acceptable -----(3 same characters)
ffabcf1234 not acceptable -----( 3 same characters event thought not side by side)
we dont want 3 same characters apper in same line.
View 2 Replies
View Related
Jun 28, 2013
I have a java program that runs on Debian as a background processor. Yesterday the Java program stopped running. I looked at the memory usage, the system only had 5MB memory left, so my guess is that the java program ran out of memory to use.
However, after we restarted the java program, we could see that the free memory count started to go up. It kept going up from 5MB to over 400MB. The increase of memory happened slowly, when I measured it, I could see that with each minute passing by, there were a bit more memory added into the free memory pool, and meanwhile, the java background process was running.
I wonder why this would ever happen. It's as if our java program first brought the machine done because it consumed all the memories, then after restart, it starts to give back memories.
View 2 Replies
View Related
May 18, 2011
explanation what I want to do exactly:I have a textfile which looks for instance like this:
file.txt:
...
something=else to do
[code]....
View 14 Replies
View Related
Sep 3, 2011
i have fresh installed debian wheezy xfce4, and using slim to start it but i can't get reboot, shutdown and thunar can't open flash and others volumes. i using .xinitrc (exec ck-launch-session startxfce4)
View 3 Replies
View Related
Mar 30, 2011
I am giving Wheezy a whirl and am having with screen blinking ever 30 seconds.
View 5 Replies
View Related
Feb 15, 2011
I will have to code this. However I am lacking of time since I have too much to do. make a short code bash/dash to prompt the country with Zenity, then, get the PLS or m3u url and prompt with another zenity which radio to play. http://www.listenlive.eu/index.html
My code to get url's radio country.htm is:
Code:
View 2 Replies
View Related
Aug 18, 2011
I'm trying to generate a list of my music directory folder structure WITHOUT the files included. I have my music directory set up in a hierarchy of Artist>Album>Files, and I just want to generate a list of the folders because that will, in effect, output a list of what albums I have by what artists, which is ultimately what I'm after. I did some looking on the internet through various forums over the past few days and found two ideas that looked promising, but ended up being not exactly what I needed. The first was to generate a .txt file based off of a shell ls command:
ls -R [music directory name] >> ~/mymusiclist.txt
That's great, except that it also includes the 40,000+ individual music files by name. I'm not about to invest that much time editing the files out of the list when I know there has to be an easier way.The second idea I came upon involved using the extglob function. I tried enabling extglob and using it to input a "negative wildcard" into the above method to remove anything .mp3 from the returned list, but extglob didn't play well in that context. I'm not a command line wizard, so it's entirely possible that I'm missing something fairly obvious. In fact, I'm sure I am. So this is a great opportunity for me to learn something new. If anybody knows of a command line way to do this, I'd love to know it. Or, even better, if anybody knows of an app that can do this, even better. I'm not above installing a secondary music player just to import the library once and get my list.
View 3 Replies
View Related
Nov 29, 2010
But when Squeeze goes from 'testing' to 'stable' in December... does Wheezy get promoted from 'sid/unstable' to 'testing' at the same time?.
I started my life in Linux with and currently use Ubuntu, and it runs decent(barely). However, I just upgraded to Ubuntu 10.10, and because of strange little issues and increasing bloatware, I have been forced to strongly consider the "mother OS": Debian.
The reason for my original question is that I want to run whatever the current "testing version" is. And if Wheezy gets promoted at the same time Squeeze does, then I will just wait the 4 weeks instead of slogging through another install(I prefer fresh installations vs upgrading within). I know the test versions of Debian are a bit more active than stable, but I have used Ubuntu for over 2 years, so I have some experience dealing with Terminal commands, package management, gnome, etc...I am also currently VirtualBoxing a copy of Squeeze.
View 6 Replies
View Related
May 20, 2011
I got "stuck" with stable up to now and want to upgrade to Wheezy. But, although I've done this before, I'm having a dependency problem I wanted to ask about before breaking my system somehow. This is the /etc/apt/sources.list, ready for Wheezy:
[URL]
So, I regularly use aptitude as my package manager. After updating the database with aptitude update, trying aptitude full-upgrade gives me a huge of conflicts.
[code]....
But, if I use apt-get dist-upgrade, I get no conflicts. if I dist-upgrade with apt-get, will that affect my daily usage of aptitude (which I prefer)? I know APT is a single database and apt-get and aptitude are just different interfaces, but I guess differences might rise when marking packages as automatically or manually installed.
View 7 Replies
View Related
Aug 7, 2011
Is it possible to run kde in Wheezy without udev? I am asking this because the modesetting failure is manifested as soon as udev tries to populate the /dev directory.
View 6 Replies
View Related
Apr 19, 2015
I dont want openjdk packages on my system, in Kubuntu I had a few troubles with them trying to make SqlDeveloper to work around. So this is what I see after a java -version:
Code: Select alledgardo@debian:~$ java -version
java version "1.8.0_45"
Java(TM) SE Runtime Environment (build 1.8.0_45-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)
edgardo@debian:~$
I've been uninstalling openjdk from synaptic and with other few commands on the terminal so far and I think I probably broke it. I have no /usr/lib/jvm folder only /usr/lib/java/jdk1.8.0_45.But everytime I wish to start up Eclipse it shows the logo for a few seconds and that's it.... never gets opened. And in /usr/bin$ I only have this symbolic link....
Code: Select alllrwxrwxrwx 1 root root 22 abr 19 18:57 java -> /etc/alternatives/java
I've tried different tutorials I found surfing the web but none of 'em seem to work.
View 2 Replies
View Related
May 19, 2015
I've had a weird issue recently with Java/Spring. Basically, it would work on all machines but my trusty Debian box. Macs for devs, Ubuntu for production and some devs have it too. This annoyed me, because of course Debian is the greatest and it must work there too! Also, Java is based on the whole write once run anywhere concept, I have never really had a problem with code behaving differently on different Java installs of the same version, even on completely different OSs it seems to behave itself very well. URL....
I moved up to Jessie and the problem goes away. I can only conclude that some library that is called by Java got upgraded, somehow influences the order in which Spring resolves its dependencies. Probably the fact that other devs build on Ubuntu and have got it working there, and the upgrade to Jessie brings my libs more in line with what Ubuntu will be running has done the trick.
View 0 Replies
View Related
Nov 19, 2015
I am trying to install octave 4 in my debian wheezy, and I am getting following error after I have executed ./configure
checking for sgemm_ in -lmkl... (cached) no
checking for sgemm_ in -framework vecLib... no
checking for sgemm_ in -lcxml... (cached) no
checking for sgemm_ in -ldxml... (cached) no
checking for sgemm_ in -lscs... (cached) no
checking for sgemm_ in -lcomplib.sgimath... (cached) no
checking for sgemm_ in -lblas... (cached) no
checking for sgemm_ in -lblas... (cached) no
configure: error: A BLAS library was detected but found incompatible with your Fortran 77 compiler settings.
I have tried to find a solution about issues installing octave 4 from binaries. I can not use octave from the repository as it is old for my studies.
View 1 Replies
View Related