Pop-Up Thingie

>>> Magnum BBS <<<
  • Home
  • Forum
  • Files
  • Log in

  1. Forum
  2. Usenet
  3. COMP.SYS.M68K
  • m68k.info chat: with Volker Barthelmann on C-Compiler development

    From [email protected]@21:1/5 to All on Thu May 27 09:48:26 2021
    Interesting!
    I tried getting the output of gcc to run on my 68010 homebrew some years ago, but, even though I wasn't explicitly calling any libc functions, gcc was outputting code that called, e.g., memcpy. (I couldn't get the source for that to compile.)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Carsten Strotmann@21:1/5 to [email protected] on Wed Jun 2 10:49:28 2021
    Hi,

    "[email protected]" <[email protected]> writes:

    Interesting!
    I tried getting the output of gcc to run on my 68010 homebrew some
    years ago, but, even though I wasn't explicitly calling any libc
    functions, gcc was outputting code that called, e.g., memcpy. (I
    couldn't get the source for that to compile.)

    gcc has the options "-nostdlib", "-nodefaultlibs", "-nostartfiles", "-ffreestanding" to prevent linking with libc (which is done because
    libc contains some startup code).

    <https://renenyffenegger.ch/notes/development/languages/C-C-plus-plus/GCC/options/no/compare-nostartfiles-nodefaultlibs-nolibc-nostdlib>

    See also Guide: GCC and Bare Metal Programming <https://cs107e.github.io/guides/gcc/>

    The video recording from last weeks m68k chat is online now at: <https://m68k.info/#vbcc:c:compiler:video:may2021>


    --
    Carsten Strotmann

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • Who's Online

  • Recent Visitors

    • Bob Worm
      Tue Nov 3 00:27:45 2026
      from Wales, Uk via Telnet
    • Rixter
      Tue Nov 3 00:01:35 2026
      from Madison, Nc via Telnet
    • Konica
      Mon Nov 2 22:18:58 2026
      from Lincoln, Nebraska via Telnet
    • Bob Worm
      Mon Nov 2 21:18:26 2026
      from Wales, Uk via Telnet
    • Amstrad Ppc
      Mon Nov 2 18:38:24 2026
      from Wiltshire via Telnet
    • Amstrad Ppc
      Mon Nov 2 18:21:59 2026
      from Wiltshire via SSH
    • Amstrad Ppc
      Mon Nov 2 15:41:32 2026
      from Wiltshire via Telnet
    • Amstrad Ppc
      Mon Nov 2 15:25:33 2026
      from Wiltshire via SSH
  • System Info

    Sysop: Keyop
    Location: Huddersfield, West Yorkshire, UK
    Users: 797
    Nodes: 16 (2 / 14)
    Uptime: 204:43:20
    Calls: 13,217
    Calls today: 2
    Files: 15,493
    Messages: 6,579,948

© >>> Magnum BBS <<<, 2026