Go to advanced search

by jahboater
Sun Feb 19, 2017 2:38 pm
Forum: C/C++
Topic: gpp 5.2 or better, providing C++14 for Jessie ?
Replies: 26
Views: 4564

Re: gpp 5.2 or better, providing C++14 for Jessie ?

but what means "contrib/download_prerequisites" ? Is that a command? or is also for a cd ? Its a command provided by GCC to download the source of the things like GMP and MPFR that the compiler uses. They get placed in the build tree and are automatically included in the build. Very useful as it en...
by jahboater
Sun Feb 19, 2017 2:24 pm
Forum: C/C++
Topic: gpp 5.2 or better, providing C++14 for Jessie ?
Replies: 26
Views: 4564

Re: gpp 5.2 or better, providing C++14 for Jessie ?

that was in the tar command Never ever seen that before. Are you certain the download completed OK, you didn't break into it by any chance? Have you got enough disk space? Tar is a very reliable program, people have been using it for over 40 years. You don't have a fake, or faulty SD card have you?...
by jahboater
Sun Feb 19, 2017 2:11 pm
Forum: C/C++
Topic: gpp 5.2 or better, providing C++14 for Jessie ?
Replies: 26
Views: 4564

Re: gpp 5.2 or better, providing C++14 for Jessie ?

I started downoload from /home/pi/ was that correct? The gcc-6.3.0.tar.bz2 file is located there anyway. You can download to anywhere you like that has enough space. Then expand the tar file and it will create a directory called "gcc-6.3.0" which has a huge tree of files in it. cd into that, and st...
by jahboater
Sun Feb 19, 2017 2:04 pm
Forum: C/C++
Topic: gpp 5.2 or better, providing C++14 for Jessie ?
Replies: 26
Views: 4564

Re: gpp 5.2 or better, providing C++14 for Jessie ?

ok, download seems to be ok but then it seems to do nothing any more: The tar xf may take a few minutes as there are quite a lot of files (over 100,000 of them) and the SD card is slow. Use tar xvf if you want it to print out stuff as its going on. I tend to run the commands one by one, not all as ...
by jahboater
Sun Feb 19, 2017 1:56 pm
Forum: Advanced users
Topic: speed profit by shutdown video output
Replies: 3
Views: 615

Re: speed profit by shutdown video output

You turn it on and off with a command called tvservice.
by jahboater
Sun Feb 19, 2017 12:59 pm
Forum: C/C++
Topic: gpp 5.2 or better, providing C++14 for Jessie ?
Replies: 26
Views: 4564

Re: gpp 5.2 or better, providing C++14 for Jessie ?

trying to download the tar file, there is the error: get ftp://ftp.fu-berlin.de/unix/languages/gcc/releases/gcc-6.3.0/gcc-6.3.0.tar.bz2 get not found what kind of command command is "get" and how to install it ? perhaps wget instead? Oops sorry, it should be wget of course. My cut and paste missed!...
by jahboater
Sun Feb 19, 2017 12:28 pm
Forum: C/C++
Topic: Maximizing SIMD performance
Replies: 8
Views: 5166

Re: Maximizing SIMD performance

The NEON instruction set is better designed than SSE for two reasons - it was created several years after SSE came on the scene and it was designed as a coprocessor with plenty of "instruction space". NEON has every permutation of instruction for every data type. SSE didn't have the room in the ins...
by jahboater
Sun Feb 19, 2017 9:01 am
Forum: C/C++
Topic: gpp 5.2 or better, providing C++14 for Jessie ?
Replies: 26
Views: 4564

Re: gpp 5.2 or better, providing C++14 for Jessie ?

he thank you very much for your advice! I actually have a Pi 2, not a Pi3, and my SD card' is of 32GB, but from NOOBS (I mention that because of the swap file). So will your instruction work identically also for the my Pi 2 hardware, or has something to be changed for it? If its a new Pi2 (v1.2) th...
by jahboater
Sun Feb 19, 2017 8:44 am
Forum: C/C++
Topic: Maximizing SIMD performance
Replies: 8
Views: 5166

Re: Maximizing SIMD performance

My point in posting the article is to share the idea that SIMD is not 'scary' and for those who use the crutch of the C compiler "-O3" option and assume they're code is being vectorized, they might be surprised when it isn't able to do it. Well you need more than -O3. -ftree-vectorize at the very l...
by jahboater
Sat Feb 18, 2017 9:39 pm
Forum: C/C++
Topic: gpp 5.2 or better, providing C++14 for Jessie ?
Replies: 26
Views: 4564

Re: gpp 5.2 or better, providing C++14 for Jessie ?

hello, what must I do to install gpp 5.2 or better feat. C++14 for Jessie ? I just purchased a C++ guide book which introduces especially to C++14 features and so requires 5.2 or better as stated in the preamble. Will this 5.x version then also work trouble-free and out of the box with the current ...
by jahboater
Fri Feb 17, 2017 10:07 pm
Forum: Raspberry Pi OS
Topic: Help for raspian booting problem
Replies: 14
Views: 2476

Re: Help for raspian booting problem

DougieLawson wrote:You made a wrong choice. You should always take a backup just before you make a non-reversible change.
You mean apart from trying to install upstart :)
by jahboater
Fri Feb 17, 2017 5:19 pm
Forum: Troubleshooting
Topic: grep [a-zA-Z] only finds "r"
Replies: 5
Views: 887

Re: grep [a-zA-Z] only finds "r"

You might need some extra brackets for that?
by jahboater
Fri Feb 17, 2017 5:10 pm
Forum: Raspberry Pi OS
Topic: Help for raspian booting problem
Replies: 14
Views: 2476

