Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Rob

Pages: [1]
What all is required to produce OMF from ELF? Is there a doc to read?

Programming / Testcase for trap with GCC 11.1 build
« on: May 04, 2021, 02:53:10 am »

That has the details and you can copy off those 3 files (or checkout the repo) and then checkout the other sources it needs to compile against from github.  Just edit b.cmd to point to where the rest of the source is checked out to, and it'll try to compile newinit.cpp and hopefully reproduce a trap.

I tried to shorten it, but deleting out code or even just changing the defines on the commandline seems to "fix" the trap.  Not sure where it is.

Hope this helps,

Programming / Re: Updated GCC Builds
« on: May 03, 2021, 05:26:12 am »
With similar output for 10.3.0. My guess is that you didn't set up your environment correctly. Here's my gcc11env.cmd.

Your guess was spot on.  I missed that step since I didn't need it for the built-in GCC didn't think to setup the environment for 11.  Thanks for the help!


Programming / Re: Updated GCC Builds
« on: May 03, 2021, 04:49:50 am »

I tried this, keep getting errors involving the environment. I'm not used to cmake and did try setting these environment variables

Thanks. Here's what I tried with the cc11.cmd to set CC and CXX (so cmake can find it).  This assumes the GCC 11.1 stayed in \usr\local11

Code: [Select]
set CXX=C:\usr\local11\bin\g++
set CC=C:\usr\local11\bin\gcc

cmake --debug-trycompile  ..

Programming / Re: Updated GCC Builds
« on: May 03, 2021, 04:20:40 am »
Thanks Paul.  Really cool to see a GCC 11 on here!

I grabbed the 11.1 build and tried to get it to work with cmake, and ran into an error in the "trycompile" phase where cmake introspects the compiler by building things.

Here's how to reproduce it:

Hope this helps.

Pages: [1]