Programming on your eee pad ? - Eee Pad Transformer General

Is it possible to program in C , on my Transformer tablet?
If so what is the program which allows it?
Thanks in advance,

you can install linux via chroot and use it...

Netbeans IDE on Transformer
The Transformer is just one step from replacing my Laptop. The problem is there is no IDE for Honeycomb to program in java. (I have seen apps to write .apk's for that run on android)
Anyway, can anybody confirm whether Netbeans works on the Ubuntu version that is installable? Netbeans is free from their site and should support the operating system, but you will need the JDK as well.
Eventually I will try this myself, but someone with Ubuntu on their Transformer can maybe save me the trouble??

If you're familiar with programming/editing code in vi/vim, you can start that from terminal... only thing is you'll have to make sure you define a key combo for the ESC button, or vi/m won't be much fun
If you want to actually compile stuff, your best bet would be to run Ubuntu, either via chroot method or actually boot it. The threads are in the Dev section. Again, if you're familiar and comfortable with the command line or in vi/m, it'd be better to do it via the chroot method and use gcc through a terminal emulator to compile your C stuff (means you don't have to actually reboot your device to get into linux).

I do a lot of web developement... and mainly use dreamweaver via Remote RDP, but I'm not able to send special characgers like " < > via the dock... Anyone now a better solution, or a better RDP (no VNC) program, I know there are a lot out there...

I think using something like netbeans in the emulated linux would be something crazy, netbeans is so heavy and I don't think the emulated linux will be fast enough...
vi/vim is the best solution, I just rooted my device, and I am going to install linux too.... I will use vim for ruby on rails development there....

gnagnone said:
I think using something like netbeans in the emulated linux would be something crazy, netbeans is so heavy and I don't think the emulated linux will be fast enough...
vi/vim is the best solution, I just rooted my device, and I am going to install linux too.... I will use vim for ruby on rails development there....
Click to expand...
Click to collapse
Yeah, I thought it was a long shot, but thanks for your input. I would still like to try it one day theoretically the transformer should be able to since the netbeans system requirements are low, but then again its apples and pears

I was wondering about this too since I'll be ditching my eeepc when I get the dock. I don't program stuff for a living but it would be nice to have the option available.

SparkyRih said:
I do a lot of web developement... and mainly use dreamweaver via Remote RDP, but I'm not able to send special characgers like " < > via the dock... Anyone now a better solution, or a better RDP (no VNC) program, I know there are a lot out there...
Click to expand...
Click to collapse
Really? Even if they are on the keyboard?

Touchqode
Anyone has tried Touchqode?..
It's an IDE for Android for programming in Java, HTML, JavaScript, Python, C++, C#, Ruby and PHP..
I haven't tried it yet..

programming with labview/gcode would be awesome.. ish

Touchqode
bruuuno said:
Anyone has tried Touchqode?..
It's an IDE for Android for programming in Java, HTML, JavaScript, Python, C++, C#, Ruby and PHP..
I haven't tried it yet..
Click to expand...
Click to collapse
Man, you are my hero. This is exactly what I've been looking for. If only there was a way of running .java files offline, but everything about it is awesome.
I would encourage everybody else, interested in programming, to try this out.

Related

[Q] Defference between my linux box and Iconia?

Hi all,
I apologize in advance for my lack of knowledge or any stupid questions i may ask.
I am a 3rd year Mechatronics Major so i am quite fluent on the majority of programming languages, however my experience to date has been primarily with embedded systems along with some basic setting up gentoo/ubuntu with apache and game servers and stuff. When it comes to getting into the guts of Linux i tend to get a little lost. Something i wish to work on over the next 5 weeks
I have just rooted my new a500, I was just wondering if anyone could tell me and subtle differences between (say) a gentoo box and my a500 at a command line level.
For example there seems to be no gcc compiler for the a500, is this because there is no compiler written for the a500 hardware or is it something to do with how andriod is written?
And if i want to install ssh client/server from the terminal (or any package really), is that possible (eg. for gentoo i would use emerge, ubuntu apt-get, etcetc.)
I have a bunch of other questions but i will leave it at that for now
Thanks
Chris
if u want to remote control of ur desktop use androidvnc....
get it from market....
Terminal emulator include a ssh client ! But i don't Thérèse is any package manager available
Anyway you can install a chrooted ubuntu on the A500! Should be more easy
Moved as not development, please read the rules and post in the correct section ONLY.
Hez said:
For example there seems to be no gcc compiler for the a500, is this because there is no compiler written for the a500 hardware or is it something to do with how andriod is written?
Click to expand...
Click to collapse
Android is based on Java Virtual Machine, all applications are bytecode, not native code. Thus it would require quite a bit of work to get a GCC with all of its pre-requisities in place on Android. I atleast am not aware of a single compiler for any language that would actually run on an Android device itself.
And if i want to install ssh client/server from the terminal (or any package really), is that possible (eg. for gentoo i would use emerge, ubuntu apt-get, etcetc.)
Click to expand...
Click to collapse
Sorry, I do not know if you can access Android Market in any way from the command line.

What language and software uses android for programming?

Hey guys im considering porting/recoding an app from VB.net to work on android, but i havent got a clue what language is used in android, could someone tell me its name or some sort of website with this information?
Finally if someone is experienced in programming apps for android, i would like to chat about a few capabilities of the language.
Thanks in advance!
Android is Java-ish based.
i would recommend you checking out the program Eclipse.
The main applayer is java based with some xml thrown in. But there is a native development kit that you can compile c c++ and many other languages to run on an android phone. But since java is virtual machine based an app written in java will run on all phones*(some caveats like os version) while the app in ndk will work on only hardware that it was designed for
Also, is Google not working? A simple search for "Android programming language" would answer this question
From something awesome
killersnowman said:
The main applayer is java based with some xml thrown in. But there is a native development kit that you can compile c c++ and many other languages to run on an android phone. But since java is virtual machine based an app written in java will run on all phones*(some caveats like os version) while the app in ndk will work on only hardware that it was designed for
From something awesome
Click to expand...
Click to collapse
hmmm, yes there is google but not what im exactly asking, and that makes me ask this:
You talk about c & c++ and other languages compilations to run on android phone, is vb.net a part of that list?
Could you show me a website or something that says more about that dev kit? im basically trying to port my apps from vb 2010 express (windows forms based) to android and if that thing is not possible should i use java to code it all over again?
Thanks in advance!
http://developer.android.com/sdk/ndk/ this is for the ndk but it is not as simple as just compiling your code with the ndk. You will need to rewrite some of it to actuallytie into the android apis
You should really just use the java sdk. You will reach more people and be able to find more help and info
And I stand corrected, while there are projects trying to bring other languages to the ndk it is at this point just C and C++
From something awesome
killersnowman said:
http://developer.android.com/sdk/ndk/ this is for the ndk but it is not as simple as just compiling your code with the ndk. You will need to rewrite some of it to actuallytie into the android apis
You should really just use the java sdk. You will reach more people and be able to find more help and info
And I stand corrected, while there are projects trying to bring other languages to the ndk it is at this point just C and C++
From something awesome
Click to expand...
Click to collapse
oh well in that case i will need to learn java.... thanks mate, i think its easier to just rewrite the whole thing really i like proper optimizations and ports most of the times lack them.
Thanks for the information thats all i needed.
PS: rep added
if you know vb.net well you'll have no real problem with java.. it just adds brackets and semicolons essentially lol. I learned java in college and then was thrown into the .net framework using c# and i love the .net framework.. its so hard for me to go from using Visual Studios to Eclipse to make an android application because Visual Studios (which im assuming you use, is so powerful).. But yes android is java code behind and html (preferred) GUI. You can make your GUI using java but trust me its terrible!
jr10000 said:
But yes android is java code behind and html (preferred) GUI. You can make your GUI using java but trust me its terrible!
Click to expand...
Click to collapse
Html? You mean xml?
Also try Intellij instead of Eclipse. Eclipse is way too bloated and IntellJ has some amazing autocomplete features. Its better in my opinion
From something awesome
jr10000 said:
if you know vb.net well you'll have no real problem with java.. it just adds brackets and semicolons essentially lol. I learned java in college and then was thrown into the .net framework using c# and i love the .net framework.. its so hard for me to go from using Visual Studios to Eclipse to make an android application because Visual Studios (which im assuming you use, is so powerful).. But yes android is java code behind and html (preferred) GUI. You can make your GUI using java but trust me its terrible!
Click to expand...
Click to collapse
what?? i really need a proper GUI ugh... yes im using visual studio, and indeed is amazing, the app i have and i want to port to android is windows form based, the most essential thing i would need about it is the calendar control :\
You can use Javascript+HTML5 (it's complicated to express here but the whole things is pretty much native).
Python aswell, use SL4x or Kivy (Kivy is pretty good but it's still too new).
Sorry, being hate Java too much.
Funnnny said:
You can use Javascript+HTML5 (it's complicated to express here but the whole things is pretty much native).
Python aswell, use SL4x or Kivy (Kivy is pretty good but it's still too new).
Sorry, being hate Java too much.
Click to expand...
Click to collapse
ok np, so to doublecheck this: to have an application with graphical interface i will need javascript and html5?
TheWarKeeper said:
ok np, so to doublecheck this: to have an application with graphical interface i will need javascript and html5?
Click to expand...
Click to collapse
I dont know why people spread extremely non standard practices to people getting started...
No you dont need javascript or html5.
Android has a ui layout system based in xml. Its just there to arrange objects that you can access from the java code. So a little xml and java is all you need
From something awesome
TheWarKeeper said:
ok np, so to doublecheck this: to have an application with graphical interface i will need javascript and html5?
Click to expand...
Click to collapse
The right way to do GUI is with Java, with the official SDK from Google.
Some non-standard way to do this is with Javascript (just a GUI wrapper from Javascript to Java) and Python (again wrapper to Python).
You can choose which way you want, many people I know didn't like Java, and they choose to use a web application, and then they want to embed this to a native Android application, so they go with Titanium Mobile or some others framework like that. It's not as good as Java, but it's some other way to start with your application (Web app first and then Native app)
Funnnny said:
The right way to do GUI is with Java, with the official SDK from Google.
Some non-standard way to do this is with Javascript (just a GUI wrapper from Javascript to Java) and Python (again wrapper to Python).
You can choose which way you want, many people I know didn't like Java, and they choose to use a web application, and then they want to embed this to a native Android application, so they go with Titanium Mobile or some others framework like that. It's not as good as Java, but it's some other way to start with your application (Web app first and then Native app)
Click to expand...
Click to collapse
i feel like i should probably stick with java, i want it to be quick and fast and have alot of stuff to code, the program should run in background so it must not affect performance at all, will use timers with a basic code ticking every second while on background and thats it really
TheWarKeeper said:
i feel like i should probably stick with java, i want it to be quick and fast and have alot of stuff to code, the program should run in background so it must not affect performance at all, will use timers with a basic code ticking every second while on background and thats it really
Click to expand...
Click to collapse
Then use java bro, it's an awesome programming language, I don't know why some people don't like it, each programmer should learn to get used to each language.
Anyway, for likes.. colors
Cheers, D4.
D4rKn3sSyS said:
Then use java bro, it's an awesome programming language, I don't know why some people don't like it, each programmer should learn to get used to each language.
Anyway, for likes.. colors
Cheers, D4.
Click to expand...
Click to collapse
well ive been learning vb and i will admit that im still on intermediate level, even though i know all the basic stuff such as messing with its own functions, etc i still havent used any of the apis for it, the main problem with programming is that if u learn a language you would waste your time learning that one or else if u go learn to many languages you will end up not knowing none of them at all.
Ill see if i can mess with java, some people say syntax is a bit similar to c & c++
EDIT: btw, im not saying i dont find java good, a programming language that will basically run on any machine independently of the OS makes the language itself possibly the best and most versatile around.
I'm learning Android and I use Java and XML. I'm still a beginner though.
Sent from my SGH-T959 using XDA App
I am just curious, software like Titanium Backup, or Angry Birds, which programming language do they use? Could this stuff be programmed with Eclipse in Java?
killersnowman said:
Html? You mean xml?
Also try Intellij instead of Eclipse. Eclipse is way too bloated and IntellJ has some amazing autocomplete features. Its better in my opinion
From something awesome
Click to expand...
Click to collapse
Hey, do you know how to use intellij idea fire Android development?
Sent from my GT-S5830 using xda premium

[Disscusion]Gentoo Webtop

So work is happening to accomplish replacing the webtop with a gentoo base img.
My proposition is to create a very slim gentoo so you guys can add as you please
So im making this post to hear from you guys what you would like to see in the Gentop.
So far my idea would be very basic.
Openbox + terminal + conky
and of course a browser.
So tell me, if this was your gentop. what would be there!?
In addition to your suggested items for a "gentop", I'd like to see more file viewers that take advantage of the lapdock screen resolution, like PDF, (Open)Office docs, even EPUBs.
I would add in some sort of rdp, vnc and ssh clients.. I could really use those. Thanks for all the hard work you do
Sent from my MB860 using XDA App
Could you guys prepare a version with synaptic and lxde? Im sure there are people interested in the fastest webtop experience possible, but have 0 skill in linux encoding. With that, we can customize as we please with easy visual reference.
About ssh clients -- it should be mentioned that there is already an "rsync" backup for android freely available in the Android market. It installs rsync and dropbear ssh clients. So with a terminal app, your webtop will have access to cli versions of rsync and ssh. Then just do a symlink from the installed apk into /system/xbin/ and presto instant ssh and rsync.
Would we still have a phone view within gentoo like we have in webtop?
If not, would the phone screen remain accessible while docked?
How would this handle incoming phone calls?

Has anyone started creating apps for Sailfish?

Yeah, I'm not a programmer, but wanna learn more C++ (have only very limited knowledge), so decided I'd want to start learning on Sailfish.
Anyone else joining the boat?
I haven't got onto creating something, right now I'm stuck at the fact that the Qt IDE doesn't recognize that Sailfish emulator is working, but recognizes Mer.
Also, gotta learn more about how to properly code. xD
Deformat said:
Yeah, I'm not a programmer, but wanna learn more C++ (have only very limited knowledge), so decided I'd want to start learning on Sailfish.
Anyone else joining the boat?
I haven't got onto creating something, right now I'm stuck at the fact that the Qt IDE doesn't recognize that Sailfish emulator is working, but recognizes Mer.
Also, gotta learn more about how to properly code. xD
Click to expand...
Click to collapse
I'd love to but I'm too busy with Exams :'((
Sent from my Nexus Prime powered by AK goodness!
Deformat said:
Yeah, I'm not a programmer, but wanna learn more C++ (have only very limited knowledge), so decided I'd want to start learning on Sailfish.
Anyone else joining the boat?
I haven't got onto creating something, right now I'm stuck at the fact that the Qt IDE doesn't recognize that Sailfish emulator is working, but recognizes Mer.
Also, gotta learn more about how to properly code. xD
Click to expand...
Click to collapse
I've been trying to learn android programming my hope is to make an app on android then transfer the stuff I've learnt across and use it on sailfish.
Sent from my Nexus 7 using Tapatalk HD
Deformat said:
Yeah, I'm not a programmer, but wanna learn more C++ (have only very limited knowledge), so decided I'd want to start learning on Sailfish.
Anyone else joining the boat?
I haven't got onto creating something, right now I'm stuck at the fact that the Qt IDE doesn't recognize that Sailfish emulator is working, but recognizes Mer.
Also, gotta learn more about how to properly code. xD
Click to expand...
Click to collapse
it`s know issue
If deployment fails with: "Could not connect to host: Timeout waiting for reply from server." then there is a problem with VirtualBox and DNS resolution. To fix either ssh in to the emulator as root or press right-ctrl+F2 and login as root/nemo. Then echo nameserver 8.8.8.8 > /etc/resolv.conf inside the emulator. (right-ctrl+F1 to get graphics back)
Click to expand...
Click to collapse
more on sailfish website.

Arm Linux OS's with Linux Deploy

If you don't understand what ssh or vnc is, please don't attempt this.
I am able to run Kali Linux armhf on the 13.3.1 by following this guide. It can run other distros too.
I can confirm it is working 100% and runs very smooth. Here is a link to the Linux Deploy app. You need a vnc app or a ssh app to interface with it. I recommend Real VNC Viewer. Instead of connecting to your private ip, just connect using your loopback 127.0.0.1 It is faster.
I hope this could be of some use towards cracking the bootloader. Comments, questions, discussion wanted.
Nice idea but what can you really do on Kali that you can't do via adb shell?
PS putty ftw!
Sent from my Nexus 4 using Tapatalk
Spec-Chum said:
Nice idea but what can you really do on Kali that you can't do via adb shell?
PS putty ftw!
Sent from my Nexus 4 using Tapatalk
Click to expand...
Click to collapse
Install linux native applications, light server, supports many linux distros like gentoo arch debian ubuntu fedora. Aircrack-ng, reaver, sslstrip, metasploit. The fun stuff.
Faznx92 said:
Install linux native applications, light server, supports many linux distros like gentoo arch debian ubuntu fedora. Aircrack-ng, reaver, sslstrip, metasploit. The fun stuff.
Click to expand...
Click to collapse
Nice, I'm sold
Repurpose a device
I would really like to get a different OS on my device or even do a GRUB bootloader kind of thing which will allow Android or another OS. I want to repurpose a tablet for my car project and I don't want to use Android.
I have done the VNC thing in the past with Ubuntu and it was horribly slow. Anything emulating on top of an OS will be less than optimal. I have used VMPlayer and VirtualBox before on a regular desktop and they seem ok. But still I'd like another OS that will be fast on boot up and ready to go in the shortest amount of time.
chris
This is very interesting. Has anyone managed to get Mer working through Linux Deploy? Having Plasma Active running like that would be pretty awesome. Other DEs aren't really optimised for touch the way Plasma Active is.
EDIT: Actually, it might be possible to get Plasma Active running via Gentoo, as they have an overlay for it. Still experimental, but then what isn't experimental at this point
GreatEmerald said:
This is very interesting. Has anyone managed to get Mer working through Linux Deploy? Having Plasma Active running like that would be pretty awesome. Other DEs aren't really optimised for touch the way Plasma Active is.
EDIT: Actually, it might be possible to get Plasma Active running via Gentoo, as they have an overlay for it. Still experimental, but then what isn't experimental at this point
Click to expand...
Click to collapse
You use a vnc app on loobback address(127.0.0.1) to connect. It is the fastest emulation I ever had running on any device. This is perfect for me if i can get a keyboard working. If you lower the resolution of the linux guest with a ui like lxde it is very easy to use it as a touch interface.
Mr_Ada said:
I would really like to get a different OS on my device or even do a GRUB bootloader kind of thing which will allow Android or another OS. I want to repurpose a tablet for my car project and I don't want to use Android.
I have done the VNC thing in the past with Ubuntu and it was horribly slow. Anything emulating on top of an OS will be less than optimal. I have used VMPlayer and VirtualBox before on a regular desktop and they seem ok. But still I'd like another OS that will be fast on boot up and ready to go in the shortest amount of time.
chris
Click to expand...
Click to collapse
Try it out on the loopback address 127.0.0.1 It is blazing fast with ui like lxde or xfce. Fastest I ever seen on a tablet/android.
Faznx92 said:
You use a vnc app on loobback address(127.0.0.1) to connect. It is the fastest emulation I ever had running on any device. This is perfect for me if i can get a keyboard working. If you lower the resolution of the linux guest with a ui like lxde it is very easy to use it as a touch interface.
Click to expand...
Click to collapse
Yea, thanks. I'll read a bit more on Linux Deploy to see how it works. And I'm very familiar with Gentoo (have three Gentoo devices here), so setting it up shouldn't be a problem. I also asked on their IRC, and they said Plasma Active should theoretically compile on Gentoo ARM, but nobody ever tested it. Sounds like a good opportunity to do just that!
Got to run Gentoo, although it required a bit of effort. Since I want Plasma Active, I didn't choose any GUI (I need to set it up manually). However, the problem is that SSH wouldn't run, either, citing that OpenRC wasn't started itself, and that I had to execute touch /run/openrc/softlevel in order to get it to start. Which is nice and all, but it's a circular dependency: to create the file, I need to log in through ssh, and to log in through ssh I need to create the file. So I ended up doing this:
Create a bash script file with that line
Upload it to the device (I put it in the downloads directory)
Do a "chmod 777 /datamedia/media/0/Download/<myscriptfilename>.sh"
In Linux Deploy:
Enable Custom mount (leave the path default)
Enable Custom startup
Set Script file to "/mnt/0/Download/<myscriptfilename>.sh"
That allowed me to create that file and start sshd correctly. So now I can log in via ssh, yay!
It makes me wonder, though – is there a support forum for Linux Deploy in English? Their main forum seems to be Russian...
GreatEmerald said:
Got to run Gentoo, although it required a bit of effort. Since I want Plasma Active, I didn't choose any GUI (I need to set it up manually). However, the problem is that SSH wouldn't run, either, citing that OpenRC wasn't started itself, and that I had to execute touch /run/openrc/softlevel in order to get it to start. Which is nice and all, but it's a circular dependency: to create the file, I need to log in through ssh, and to log in through ssh I need to create the file. So I ended up doing this:
Create a bash script file with that line
Upload it to the device (I put it in the downloads directory)
Do a "chmod 777 /datamedia/media/0/Download/<myscriptfilename>.sh"
In Linux Deploy:
Enable Custom mount (leave the path default)
Enable Custom startup
Set Script file to "/mnt/0/Download/<myscriptfilename>.sh"
That allowed me to create that file and start sshd correctly. So now I can log in via ssh, yay!
It makes me wonder, though – is there a support forum for Linux Deploy in English? Their main forum seems to be Russian...
Click to expand...
Click to collapse
Great job! It looks like the original dev was russian and their github is in russian but use google translate. Hope this helps.
Android Terminal Emulator
Faznx92 said:
Great job! It looks like the original dev was russian and their github is in russian but use google translate. Hope this helps.
Click to expand...
Click to collapse
I actually took concepts from Linux Deploy and Complete(??) Linux Installer, and built a set of scripts to do all the chroot work without needing an Android app. Since I primarily use the terminal, running everything from the shell is much easier than using an app.
Using something like Android Terminal Emulator, you do not need ssh on the android side at all. You simply su to root and run a chroot command:
chroot <linux-mnt-pt> /bin/bash -i
or
chroot <linux-mnt-pt> /bin/su <user>
or
chroot <linux-mnt-pt> /bin/login <user>
The last option requires typing a password, but since it's a login, it sets up your environment correctly. The other two inherit your Android PATH (among other things), so you have to set PATH by hand or use an rc file which sets it from scratch.
Personally, I find even LXDE much too slow for regular use over vnc. Most of my interest revolves around emacs and gcc, which both work great in Android Terminal Emulator.
-Pie
Faznx92 said:
Great job! It looks like the original dev was russian and their github is in russian but use google translate. Hope this helps.
Click to expand...
Click to collapse
Ah, thanks for pointing that out. His issue list is in English, and that's exactly what I need!
I talked to people over at #systemd to see if it would be possible to have systemd launching things in a chroot, and unfortunately it seems to be impossible for the Kindle Fire HDX 7, because its kernel is not compiled with PID namespaces that systemd requires to function, and we don't have any means to compile custom kernels as far as I know. It's too bad, but I guess I can cope with OpenRC for now.
EatingPie said:
I actually took concepts from Linux Deploy and Complete(??) Linux Installer, and built a set of scripts to do all the chroot work without needing an Android app. Since I primarily use the terminal, running everything from the shell is much easier than using an app.
Using something like Android Terminal Emulator, you do not need ssh on the android side at all. You simply su to root and run a chroot command:
Click to expand...
Click to collapse
Interesting, although I do prefer an app (it's really quite convenient). Also, as far as ssh goes, I do prefer having that running over typing things into the terminal using the touchscreen.
Overall the experience of running Gentoo on ARM is interesting. The Snapdragon 800 is really quite a beast, but rather peculiar. There are often delays before my input starts to be processed, but once it does, it runs very fast, until it goes idle again. And the speed at which it compiles things is amazing. It's also nice that I can use all of those nice optimisations (I'm using -march=native and -mfpu=neon-vfpv4, with the neon USE flag enabled; I'd like to set -mcpu to something specific, but it doesn't seem to have Snapdragon as an option).
Ubuntu os
Maybe sometime we would be able to get Ubuntu os on our tabs.
zhable said:
Maybe sometime we would be able to get Ubuntu os on our tabs.
Click to expand...
Click to collapse
You already can, although it's limited to the desktop version (which isn't any good when it comes to touchscreens). Not sure if Ubuntu Touch will be available at some point. But eventually Ubuntu will ship Unity 8, which will be more touch-friendly.
This is all great news!
GreatEmerald said:
Overall the experience of running Gentoo on ARM is interesting. The Snapdragon 800 is really quite a beast, but rather peculiar. There are often delays before my input starts to be processed, but once it does, it runs very fast, until it goes idle again. And the speed at which it compiles things is amazing. It's also nice that I can use all of those nice optimisations (I'm using -march=native and -mfpu=neon-vfpv4, with the neon USE flag enabled; I'd like to set -mcpu to something specific, but it doesn't seem to have Snapdragon as an option).
Click to expand...
Click to collapse
I don't think -march=native is doing anything there buddy.
GCC doesn't officially "support" Krait (yet), nearest I can see would be Cortex-A9 which uses the same scheduling model (albeit with 3 less pipeline stages) as a Krait. Interestingly, LLVM/Clang has just patched in a krait -mcpu target, if you can use that. To be honest you'll not be gaining too much as, IIRC, the main difference between a Krait and an A9, in compiler specific terms, is vfp4, but you're setting that with the -mfpu option anyway.
My point after spouting that gibberish is to not sweat it, lose -march, change -mcpu to cortex-a9 and you're golden. At least until a krait mcpu target for GCC...
Spec-Chum said:
I don't think -march=native is doing anything there buddy.
GCC doesn't officially "support" Krait (yet), nearest I can see would be Cortex-A9 which uses the same scheduling model (albeit with 3 less pipeline stages) as a Krait. Interestingly, LLVM/Clang has just patched in a krait -mcpu target, if you can use that. To be honest you'll not be gaining too much as, IIRC, the main difference between a Krait and an A9, in compiler specific terms, is vfp4, but you're setting that with the -mfpu option anyway.
My point after spouting that gibberish is to not sweat it, lose -march, change -mcpu to cortex-a9 and you're golden. At least until a krait mcpu target for GCC...
Click to expand...
Click to collapse
Nope, -march=native sets -march to armv7-a, which is close enough. The point in using it is that as soon as GCC gets better optimisations, -march=native will use the more optimised choice, without manual intervention.
too slow download
very slow retrieving of files from server i have a 2 mb/s line
any idea how should i retrive it offline
---------- Post added at 06:24 PM ---------- Previous post was at 06:00 PM ----------
suit urself and paste any one link in mirror url in linux depoly settings for kali and other deployments
http://http.kali.org/README.mirrorlist
remove the readme when adding the url ... press thanks nd make me feel aprreciated

Categories

Resources