From owner-freebsd-questions@freebsd.org Sun Nov 10 17:59:26 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 363001BA816 for ; Sun, 10 Nov 2019 17:59:26 +0000 (UTC) (envelope-from g4jht@eircom.net) Received: from mta04.svc.cra.dublin.eircom.net (mta04.svc.cra.dublin.eircom.net [159.134.118.171]) by mx1.freebsd.org (Postfix) with SMTP id 47B1ws0tw3z4DPN for ; Sun, 10 Nov 2019 17:59:24 +0000 (UTC) (envelope-from g4jht@eircom.net) Received: (qmail 5310 messnum 3804700 invoked from network[213.94.190.12/avas01.vendorsvc.cra.dublin.eircom.net]); 10 Nov 2019 17:59:21 -0000 Received: from avas01.vendorsvc.cra.dublin.eircom.net (HELO avas01) (213.94.190.12) by mta04.svc.cra.dublin.eircom.net (qp 5310) with SMTP; 10 Nov 2019 17:59:21 -0000 Received: from [172.30.1.11] ([86.45.233.13]) by Cloudmark Gateway with SMTP id TrUfipUayvSCGTrUfiTUuq; Sun, 10 Nov 2019 17:59:21 +0000 X-Spam-Flag: NO X-CNFS-Analysis: v=2.2 cv=Vs1TO6+n c=1 sm=1 tr=0 a=jh6uNabPH+jgq6TgvCZrzQ==:117 a=jh6uNabPH+jgq6TgvCZrzQ==:17 a=IkcTkHD0fZMA:10 a=CYuCaSgag8PgfjRq-uYA:9 a=QEXdDO2ut3YA:10 To: freebsd-questions@FreeBSD.org From: g4jht Subject: will the current FreeBSD C; compile (true) AT&T assembler files, with embedded / delimited comments ? Message-ID: Date: Sun, 10 Nov 2019 18:00:40 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-CMAE-Envelope: MS4wfPv7ypQs5o4tBxHVm/SJ9YGaeHScWE45Ey2VRfC0LrogPXWXF+nijeguG0EVEXb1f3NO2Ud8QwbG5SOXhobZ0DvGDCjUgXdXrQi4Hbof6Whl1XgXnWSm dsVZDrdxrcEJnrAho/ZkNzLgy16f1JJafXtaJeyXE4I2RYSmriH0UkhD9CWUJS7SVQ/dOpCa2fpLZg== X-Rspamd-Queue-Id: 47B1ws0tw3z4DPN X-Spamd-Bar: +++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of g4jht@eircom.net has no SPF policy when checking 159.134.118.171) smtp.mailfrom=g4jht@eircom.net X-Spamd-Result: default: False [3.89 / 15.00]; RWL_MAILSPIKE_GOOD(0.00)[171.118.134.159.rep.mailspike.net : 127.0.0.18]; FREEMAIL_FROM(0.00)[eircom.net]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; RCVD_NO_TLS_LAST(0.10)[]; RECEIVED_SPAMHAUS_PBL(0.00)[13.233.45.86.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; RCVD_IN_DNSWL_LOW(-0.10)[171.118.134.159.list.dnswl.org : 127.0.5.1]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[eircom.net]; SUBJECT_ENDS_QUESTION(1.00)[]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:5466, ipnet:159.134.0.0/16, country:IE]; ARC_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.99)[0.985,0]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE_FREEMAIL(0.00)[]; DMARC_NA(0.00)[eircom.net]; NEURAL_SPAM_LONG(1.00)[1.000,0]; IP_SCORE(0.00)[ip: (4.27), ipnet: 159.134.0.0/16(2.25), asn: 5466(1.80), country: IE(0.05)]; R_SPF_NA(0.00)[] X-Mailman-Approved-At: Mon, 25 Nov 2019 04:41:05 +0000 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Nov 2019 17:59:26 -0000 Hi,    I have an oddball question: I looking for a compiler (not gcc) that can handle things like the following snippet, which is pure AT&T syntax i386 assembler /----------- start of snippet -------------- / Allocate new counter         addl    $4,%eax         / compute ptr to call count (counter.count)         movl    %eax,(%edx)     /       and store it in caller's ptr         movl    0(%esp),%edx         movl    %edx,-4(%eax)   / set proc addr in counter structure         movl    $1,(%eax)       / init call count (skip increment)         jmp     .ret /----------- end of snippet -------------- I do not wish to start changing the source rather I am  looking for a compiler that will process it in unmodified form (and without resorting to pre-processor or other "tricks"? Will the compiler in current FreeBSD do what I want please ? If it will also accept (pre-ANSI) K&R Whitebook C that would be even better. Note I am not a newbie! great weekend and regards,                           Dave