![]() |
m68k-amigaos-ld.exe bug ?
Hello,
I am trying to use AmiDevCpp to generate a boot ROM. I am using vasmm68k for the assembly part and GCC for the C part. I have a custom makefile and .ld file. If I tell the linker to generate a binary for srec file, I have an ACCESS_VIOLATION. If I generate an a.out file and use m68k-amigaos-objcopy.exe to create a binary, I have an empty binary file. Makefile: Code:
Code:
The only short term solution I see is to write everything in assembly. |
I have found the solution :
vasm does not generate ".text" and ".data" sections but "code" and "data". I found the problem by using the excellent vlink from Frank Wille. His tool gives you more information than GNU ld in verbose mode :shocked Now I am even thinking about dropping GCC and using VBCC. Now, I have my boot ROM, it is time to run some 68000 code on the FPGA:cool. Cheers, Frederic |
Quote:
Code:
section ".text",code |
All times are GMT +2. The time now is 08:54. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.