Priest of the Order of the Butterfly
Posts: 621 from 2004/4/15
So,
so in the end, that's what did and I unerdstand so far:
1. Removewd SDK from Sys:Development
2. Removed file MorphOSSDK from Sys:Prefs/Env-Archive
3. Reboot
4. Did a clean install of the SDK to Work:Tools/Development
5. Reboot
- MorphOSSDK points to correct path
- PATH says:
Code:
Work:Tools/Development> path
Aktuelles_Verzeichnis
System:MorphOS/C
System:C
System:Utilities
System:S
System:MorphOS/S
C:
There is no gg:bin, so
Code:
Work:Tools/Development> gcc
gcc: Unbekannter Befehl
must fail!
Going to gg:bin
Code:
Work:Tools/Development/gg/bin> ppc-morphos-g++ --version
2.95.3
so the link points to version 2.95.3 at default
Code:
Work:Tools/Development> GCCSelect 5
Switching default gcc links to the gcc 5 package
Work:Tools/Development> gg:bin
Work:Tools/Development/gg/bin> ppc-morphos-g++ --version
ppc-morphos-g++ (GCC/MorphOS) 5.5.0
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
GccSelect just sets ppc-morphos-gccc|g++|cpp but NOT gcc or g++
So I have to create these links on my own.
Code:
Ram Disk:> path add gg:bin
Ram Disk:> path
Aktuelles_Verzeichnis
System:MorphOS/C
System:C
System:Utilities
System:S
System:MorphOS/S
Work:Tools/Development/gg/bin
C:
Ram Disk:> ppc-morphos-g++ --version
ppc-morphos-g++ (GCC/MorphOS) 5.5.0
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Ram Disk:>
After adding gg:bin to path, I have all the sdk tools in path.
Which is quiet helpful if you want to use other tools like git from the SDK
Code:
Ram Disk:> which git
Work:Tools/Development/gg/bin/git
BTW the env variables are also wrong:
Code:
Ram Disk:> set
RC 0
Result2 0
_mchar &&
_pchar |
better:
Code:
Work:Tools/Development> set
CC gcc
CCC ppc-morphos-gcc
CFLAGS -ISDL/
CXX ppc-morphos-g++
CXXFLAGS -noixemul
LIBS -lSDL
RC 0
Result2 0
VIMRUNTIME vim:
_mchar &&
_pchar |
So to sum it up:
1. add gg:bin to your path
2. create links like gcc, g++, ...
3. set your env variables on your own
I don't know if these are only problems on my machine.
But I really don't know what I am doing wrong at installation?
If these probleme also exist on all other machines, I think the SDK should be fixed, because
after installation there should be working env.
regards
eliot