Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#448 nonsense in collect-aros from pc-i386-sdk

i386-linux
open
nobody
5
2013-04-12
2013-04-12
Eugene Sobolev
No

After installation pc-i386-sdk (on 32-bit computer) any last version SDK and compiling for example 'hello world' we will see:

i386-aros-gcc hello-world.c -o hello-world
sh: /home/aros/ABIv0/Build/20130410/AROS/bin/linux-x86_64/tools/i386-pc-aros-objdump: No file or dir
sh: /home/aros/ABIv0/Build/20130410/AROS/bin/linux-x86_64/tools/i386-pc-aros-nm: No file or dir

After installation pc-x86_64-sdk (on 64-bit computer) compiling work correctly! Why?

Problem with /tools/collect-aros/env.h where:

#ifdef _CROSS_
#define LD_NAME "/home/aros/ABIv0/Build/20130410/AROS/bin/linux-x86_64/tools/crosstools/i386-aros-ld"
#define STRIP_NAME "/home/aros/ABIv0/Build/20130410/AROS/bin/linux-x86_64/tools/crosstools/i386-aros-strip"
#define NM_NAME "/home/aros/ABIv0/Build/20130410/AROS/bin/linux-x86_64/tools/crosstools/i386-aros-nm"
#define OBJDUMP_NAME "/home/aros/ABIv0/Build/20130410/AROS/bin/linux-x86_64/tools/crosstools/i386-aros-objdump"
#endif

and

#define LD_NAME "/usr/bin/ld"
#define STRIP_NAME "/home/aros/ABIv0/Build/20130410/AROS/bin/linux-x86_64/tools/i386-pc-aros-strip"
#define NM_NAME "/home/aros/ABIv0/Build/20130410/AROS/bin/linux-x86_64/tools/i386-pc-aros-nm -C -ul"
#define OBJDUMP_NAME "/home/aros/ABIv0/Build/20130410/AROS/bin/linux-x86_64/tools/i386-pc-aros-objdump"
#endif

Discussion