Skip to content

GIO/test: Use as instruction: incbin, instead of cc -r

YunQiang Su requested to merge yqsu/glib:gio-res-as-inc into main

In gio/test, we use cc -r to convert data file to elf objects. The problem of cc -r is that, it will use the default of ld, instead of the default of CC/CLFAGS. So sometimes, it will generate uncompatiable elf files.

Let's use an asm file: .data .incbin DATAFILE and use CC/CFLAGS to comiple it.

Merge request reports