Acolyte of the Butterfly
Posts: 146 from 2009/11/7
From: Southern CA
@D4Ni3L3
I did a little more checking on this and have somewhat of a partial fix**....if you follow these steps:
Select "Change Compiler -> Configure compiler"
1.) Specify the compiler installation path:
YourDrive:Development/GG
2.) Specify the assign associated with the compiler folder, if any:
gg:
3.) If a scipt needs...
(you can leave this blank)
4.) If a script needs to de-activate...
(you can leave this blank)
5.) Specify the program that typically is used to 'make'...
bin:make -f%makefile %target
6.) Specify the command line for compiling...
gcc $(shell gccprefs) -c -o %obj %src
7.) Specify the command line for compiling a C++...
g++ $(shell gccprefs) -c -o %obj %src
8.) Specify the command line to be used for linking...
gcc %objs $(shell gccprefs) -o %exe
9.) Specify the command line to be used for linking a list of C++...
g++ %objs $(shell gccprefs) -o %exe
10.) Specify the stack size...
set as necessary...
11.) Specify the command line for debugging...
(you can leave this blank)
12.) Specify the command line for debugging...
(you can leave this blank)
13.) Specify where the includes are located...
"gg:include gg:os-include:"
14.) Specify what operating systems...
morphos
15.) Specify what operating systems can run the EXECUTABLES...
morphos
You can now put a project under control of any ordinary make file...when you select "Make" from the project just set it as "bin:make" and point it at your makefile. Cubic IDE will create a 'project.options' with the file in 'etc'.
I also had to add this to the "s:user-startup":
;BEGIN devkits
assign devkits: "gg:bin/"
;END devkits
You can switch the compiler that is used (as normal) with the 'gccselect' program in the MorphOS SDK. Programs will compile and run from with inside Cubic IDE with the updated SDK and the compiler you have selected.
**Two things of note, 'Project Options' are not available and it does NOT create the default Makefile.
IKE
IKE
MacMini G4 1.5Ghz/PowerBook G4 1.67Ghz/PowerMac G5 2.0Ghz DP 7,2 Radeon 9650/256MBJoin the conversation @
r/morphos