Gas64 (no more use of gcc, only gas) WDS / LNX

User projects written in or related to FreeBASIC.
robert
Posts: 131
Joined: Aug 06, 2019 18:45

Re: Gas64 (no more use of gcc, only gas) WDS / LNX

Postby robert » Nov 23, 2020 22:17

SARG wrote:Hi all,

A new version with a lot of internal changes. Don't forget to set the option -gen gas64 when using fbc

The file contains the exes for WDS 1.07 / 1.08 and only the modifications for 1.07 not yet in github.
http://users.freebasic-portal.de/sarg/fbc64_gas64_W.zip

For 1.08 the sources (github fbc master + lastest modifications not yet included) can be found here --> https://github.com/SARG-FB/fbc/tree/gas64_rev

Hi SARG:

How are the fbc, unit and log test makefiles modified to use -gen gas64?

In the fbc makefile I changed

Code: Select all


FBFLAGS := -maxerr 1


to

Code: Select all


FBFLAGS := -gen gas64 -maxerr 1



but I am not sure if that is correct or sufficient. I have no idea how to modify the test makefiles.

Using the makefiles, as is, your GitHub repo compiled and tested without error on my Windows 10 and Fedora 33 64 bit machines.

Thank you

Robert
SARG
Posts: 1187
Joined: May 27, 2005 7:15
Location: FRANCE

Re: Gas64 (no more use of gcc, only gas) WDS / LNX

Postby SARG » Nov 23, 2020 23:45

Hi robert,

I don't use makefiles so my answer is what I understand after looking them.

For fbc preferably use

Code: Select all

ALLFBCFLAGS += -gen gas64

As FBFLAGS is also used for linking. You could add -R and if you see a64 files the compiler uses gas64.

For the tests use the option 'GEN' with makefile for selecting the version: GEN gas64.

The tests you did were made with gcc not gas64 so it's normal you didn't get any problem :-)

FYI gas64 is now included in the master Github which is up to date (except when there are very recent changes). And before each new version can be pulled, the test suite is automatically executed.
srvaldez
Posts: 2578
Joined: Sep 25, 2005 21:54

Re: Gas64 (no more use of gcc, only gas) WDS / LNX

Postby srvaldez » Nov 23, 2020 23:59

I am probably not understanding the question, but I run the tests as follows
make unit-tests GEN=gas64
make log-tests GEN=gas64
or
make unit-tests GEN=gcc
make log-tests GEN=gcc
robert
Posts: 131
Joined: Aug 06, 2019 18:45

Re: Gas64 (no more use of gcc, only gas) WDS / LNX

Postby robert » Nov 24, 2020 2:03

Thank you SARG and srvaldez. Exactly what I wanted to know.

Return to “Projects”

Who is online

Users browsing this forum: No registered users and 15 guests