Toolchaining question

Previous topic - Next topic

xteraco

Hi, I'm new to the forum.  8)

I'm trying to figure out how GLBasic works so i can set up my own toolchain in C++. I'd like to build binaries for the gp2x WiZ. I'm using M$ Windows 7.

Any way... There is a line in the setup ini that I don't understand...

strip="%GLBASIC%Compiler\platform\WIZ\Bin\strip.exe" --strip-all

The thing I'm not sure of is what is strip, and what does it mean to --strip-all.

Also if how to do this has been explained somewhere before could you please point me in that direction?

Thanks in advance!
-xteraco

MrTAToad

strip removes symbolic information (and other information not required for execution) from an executable file with a view to conserving disk space for production (that is, already debugged) programs. The Windows executable headers indicate how much data should be in an executable file. strip removes all data that should not be there. Thus it should successfully remove any symbol table; however, any executable which uses data outside its executable image, fails.

Talking of which, it would be nice to be able to select one or more platforms which could then be compiled one after the other, without the need to manually switch platforms.

Kitty Hello

what are you trying to do? Replacing the toolchain is not too easy.

xteraco

I want to build a toolchain for the WiZ. I want to use C++ and Windows 7.

Kitty Hello

Yes, but... why would you?

Moru

I might be ignorant for developing for the WIZ but for GP2X I just hit the compile button, transfer the file to my SD-card, load it into the GP2X and run it. Can it be that much different on the WIZ?

MrTAToad

I have a feeling he wants to use C to interface with the GLBasic libraries from his own programs...

Kitty Hello

he can. No need for a different compiler.

xteraco

Nope. I was trying to learn how toolchains are built using GLBasic as my example.