Omnimaga: The Coders Of Tomorrow
Welcome, Guest. Please login or register.
 
Omnimaga: The Coders Of Tomorrow
23 May, 2013, 16:19:23 *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   home   news downloads projects tutorials misc forums rules new posts irc about Login Register  
+-OmnomIRC

You must Register, be logged in and have at least 40 posts to use this shout-box! If it still doesn't show up afterward, it might be that OmnomIRC is disabled for your group or under maintenance.

Note: You can also use an IRC client like mIRC, X-Chat or Mibbit to connect to an EFnet server and #omnimaga.

Pages: 1 ... 3 4 [5]   Go Down
  Print  
Author Topic: BigNumNum Cruncher -  (Read 3199 times) Bookmark and Share
0 Members and 1 Guest are viewing this topic.
lkj
LV6 Super Member (Next: 500)
******
Offline Offline

Gender: Male
Last Login: Today at 00:31:23
Date Registered: 07 September, 2011, 20:05:25
Posts: 350

Total Post Ratings: +40

View Profile
« Reply #60 on: 01 March, 2012, 22:38:06 »
0

I had it in C:\MinGW\msys\1.0, so no space. But I'm installing it again anyways. Should I use 1.0.11 or newer? And should I update gcc to gcc 4.6.3?
Logged

My Nspire Ndless C projects:
sammyMaX
LV4 Regular (Next: 200)
****
Offline Offline

Last Login: 19 May, 2013, 00:12:41
Date Registered: 18 April, 2011, 18:01:37
Posts: 192


Topic starter
Total Post Ratings: +7

View Profile
« Reply #61 on: 01 March, 2012, 22:39:02 »
0

Is it perhaps YAGARTO's fault?
Logged


Are you wondering who Sammy is? My avatar is Sammy.
   
lkj
LV6 Super Member (Next: 500)
******
Offline Offline

Gender: Male
Last Login: Today at 00:31:23
Date Registered: 07 September, 2011, 20:05:25
Posts: 350

Total Post Ratings: +40

View Profile
« Reply #62 on: 01 March, 2012, 22:44:20 »
0

I reinstalled msys to c:/msys and get the same error. And the line which gives the error in the configure script is much too difficult for me to just patch it. Or even to figure out what it does.
Logged

My Nspire Ndless C projects:
sammyMaX
LV4 Regular (Next: 200)
****
Offline Offline

Last Login: 19 May, 2013, 00:12:41
Date Registered: 18 April, 2011, 18:01:37
Posts: 192


Topic starter
Total Post Ratings: +7

View Profile
« Reply #63 on: 01 March, 2012, 22:49:02 »
0

Perhaps it has something to do with YAGARTO, because in the thing you posted, the error on line 9 has to do with it.
Logged


Are you wondering who Sammy is? My avatar is Sammy.
   
lkj
LV6 Super Member (Next: 500)
******
Offline Offline

Gender: Male
Last Login: Today at 00:31:23
Date Registered: 07 September, 2011, 20:05:25
Posts: 350

Total Post Ratings: +40

View Profile
« Reply #64 on: 01 March, 2012, 22:54:08 »
0

Perhaps. Now that I'm looking at their website again I see that it says you shouldn't install yagarto to a path which contains spaces, but it automatically installed there and I never had any problems before. But I'll reinstall it.

Now I have installed it to c:\yagarto and still the same errors.
I haven't more time to look at this today because it's 10pm and I have a test in French and a presentation in English tomorrow.
« Last Edit: 01 March, 2012, 23:09:01 by lkj » Logged

My Nspire Ndless C projects:
lkj
LV6 Super Member (Next: 500)
******
Offline Offline

Gender: Male
Last Login: Today at 00:31:23
Date Registered: 07 September, 2011, 20:05:25
Posts: 350

Total Post Ratings: +40

View Profile
« Reply #65 on: 01 March, 2012, 23:23:38 »
0

Actually I was wrong, the errors changed. Now they are


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
c:\yagarto\bin\arm-none-eabi-nm.exe: conftest.o: File format not recognized
configure: WARNING: +----------------------------------------------------------
configure: WARNING: | Cannot determine global symbol prefix.
configure: WARNING: | /c/yagarto/bin/arm-none-eabi-nm output doesn't contain a global data symbol.
configure: WARNING: | Will proceed with no underscore.
configure: WARNING: | If this is wrong then you'll get link errors referring
configure: WARNING: | to ___gmpn_add_n (note three underscores).
configure: WARNING: | In this case do a fresh build with an override,
configure: WARNING: |     ./configure gmp_cv_asm_underscore=yes
configure: WARNING: +----------------------------------------------------------
configure: WARNING: "/c/yagarto/bin/arm-none-eabi-nm" failure
configure: WARNING: cannot determine local label, using default L
c:\yagarto\bin\arm-none-eabi-nm.exe: conftest.o: File format not recognized
c:\yagarto\bin\arm-none-eabi-nm.exe: conftest.o: File format not recognized
configure: error: cannot determine how to define a 32-bit word

Is it normal that it contains windows-style paths and linux-style paths?
Logged

My Nspire Ndless C projects:
sammyMaX
LV4 Regular (Next: 200)
****
Offline Offline

