updates for cross compilation
types.h include guard fix
allow executing script, in case @dgruss forgets
Merge pull request #1 from GhostLyrics/master

allow executing script, in case @dgruss forgets
update for new sweb-img-util version (fixes problems on windows cross
compilation)
added missing O_BINARY flag (broke windows cross compilation)
Merge branch 'master' of github.com:IAIK/sweb
linux does not know O_BINARY
O_BINARY resulted in strange behaviour, changed to fopen/fread/fwrite
instead
pass -lgcc to compiler instead of linker, compiler knows better where the linker is
and fixed a bug in RegularFile.cpp
"find" in current directory instead of whereever
remove linux specific parameter from "rm" call

(really, it just asks whether you are sure to remove more than 3 files
at once)
removed remaining rm -I calls... still have to add prompt
removed relocate_project.sh (should not be necessary anymore) and added a prompt.sh for a generic user prompt working on linux/osx/windows
improve prompting for "mrproper"

- allow executing the script
- add hint to output what the default setting does
- catch empty strings and default to YES
- document the script
- good variable names
Merge pull request #3 from GhostLyrics/master

improve prompting for "mrproper"
added cross compiler variables for more convenient cross compilation
automatic cross compile detection
Fix a use-after-return stack memory bug.

Use std::string to copy the returned value instead
of returning an invalid pointer to the stack.

Signed-off-by: Samuel Kogler <samuel.kogler@gmail.com>
Fix void pointer arithmetic (undefined behaviour).

Signed-off-by: Samuel Kogler <samuel.kogler@gmail.com>