error: unsupported option '-static-libgcc'

Asked by Ray Zhang

occured this issuse when bulid gcc-arm-none-eabi-4_8-2014q1-20140314 on os x 10.9.2, how can i fix it?

Question information

Language:
English Edit question
Status:
Solved
For:
GNU Arm Embedded Toolchain Edit question
Assignee:
No assignee Edit question
Solved by:
Joey Ye
Solved:
Last query:
Last reply:
Revision history for this message
Joey Ye (jinyun-ye) said :
#1

Ray,

This project doesn't support building on Mac OS 10.9.2. We don't have a solution yet. In case find a solution later please share it.

Sorry for the inconvenience.
Joey

Revision history for this message
Ray Zhang (zhang-yimin007) said :
#2

Finally, i solved this problem by remove all '-static-libgcc' options from your scripts, but got another problem:

Output written on libc.pdf (328 pages, 697157 bytes).
Transcript written on libc.log.
/usr/bin/texi2dvi: pdfetex exited with bad status, quitting.
/usr/bin/texi2dvi: see libc.log for errors.
make[4]: *** [libc.pdf] Error 1
make[3]: *** [pdf-recursive] Error 1
make[2]: *** [pdf-recursive] Error 1
make[1]: *** [pdf-target-newlib] Error 1
make: *** [do-pdf] Error 2

Do you have any idea of this isuess?

Revision history for this message
Best Joey Ye (jinyun-ye) said :
#3

Could old texi conflicting with latest tetext. You can just simply disable
pdf generation.
2014-4-3 下午12:56于 "Ray Zhang" <email address hidden>写道:

> Question #246343 on GCC ARM Embedded changed:
> https://answers.launchpad.net/gcc-arm-embedded/+question/246343
>
> Status: Answered => Open
>
> Ray Zhang is still having a problem:
> Finally, i solved this problem by remove all '-static-libgcc' options
> from your scripts, but got another problem:
>
> Output written on libc.pdf (328 pages, 697157 bytes).
> Transcript written on libc.log.
> /usr/bin/texi2dvi: pdfetex exited with bad status, quitting.
> /usr/bin/texi2dvi: see libc.log for errors.
> make[4]: *** [libc.pdf] Error 1
> make[3]: *** [pdf-recursive] Error 1
> make[2]: *** [pdf-recursive] Error 1
> make[1]: *** [pdf-target-newlib] Error 1
> make: *** [do-pdf] Error 2
>
> Do you have any idea of this isuess?
>
> --
> You received this question notification because you are an answer
> contact for GCC ARM Embedded.
>

Revision history for this message
Ray Zhang (zhang-yimin007) said :
#4

Thanks for your supports, and i got it after disable pdf generation.

And I made two packages on os x 10.9.2 named gcc-arm-none-eabi-4_8-2014q2-20140403-mac.tar.bz2 and gcc-arm-none-eabi-4_8-2014q2-20140403-src.tar.bz2 just like waht i dowloads. Thank you at all.

Revision history for this message
Ray Zhang (zhang-yimin007) said :
#5

Thanks Joey Ye, that solved my question.