Rockbox Development > Starting Development and Compiling

arm-elf-eabi-gcc not in PATH

<< < (9/11) > >>

Kalin:

--- Quote from: torne on July 05, 2010, 10:36:40 AM ---Edit rockboxdev.sh and add it to the end of the line that says:

--- Code: ---CFLAGS=-U_FORTIFY_SOURCE ../$toolname-$version/configure --target=$target --prefix=$prefix --enable-languages=c --disable-libssp --disable-docs $configure_params
--- End code ---

binutils treats all warnings as errors by default, but it's being built by your host compiler and your host compiler is not guaranteed to be entirely happy with it. --disable-werror tells it to let warnings slide :)

--- End quote ---
Thank you! I'll try in the future. No problems compiling in Ubuntu 10.04! :D

By the meantime I'd develope in Ubuntu, since it seems to be full compatible and I don't have to be playing with any work-arround for compiling. Thank you very much for the help, and sorry for my english...

Cheers! ;)

chileboy:
I need to resurrect this thread...

I have followed the wiki carefully (I think).  After getting Cygwin installed, when I first ran rockboxdev.sh, I got some complaint about not finding libiconv, so I re-ran Setup and installed that (although not referenced in the wiki).  After that, rockboxdev.sh seemed to run ok except for the following warnings (I piped the output to a text file just to be sure I wasn't missing anything) - not sure if these are significant or not:


--- Code: ---../../binutils-2.20.1/libiberty/choose-temp.c: In function `choose_temp_base':
../../binutils-2.20.1/libiberty/choose-temp.c:68: warning: call to `mktemp' decl
ared with attribute warning: the use of `mktemp' is dangerous; use `mkstemp' ins
tead
libtool: link: warning: undefined symbols not allowed in i686-pc-cygwin shared l
ibraries
libtool: link: warning: undefined symbols not allowed in i686-pc-cygwin shared l
ibraries
syslex.c:1272: warning: `yyunput' defined but not used
syslex.c:1315: warning: `input' defined but not used
arlex.c:1397: warning: `yyunput' defined but not used
arlex.c:1440: warning: `input' defined but not used
/Users/gingold/Repositories/fsf/binutils-2_20/ld/ldlex.c:3362: warning: `yyunput
' defined but not used
rm: cannot remove `/tmp/rbdev-build/build-binutils': Device or resource busy
--- End code ---

Yet no matter what I have tried, I cannot get arm-elf-eabi-gcc to show up in my usr/local/bin, and of course running configure triggers the "not in PATH" error.

I ran Cygwin setup multiple times, checked my package selection each time to be sure, deleted the tmp directory between installs, etc.

I was getting a bit frustrated, so I thought maybe someone could give me a clue as to what I'm missing.

Thanks.

saratoga:

--- Quote from: chileboy on October 19, 2010, 03:09:11 PM ---

I was getting a bit frustrated, so I thought maybe someone could give me a clue as to what I'm missing.



--- End quote ---

No idea, but IMO cygwin is way more trouble then its worth.  Using a VM is much easier. 

torne:
This is a bug in rockboxdev.sh on Cygwin machines; your build is being stopped once binutils has compiled, before gcc compilation starts, because it failed to remove the temporary directory for the binutils build.

I worked this one out the other day but predictably I forgot about it; I'm going to fix it now. I'll report back when I've sorted the issue :)

Edit: It should be fine now; update to at least svn r28314 and try again.

[Saint]:
Just a quick note,

If anyone reads this thread...just so they know, it is *not* necessary (as of the eabi changeover) to edit the $PATH variable to include the toolchain in CygWin any more.

By default, the toolchain is built and placed in a $PATH that is one of CygWins defaults...so, there should be no need to edit the path to include the toolchain in a default installation.

I hope this clears up some confusion.



[St.]

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version