Last Login: 19 May, 2013, 00:12:41
Date Registered: 18 April, 2011, 18:01:37
Posts: 192


Topic starter
Total Post Ratings: +7

View Profile
« Reply #66 on: 01 March, 2012, 23:49:14 »
0

If you didn't configure it for the Nspire, make sure to do that. Instead of just ./configure, do ./configure --host=arm-none-eabi
Logged


Are you wondering who Sammy is? My avatar is Sammy.
   
lkj
LV6 Super Member (Next: 500)
******
Offline Offline

Gender: Male
Last Login: Today at 00:31:23
Date Registered: 07 September, 2011, 20:05:25
Posts: 350

Total Post Ratings: +40

View Profile
« Reply #67 on: 02 March, 2012, 00:00:46 »
0

The script I used has this in it.
Logged

My Nspire Ndless C projects:
sammyMaX
LV4 Regular (Next: 200)
****
Offline Offline

Last Login: 19 May, 2013, 00:12:41
Date Registered: 18 April, 2011, 18:01:37
Posts: 192


Topic starter
Total Post Ratings: +7

View Profile
« Reply #68 on: 02 March, 2012, 00:02:50 »
0

I don't know then. Perhaps someone with more knowledge can help you.
Logged


Are you wondering who Sammy is? My avatar is Sammy.
   
lkj
LV6 Super Member (Next: 500)
******
Offline Offline

Gender: Male
Last Login: Today at 00:31:23
Date Registered: 07 September, 2011, 20:05:25
Posts: 350

Total Post Ratings: +40

View Profile
« Reply #69 on: 02 March, 2012, 00:08:05 »
0

And you also have yagarto with binutils version 2.21 and gcc 4.6.2?
Logged

My Nspire Ndless C projects:
sammyMaX
LV4 Regular (Next: 200)
****
Offline Offline

Last Login: 19 May, 2013, 00:12:41
Date Registered: 18 April, 2011, 18:01:37
Posts: 192


Topic starter
Total Post Ratings: +7

View Profile
« Reply #70 on: 02 March, 2012, 00:16:18 »
0

I do, but I never installed GMP with it. I have GMP installed on Ubuntu 11.10, where you don't need such things.
Logged


Are you wondering who Sammy is? My avatar is Sammy.
   
lkj
LV6 Super Member (Next: 500)
******
Offline Offline

Gender: Male
Last Login: Today at 00:31:23
Date Registered: 07 September, 2011, 20:05:25
Posts: 350

Total Post Ratings: +40

View Profile
« Reply #71 on: 03 March, 2012, 20:21:22 »
0

Does anyone know why configure calls mingw's gcc and not yagarto's gcc? What should I change?

Now I know why, somehow it doesn't find yagarto's gcc, even though its path is in my PATH environment variable.
« Last Edit: 03 March, 2012, 21:29:20 by lkj » Logged

My Nspire Ndless C projects:
lkj
LV6 Super Member (Next: 500)
******
Offline Offline

Gender: Male
Last Login: Today at 00:31:23
Date Registered: 07 September, 2011, 20:05:25
Posts: 350

Total Post Ratings: +40

View Profile
« Reply #72 on: 03 March, 2012, 21:59:23 »
0

It does find the correct gcc, but the problem seems to be an "undefined reference to '_exit'" in newlib Sad

The important part of config.log:


1
2
3
4
5
6
7
8
9
10
configure:5440: checking compiler arm-none-eabi-gcc -O2 -pedantic -fomit-frame-pointer
Test compile:
configure:5454: arm-none-eabi-gcc -O2 -pedantic -fomit-frame-pointer  conftest.c >&5
c:/yagarto/bin/../lib/gcc/arm-none-eabi/4.6.2/../../../../arm-none-eabi/lib\libc.a(lib_a-exit.o): In function `exit':
C:\msys\1.0\home\yagarto\newlib-build\arm-none-eabi\newlib\libc\stdlib/../../../../../newlib-1.19.0/newlib/libc/stdlib/exit.c:65: undefined reference to `_exit'
collect2: ld returned 1 exit status
configure:5457: $? = 1
failed program was:

int main () { return 0; }
« Last Edit: 03 March, 2012, 22:00:33 by lkj » Logged

My Nspire Ndless C projects:
lkj
LV6 Super Member (Next: 500)
******
Offline Offline

Gender: Male
Last Login: Today at 00:31:23
Date Registered: 07 September, 2011, 20:05:25
Posts: 350

Total Post Ratings: +40

View Profile
« Reply #73 on: 04 March, 2012, 21:05:34 »
0

I figured out that the above error is the only real one, the other error about the 32 bit words was with the x86-gcc to which it fell back after arm-none-eabi-gcc had given an error.
Logged

My Nspire Ndless C projects:
Pages: 1 ... 3 4 [5]   Go Up
  Print  
 
Jump to:  

Powered by EzPortal
Powered by MySQL Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Powered by PHP
Page created in 0.182 seconds with 31 queries.
Skin by DJ Omnimaga edited from SMF default theme with the help of tr1p1ea.
All programs, games and songs avaliable on this website are property of their respective owners.
Best viewed in Opera, Firefox, Chrome and Safari with a resolution of 1024x768 or above.