Re: Help for raspian booting problem

1) It's not what I'm used to. (I've been using Linux & BSD since 1999, & haven't needed it.) 2) It has worked it's way into many programs, making some of them incompatible with other init systems. 3) It's not the unix way. 4) It stores it's data as binary, (so I'm told, which makes problem solving ...
by jahboater
Fri Feb 17, 2017 4:54 pm
Forum: Beginners
Topic: About External USB Drives
Replies: 7
Views: 1476

Re: About External USB Drives

BrianOBrien wrote: Now that it's mounted can't i repartition it and format it?
If so, how?
You should unmount it first with umount (see man umount for details).
by jahboater
Fri Feb 17, 2017 4:46 pm
Forum: Troubleshooting
Topic: grep [a-zA-Z] only finds "r"
Replies: 5
Views: 887

Re: grep [a-zA-Z] only finds "r"

Wondering if anyone else has encountered this issue: grep [a-zA-Z] filename This sequence was working, but suddenly stopped (pi 3B). Now it only finds the "r" if the file contains the entire alphabet. All other grep usage seems to work fine and this usage still workes just fine on another ripi. Tri...
by jahboater
Fri Feb 17, 2017 3:34 pm
Forum: Advanced users
Topic: How far have you overclocked?
Replies: 4
Views: 7256

Re: How far have you overclocked?

Trouble is most people have moved on to the Pi2 or probably the Pi3. The Pi3 is quad core armv8 (compared to single core armv6 on the B+) at 1.2GHz with 1GB of ram.

If speed is what you are after, the Pi3 is many many times faster than the B+ (ten times or more) and its the same purchase price!
by jahboater
Fri Feb 17, 2017 3:18 pm
Forum: General discussion
Topic: Read USB MBR Data and modify
Replies: 6
Views: 1295

Re: Read USB MBR Data and modify

Thats cool! But why the seek(512)? surely it starts at offset zero. After changing the MBR a seek(0) would be needed in order to rewind the file and write out the new MBR starting at zero. Or have I missed something?
by jahboater
Fri Feb 17, 2017 3:09 pm
Forum: General discussion
Topic: Read USB MBR Data and modify
Replies: 6
Views: 1295

Re: Read USB MBR Data and modify

However, I face problems doing the same on raspberry Pi. I do CreateFile based on drive letter. (\\.\<DriveLetter> ). But CreateFile with drive letter on Raspberry Pi fails. CreateFile is a Windows API function, and "drive letters" are a Windows thing. The Raspberry Pi runs a different operating sy...
by jahboater
Fri Feb 17, 2017 2:57 pm
Forum: Beginners
Topic: customise PI image
Replies: 13
Views: 2009

Re: customise PI image

How can i customise linux kernel as per I can start my GUI on start up. I can not use raspbian. I want to customise linux as. if I will give power to raspberry pi 3, it will directly start my GUI application. I don't understand why you need to "customize" the linux kernel for this, and I don't unde...
by jahboater
Fri Feb 17, 2017 11:55 am
Forum: General discussion
Topic: Multiple concurrent uses
Replies: 3
Views: 796

Re: Multiple concurrent uses

The OS (Raspbian Linux) for the Pi is fully multi-user multi-tasking, so it can and normally does run many things concurrently. The Pi2 and Pi3 are quad-core too, so its reasonably fast. I don't know what these apps you mention are. If they are for the PC they will be for Intel x86 processors. The P...
by jahboater
Fri Feb 17, 2017 11:41 am
Forum: Beginners
Topic: Lightweight Antivirus for Pi? To catch Windows viruses.
Replies: 25
Views: 13229

Re: Lightweight Antivirus for Pi?

Could you perhaps do the AV scan on the Windows PC before copying the files to the Pi?
I speculate (I have never used ClamAV) that a good Windows AV, regularly updated, would do a better job.
Especially as you are actually looking for Windows x86 viruses.
by jahboater
Fri Feb 17, 2017 11:33 am
Forum: Beginners
Topic: customise PI image
Replies: 13
Views: 2009

Re: customise PI image

jignesh.patel47 wrote:I want to start automatic python base GUI Application after booting on Linux kernel that i have builded for raspberry pi.
Thats OK, but why do you need to build a special kernel?
There are plenty of posts about starting GUI apps automatically.
by jahboater
Fri Feb 17, 2017 11:07 am
Forum: Wanted
Topic: Write some RPi software for me?
Replies: 18
Views: 4312

Re: Write some RPi software for me?

But that would still involve me having to build a RPi - and I don't want to do that... They come ready built and tested ;) If you mean the software, it takes me a few minutes to install Raspbian and configure it (but I have done it countless times to be fair), the longest part is downloading the 4G...
by jahboater
Fri Feb 17, 2017 11:00 am
Forum: Wanted
Topic: Write some RPi software for me?
Replies: 18
Views: 4312

Re: Write some RPi software for me?

Its a fairly unusual request. Most people enjoy the learning process and the satisfaction of building their own project. You will learn nothing if you pay someone else to have all the fun. Anyway, Dougie is right, there may well be some software to do what you want readily available. So if you could...
by jahboater
Fri Feb 17, 2017 10:48 am
Forum: Beginners
Topic: customise PI image
Replies: 13
Views: 2009

Re: customise PI image

jignesh.patel47 wrote:How can i customise linux kernel as per I can start my GUI on start up.
Raspbian (full) starts the GUI anyway at boot and has done for some time. The Lite version has no GUI at all.

What do you mean by "my GUI" ?

Go to advanced search