Fool Question
John Clarke
johnc@vastsystems.com.au
Wed Feb 23 16:38:00 GMT 2000
On Wed, Feb 23, 2000 at 02:19:56PM -0500, Paredes, Jefferson SECUADO-FNE4 wrote:
You need link with libgcc.a, crt0.o and libc.a. If you compile and link
in one step like this:
h8300-hms-gcc -o temp temp.c
it should compile and link successfully. If you compile and link in
separate steps like you did, then you need to tell ld to include these
files, like this:
h8300-hms-ld -o temp temp.o /path/to/crt0.o -lgcc -lc
(crt0.o is in $(GCC_EXEC_PREFIX)/../../h8300-hms/lib/)
If you still can't get it to work, let me know what happens and I'll help
you further.
Cheers,
John
--
whois !JC774-AU@whois.aunic.net
More information about the Gcc
mailing list