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

    • Krenn
      Sun Jun 7 03:07:26 2026
      from Sydney, Nsw via Telnet
    • Krenn
      Sun Jun 7 01:30:12 2026
      from Sydney, Nsw via Telnet
    • Centurion
      Sat Jun 6 23:27:30 2026
      from Berea, Ohio via Telnet
    • Ab Cadd
      Sat Jun 6 15:42:53 2026
      from Sheboygan, Wi via Telnet
    • Centurion
      Sat Jun 6 15:32:28 2026
      from Berea, Ohio via Telnet
    • Krenn
      Sat Jun 6 11:38:56 2026
      from Sydney, Nsw via Telnet
    • Furryboy
      Sat Jun 6 10:56:29 2026
      from Romania, Galati via SSH
    • Centurion
      Fri Jun 5 22:28:01 2026
      from Berea, Ohio via Telnet
  • System Info

    Sysop: Keyop
    Location: Huddersfield, West Yorkshire, UK
    Users: 715
    Nodes: 16 (2 / 14)
    Uptime: 160:03:40
    Calls: 12,094
    Calls today: 2
    Files: 15,000
    Messages: 6,517,761

© >>> Magnum BBS <<<, 2026