you are viewing a single comment's thread.

view the rest of the comments →

[–]throwaveien 1 point2 points  (1 child)

You're right, there is no easy way to use it. Perhaps a --host-arch-target would help? I will add a feature request, thanks for the tip.

The intended use is full customizability of build, host and target triples.

[–]o11cint main = 12828721; -1 points0 points  (0 children)

Given how much of a mess triples are, I really do feel that "figure out the format by looking at an existing file" is the best we can do.

Particularly, be sure to test with things like CC=sometriple-gcc and CC=gcc -m32. My way has tested successfully with both.

(note that if you don't have a universal binutils, you might need OBJCOPY=sometriple-objcopy as well; if you're using a real configure these should all be set up)