-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build of windows 64bit #1
Comments
Script is in gcc 4.6.3 source release by CodeSourcery. You'll need the full
|
I have to pull this source and also have to download source from that site ? |
The source on that site includes about 7 different projects. When you get source from that site, you will need to modify the script they Tell me if you run in to any errors.
|
Ok then I will try ASAP just give me exact link to that source or only name of that file containing source |
It's in the same place you download GCC 4.6.3, it has option for source
|
Ok I'm here please give little detailed cause I have never used scripts for compile |
Ok so first you have to choose a build dir, where it will do all the work. So create that directory, make sure it is owned by user (chown). Inside Now rename the gcc-4.6-2012.03 folder to something else. Then grab this Now you are all set. Just run the build script.
|
If you change source from 4.6.3 to 4.7.3, for example, you need to do a
|
Ok now I know what to do should I compile 4.7.3 or again download 4.8.3 ? |
Definitely 4.8.3. It compiles faster and cleaner. I won't add 4.9.
|
Ok extracting files |
I have to use linux ? Because when I run script in git bash I get error on line 140 and 141 that command not found grep and sed |
You need Linux to compile it I think. It compiles the Windows binaries
|
I'm going to use kali linux for that purpose. It will work,wouldn't it ? |
or simply I should use ubuntu ? Because kali linux doesn't have mingw preinstalled |
Any linux should work. The build script tries to build for linux and then
|
None of them have mingw preinstalled, it's ok.
|
then I will build it tomorrow with 4.8.3 |
after installing mingw |
Mingw is installed in linux? Grep and sed are preinstalled on Linux.
|
then some package installing is not completed :( |
yes linux |
All linux have grep and sed installed. Are you running in bash?
|
I have just opened terminal and ran the script using bash scriptname.sh |
Not sure how your bash does not have grep or sed installed. Which Linux
|
It's Kali linux |
Kali Linux should work fine. I don't understand how grep and sed aren't Can you try running this: Does it say unknown command?
|
nope |
Ok then it works.what's the exact error the script gives?
|
scriptname.sh line 141: grep: command not found scriptname.sh line 141: sed: command not found |
All folders are in correct place |
even if I create new folder in any folder i.e. scratch, nokia, nsidwell it displays (cd and chown) no such file or directory |
even now I have replaced whole path with only /arm still it gives same error |
Your user shouldn't be root. /scratch/nsidwell/nokia/src/ should contain all the extracted .tar.bz2 On Thu, Jun 12, 2014 at 1:37 PM, Bhavin [email protected] wrote:
|
I was running it in Kali linux persistence mode(from removable disk) it wasn't real installation of linux that's why the user was root I'm installing ubuntu in VM then I will try it |
OK, problem: So command is: ./arm-2012.03-42-arm-none-symbianelf.sh For those .tar.gz files, you can either remove the line where they are extracted or you can make sure they exist (i.e. copy them over). Personally I used /scratch/ndiswell/nokia instead of a local dir but both should work. |
who wrote this script :@:@:@ |
I removed the tasks from 3 to 23 |
Haha yeah and their build dir was in / If you get any permission denied that is because it is owned by root. Make sure it is all owned by user. |
It will be good if you can give me corrected script so that it will be able to build without extracting tar.bz2 files |
MMM you should be able to remove those lines. |
Already done that and btw every file is owned by me but still it's permission denied :( |
Permission denied means you don't have permission to execute the file. Either not owned by you or not set to executable (but it was by default). From: BhavinSent: Friday, 13 June 2014 2:19 PMTo: xsacha/SymbianGCCReply To: xsacha/SymbianGCCCc: xsachaSubject: Re: [SymbianGCC] Build of windows 64bit (#1)Already done that and btw every file is owned by me but still it's permission denied :( —Reply to this email directly or view it on GitHub. |
Ok I will try again |
Hey @xsacha please build it for windows 64 bit :P I will try though but someone rather than me want it |
Please upload it |
I'll work on the script today but probably won't compile it. You should be able to compile it though. |
It will be fine |
Hmm if i build the Windows binary, I still need to update the SDK for Windows I think. Unless the Linux one already includes all that stuff. By the way, since you were using Linux to compile this, would you be able to just compile for Symbian off your Linux install? |
No it will need to install all needed things there in VM just to compile for symbian and if you make it work on windows it will be very good for other developers for there development |
I've added a mingw script. |
Exist more simple and convinient way to build crosscompilers. I have builded scummvm with GCC 5.3.0 =) |
@fedor4ever Sorry I missed this. |
ScummVM works for me. I build gcc 5.x.0 series for Symbian with mingw 4.8.3. Also I build with latest binutils. I write build shell script for automate build process. This script based on binutils, gcc and gdb build manuals and Linux from scratch book. What wrong - can't build gdb, need investigation. What bad - need patch configure script in libstdc++ dir because can't deduce some types, need manual edit ( I work at autopatching). Binutils buids. Simple builds. исходное сбщ @fedor4ever Sorry I missed this. You are receiving this because you were mentioned. |
Do you have this script in your github? I couldn't find it. |
You can look at script now, but readme and link to my blog missed. If you have good knowledge regexps look at patch4libstdc++v4.sh Always yours, Strizhniou Fiodar Пользователь xsacha [email protected] писал:
|
Thanks. You build GCC 6.1 now? |
My current target - GCC 6.1. |
I stick also with error in c++14 mode: operator new(TUint, TUint)' is a usual (non-placement) deallocation function in C++14 (or with -fsized-deallocation) [-Wc++14-compat]. -fpermissive dowgrade this error to warning but this operator illegal from c++14 =( |
Please provide Windows 64 bit version
or where is the script to build
btw Nice Work !! :)
The text was updated successfully, but these errors were encountered: