[Buildroot] AVR32 misery
Ulf Samuelsson
ulf at atmel.com
Fri Sep 28 07:35:45 UTC 2007
fre 2007-09-28 klockan 02:08 +0200 skrev Ulf Samuelsson:
> I think I have found one problem
> "toolchain_build_avr32/gcc-4.1.2-initial/gcc/as" is a script file
> which should call the assembler.
>
> It contains
>
> #!/bin/sh
> exec "$@"
>
> and should contain:
> #!/bin/sh
> exec <buildroot>/build_avr32/staging_dir/bin/avr32-linux-uclibc-ld "$@"
>
> I modified this by hand, and now it seems to continue further.
> Off to bed...
>
When gcc-4.1.2 is build
"toolchain_build_avr32/gcc-4.1.2-initial/gcc/<app>" contains
app=as
#!/bin/sh
exec "$@"
app=collect-ld
#!/bin/sh
exec <buildroot>/build_avr32/staging_dir/avr32-linux-uclibc/bin/ld "$@"
app=nm
#!/bin/sh
exec /usr/bin/nm "$@"
------
I am changing all to:
#!/bin/sh
exec <buildroot>/build_avr32/staging_dir/avr32-linux-uclibc/bin/<app>
"$@"
> BR
> Ulf Samuelsson
>
>
> _______________________________________________
> buildroot mailing list
> buildroot at uclibc.org
> http://busybox.net/mailman/listinfo/buildroot
More information about the buildroot
mailing list