What | Removed | Added |
---|---|---|
Status | RESOLVED | REOPENED |
Resolution | WORKSFORME | --- |
> > echo 'int main() {}' > t.c
> > avr-gcc t.c
> /usr/lib64/gcc/avr/7/ld: warning: -z relro ignored.
> rguenther@murzim:/tmp> file a.out
> a.out: ELF 32-bit LSB executable, Atmel AVR 8-bit, version 1 (SYSV),
> statically linked, BuildID[sha1]=061130270a1d2812138c3bdd0fc35347fb8c3869,
> not stripped
>
> so it works just fine (and yes, avr-libc is installed in /usr/avr/sys-root).
Just compiling one file is not my (and others) problem.
As you can see the problem appears during linking. There is a little bit more
stuff to do for a uC hex-file.
Currently I'm working with a self compiled toolchain in ~/bin/.
Not the first time and not the first software package with OpenSuSE.
It should be possible with a simple installation of needed packges to run the
workflow.