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

    • Rixter
      Wed Jul 29 02:00:40 2026
      from Madison, Nc via Telnet
    • Centurion
      Tue Jul 28 22:54:59 2026
      from Berea, Ohio via Telnet
    • Bob Worm
      Tue Jul 28 16:01:18 2026
      from Wales, Uk via Telnet
    • Rixter
      Tue Jul 28 13:42:46 2026
      from Madison, Nc via Telnet
    • Krenn
      Tue Jul 28 11:59:57 2026
      from Sydney, Nsw via Telnet
    • Rixter
      Tue Jul 28 01:23:48 2026
      from Madison, Nc via Telnet
    • Centurion
      Mon Jul 27 22:50:42 2026
      from Berea, Ohio via Telnet
    • Ataricrypt
      Mon Jul 27 19:19:17 2026
      from England via Telnet
  • System Info

    Sysop: Keyop
    Location: Huddersfield, West Yorkshire, UK
    Users: 741
    Nodes: 16 (2 / 14)
    Uptime: 57:12:30
    Calls: 12,446
    Calls today: 1
    Files: 15,192
    Messages: 6,537,379

© >>> Magnum BBS <<<, 2026