Skip to content

Latest commit

 

History

History
executable file
·
24 lines (13 loc) · 665 Bytes

set_use_flat_objects.md

File metadata and controls

executable file
·
24 lines (13 loc) · 665 Bytes

Introduction

The document here is to address the issue of. o file information being too long due to too many files in CodeBlocks, which leads to failure during gcc linking.

The error is as follows:

image1

Or:

image2

Setting steps

Go "Settings->Compiler...->"Other settings" tab -> click "Advanced options".

In the dialog that pops up, go to the "Others" tab and look near the bottom:

  • Use flat objects
  • Use full paths for source files (GDB workaround)

image3

image4