Homebrew I have no idea..... does someone have the same problem?

  • Thread starter Thread starter Sonansune
  • Start date Start date
  • Views Views 4,662
  • Replies Replies 39
I tried to compile gcc with gcc, but it wasn't detecting gcc, because it was arm-eabi-gcc. In zlib's configure script, you can set a CROSS_PREFIX environment variable to use a specific gcc.
If you're using bash, (without quotes) run "CROSS_PREFIX=arm-none-eabi- make".
Or if you're using plain Windows cmd, run "set CROSS_PREFIX=arm-none-eabi-", and then run "make". You only need to set the variable once in this case.

Derpy edit: worth a try: "make CROSS_PREFIX=arm-none-eabi-"
 
Last edited by Sono,
I tried to compile gcc with gcc, but it wasn't detecting gcc, because it was arm-eabi-gcc. In zlib's configure script, you can set a CROSS_PREFIX environment variable to use a specific gcc.
If you're using bash, (without quotes) run "CROSS_PREFIX=arm-none-eabi- make".
Or if you're using plain Windows cmd, run "set CROSS_PREFIX=arm-none-eabi-", and then run "make". You only need to set the variable once in this case.

Derpy edit: worth a try: "make CROSS_PREFIX=arm-none-eabi-"
:wacko: I don't get it....
 
I see, you have windows.

It's worth a try: "set CROSS_PREFIX=arm-none-eabi-" and "make",
or "make CROSS_PREFIX=arm-none-eabi-"
checking dynamic linker characteristics... no
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... no
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for i686-pc-mingw32-gcc... no
checking for gcc... no
checking for cc... no
configure: error: cannot find native C compiler
make[1]: *** [setup] Error 1
make[1]: Leaving directory `/c/devkitPro/portlibs/freetype-2.6.2'
make: *** [freetype] Error 2

C:\devkitPro\portlibs>set CROSS_PREFIX=arm-none-eabi-

C:\devkitPro\portlibs>make
Please choose one of the following targets:
freetype (requires zlib to be installed)
jansson
libexif
libjpeg-turbo
libpng (requires zlib to be installed)
libxmp-lite
sqlite
tinyxml2
zlib
 
Close and re-open cmd to clear the temporary environment variables, and try this:

Code:
set PATH=%PATH%;%devkitarm%\arm-none-eabi-gcc\bin
doskey gcc=arm-none-eabi-gcc
doskey g++=arm-none-eabi-g++
doskey ar=arm-none-eabi-ar
doskey as=arm-none-eabi-as
make
 
Close and re-open cmd to clear the temporary environment variables, and try this:

Code:
set PATH=%PATH%;%devkitarm%\arm-none-eabi-gcc\bin
doskey gcc=arm-none-eabi-gcc
doskey g++=arm-none-eabi-g++
doskey ar=arm-none-eabi-ar
doskey as=arm-none-eabi-as
make
it doesn't work... anyway, thanks for you help!!!!:lol:
 
//off-topic
Now I booted into Win8 instead of Linux, because I'm gonna install armNEINloaderhax

//on-topic
Do you have a link to the repo? I'll try to compile it, so I won't have to blindly write guesses/tips/ideas :P
 
  • Like
Reactions: Mrrraou
//off-topic
Now I booted into Win8 instead of Linux, because I'm gonna install armNEINloaderhax

//on-topic
Do you have a link to the repo? I'll try to compile it, so I won't have to blindly write guesses/tips/ideas :P
yes.... https://github.com/devkitPro/3ds_portlibs

--------------------- MERGED ---------------------------

//off-topic
Now I booted into Win8 instead of Linux, because I'm gonna install armNEINloaderhax

//on-topic
Do you have a link to the repo? I'll try to compile it, so I won't have to blindly write guesses/tips/ideas :P
i have 1 ubuntu laptop, but I prefer doing 3ds stuff on windows:D

--------------------- MERGED ---------------------------

//off-topic
Now I booted into Win8 instead of Linux, because I'm gonna install armNEINloaderhax

//on-topic
Do you have a link to the repo? I'll try to compile it, so I won't have to blindly write guesses/tips/ideas :P
https://gbatemp.net/threads/tutorial-compiling-arm9loaderhax-easiest-way-ever.416407/
a python script:yay:
 
the problem is windows and the cure is GNU + Linux. Close Windows Open Doors
23af0eb28093875ae817882f6c8593a2.jpg
d7621a1482f7a3720a231a061e6c6303.jpg
 
  • Like
Reactions: Sono
Go on your Linux computer, install devKitPro, download the package you want to compile and do this :
sudo apt-get install build-essential
Build-essential has most of the required bits and pieces you need for compiling
Then try compiling your package.
 
Close and re-open cmd to clear the temporary environment variables, and try this:

Code:
set PATH=%PATH%;%devkitarm%\arm-none-eabi-gcc\bin
doskey gcc=arm-none-eabi-gcc
doskey g++=arm-none-eabi-g++
doskey ar=arm-none-eabi-ar
doskey as=arm-none-eabi-as
make

YOU ARE FUUUUUUUUUUUUUUUUCKING A M A Z I N G

Reviving a dead thread? No regrets at all, that man needs a trophy!
 
Last edited by fr3quency,
  • Like
Reactions: Sono

Site & Scene News

Popular threads in this forum