Jump to content

Converting demo ELF on Mac fails


Recommended Posts

Posted

I am trying to get one of the demos to work on OS X. The object files are finally linked, but can not be successfully transformed from an ELF into an executable file. objcopy fails with

Creating .build/demotest.hex
objcopy: .build/demotest.hex: address 0x00000001000016b0 out of range for Intel Hex file
objcopy:.build/demotest.hex: Bad value

My Makefile is ugfx/boards/base/OSX/example with GFXLIB set, but OPT_OS is set to osx64 as suggested in this post.

As objcopy does not ship with OS X by default, I installed it via homebrew (GNU objcopy 2.29) as it seemed to be required by make.

I use uGFX 2.7 on OS X 10.11.6.

I appreciate any help.

Regards

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...