![]() |
![]() |
#1 |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,389
|
gcc 10: can't link a simple (empty) C file
using compiler included in Bartman VS code package
Code:
K:\jff\AmigaHD\PROJETS\progs_asm_c_c++\blitter_emu>m68k-amiga-elf-gcc.exe -nostdlib -o test main.c Code:
k:/progs/vscode-amiga-debug-master/bin/win32/opt/bin/../lib/gcc/m68k-amiga-elf/12.1.0/../../../../m68k-amiga-elf/bin/ld.exe: warning: cannot find entry symbol _start; defaulting to 0000000080000054 |
![]() |
![]() |
#2 |
Registered User
Join Date: Dec 2017
Location: US
Posts: 9
|
-nostartfiles (along with -nostdlib)
|
![]() |
![]() |
#3 |
Registered User
Join Date: Jun 2020
Location: Druidia
Posts: 389
|
Build the sample project using VSCode or grab the files from the plugin folder and start from there.
It has a set of gcc8_c_support files which include the required _start and a handful of lib functions such as memcpy. The sample makefile uses -nostdlib but it doesn't use -nostartfiles so I suspect doing so is a bad idea. |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to run flash update on empty cyberstormppc rom file in fs-uae. | Amiguy | support.AmigaOS | 2 | 27 September 2022 23:50 |
Simple While/Wend loop for waiting inkey buffer is empty? | JPQ | Coders. Blitz Basic | 3 | 08 October 2019 23:05 |
Double Dragon Amos file download link | Brick Nash | Coders. AMOS | 11 | 28 September 2017 23:20 |
gcc sas/c link problem | emufan | Coders. C/C++ | 6 | 23 July 2017 00:32 |
Creating an empty hdf file | Harko33 | support.WinUAE | 1 | 25 September 2011 23:46 |
|
|