question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support GCC Sparc

See original GitHub issue

With hints on how:

 
The easiest for Matt Godbolt would be to take the 4.9.4 release of GCC and compile it with "--target=sparc-leon-linux-gnu". If you want to include support for the "-mfix-b2bst" flag I can send you that patch.
 
Daniel Cederman
Cobham Gaisler
support@gaisler.com```

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:26 (13 by maintainers)

github_iconTop GitHub Comments

1reaction
partoufcommented, Sep 18, 2020

I don’t mind about the diversion, but this issue was initially about Gcc and not Clang. So the question is, would that actually satisfy the original request?

1reaction
stefanctcommented, Jan 10, 2020

Apparently it’s my turn this year 😉 I would have had some use for a sparc implementation today.

From a quick glimpse over the repo and this commit that adds a new cross compiler, I think pretty much all that is needed (in the best case where no ct-ng or other patches are required) is a working crosstool-ng configuration and an entry in build_cross_compilers.sh. Is that correct?

Read more comments on GitHub >

github_iconTop Results From Across the Web

SPARC Options (Using the GNU Compiler Collection (GCC))
With -mpopc , GCC generates code that takes advantage of the UltraSPARC Population Count instruction. The default is -mpopc when targeting a CPU...
Read more >
Configuring GCC for the SPARC architecture - Stack Overflow
To compile SPARC programs, you will need to rebuild gcc as a SPARC cross-compiler (host and target ISAs are different).
Read more >
gcc/sparc.h at master · gcc-mirror/gcc - GitHub
64-bit SPARC-V9 support by Michael Tiemann, Jim Wilson, and Doug Evans,. at Cygnus Support. ... GCC is free software; you can redistribute it...
Read more >
How to build a gcc-4.9.0 successfully on solaris 10 sparc
1. Download the required files . · 2. Declare your variables · 3. Create a new directory where you want to keep the...
Read more >
How to Setup the Libraries Required for Solaris SPARC 64-bit ...
What is the version of GCC required for Solaris sparc 64 bit OS that is required for the installation of libraries for Outside...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found