Ron, can you tell me how to "use mwcrt1.o"?
I've tried:
$ export LD_LIBRARY_PATH=/path/to/MW/Startup
$ mwcc t.c
I also tried:
$ mwcc t.c /path/to/mwcrt1.o
In both cases I still get the error:
> mwcc t.c "/Applications/Metrowerks CodeWarrior 9.0/Metrowerks
CodeWarrior/MacOS X Support/Libraries/Startup/mwcrt1.o"
Error : Internal Mach-O Importer Error File 'ImportMachO.c' Line 1112
can't
find section for address
Errors caused tool to abort.
Error : linker '/usr/bin/mwld' returned with exit code 1
Errors caused tool to abort.
I can't replace /usr/lib/crt1.o, as it is used in other builds and
sysadmins won't take the risk of it causing some problems.
Is there a way I, without root privs, can use mwcrt1.o in place of
crt1.o?
Here's a few more details:
$ mwcc -version
Metrowerks C/C++ Compiler for Mac OS X/PPC.
Copyright (c)1993-2003 Metrowerks, Inc.
All rights reserved.
Version 3.2 build 381
Runtime Built: Aug 25 2003 20:39:49
$ uname -a
Darwin powermacg5 7.3.0 Darwin Kernel Version 7.3.0: Fri Mar 5 14:22:55
PST 2004; root:xnu/xnu-517.3.15.obj~4/RELEASE_PPC Power Macintosh
powerpc
Thanks!
Tim<!-- ~MESSAGE_AFTER~ -->
>> Stay informed about: Internal Mach-O Importer Error File 'ImportMachO.c' Line 1..