You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was wondering if it is possible to support cross compilation for yash.
Currently, it only works if makesignum was built using the host's compiler ($HOSTCC which is often gcc) (not the cross-compilation toolchain's compiler as yash later expects ./makesignum to run on the host):
$MAKE \
CC=$HOSTCC \
makesignum
I am also disabling tryexec ():
tryexec () {
:
}
The text was updated successfully, but these errors were encountered:
There are many that need to be resolved to make cross compilation possible.
I don't know how autotools supports cross-compilation, and I need to find a way to do the same thing in yash configure.
Much of the configuration process depends on running programs compiled on the fly, which assumes that the host environment is the same as the target environment. We would need a different approach to configuration to allow us to specify parameters that have been prepared for the target. makesignum is one such part, but there are many similar parts in configure.
as for makesignum, maybe it could just be executed on yash startup instead of build time.
but then i don't understand why the code can't just switch on case SIGINT: ... in the regular yash runtime code.
Hey there,
I was wondering if it is possible to support cross compilation for
yash
.Currently, it only works if
makesignum
was built using the host's compiler ($HOSTCC
which is oftengcc
) (not the cross-compilation toolchain's compiler asyash
later expects./makesignum
to run on the host):I am also disabling
tryexec ()
:The text was updated successfully, but these errors were encountered: