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
{{ message }}
This repository has been archived by the owner on Jun 3, 2021. It is now read-only.
I know this is silly, but if we receive object files instead of source files we should link them immediately (still using cc) instead of complaining that they are not UTF-8. This will make working with CMake and Make much easier because they expect the compiler to handle the full compilation pipeline and allow separating into multiple stages.
Example
$ swcc -o sample.o -c sample.c $ swcc -o sample sample.o
// second command currently tries to parse sample.o as source code and gives 'invalid UTF-8 error'
// should link sample.o into the sample executable
The text was updated successfully, but these errors were encountered:
I know this is silly, but if we receive object files instead of source files we should link them immediately (still using
cc
) instead of complaining that they are not UTF-8. This will make working with CMake and Make much easier because they expect the compiler to handle the full compilation pipeline and allow separating into multiple stages.Example
$ swcc -o sample.o -c sample.c
$ swcc -o sample sample.o
// second command currently tries to parse
sample.o
as source code and gives 'invalid UTF-8 error'// should link
sample.o
into thesample
executableThe text was updated successfully, but these errors were encountered: